[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Excel , puilling infor from several worksheets

Posted on 2012-03-29
12
Medium Priority
?
283 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 1200 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
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

640 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