Solved

Excel , puilling infor from several worksheets

Posted on 2012-03-29
12
272 Views
Last Modified: 2012-03-29
I would like to pull information from a series of cells in a row and update a series of cells  in a columns on another worksheet.

See attached
Populate sheet 1, COL B with information from sheet 2 ROW 2

Cheers
Q1-sample-file.xls
0
Comment
Question by:thebigtable
  • 6
  • 5
12 Comments
 
LVL 24

Expert Comment

by:StephenJR
ID: 37781350
There are no dates in sheet 2?
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 300 total points
ID: 37781354
Enter this formula in B2 and copy down

=INDIRECT(ADDRESS(2,ROW()-1,,,"Sheet 2"))
0
 

Author Comment

by:thebigtable
ID: 37781468
What if I don't have a column header?
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37781486
which sheet?
0
 

Author Comment

by:thebigtable
ID: 37781495
sheet 2
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37781504
=INDIRECT(ADDRESS(1,ROW()-1,,,"Sheet 2"))
0
 

Author Comment

by:thebigtable
ID: 37781515
that gave me all "0"s
here is the file again with the change
Indirect.xls
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37781527
Use the first formula. It is not affected by any data in row 1
0
 

Author Comment

by:thebigtable
ID: 37781560
=INDIRECT(ADDRESS(2,ROW()-1,,,"Sheet 2"))

This is your formula,
if the ROW number is different than in my sample will I need to change something?
The information on sheet 2 will start at E7
and be put in C5

What am I missing?
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37781578
2 is the row number. You can change it to any other number. Change the 1 in row()-1 to modify the column.

If your data starts in E7 then use

=INDIRECT(ADDRESS(7,ROW()+3,,,"Sheet 2"))
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 37781599
You can make life simpler by using

=INDIRECT(ADDRESS(ROW('Sheet 2'!$E$7),ROW()+COLUMN('Sheet 2'!$E$7)-2,,,"Sheet 2"))

and only changing the two $E$7 to whatever your first cell is.
0
 

Author Comment

by:thebigtable
ID: 37781645
I had to change the -2 to a -5 for it to pull from E7

Here is the actual file
-2012-Budget-without-PW.xls
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question