Reference to another worksheet

yohoshua

New Member
Joined
Jul 18, 2008
Messages
1
Hi folks,

First time poster, long time reader. Problem:

I have two workbooks.

Workbook A has a lot of data. Name, Address, Price, Quantity, for sake of discussion.

I want Workbook B to grab data from Workbook A as such:

1. Typing in a person's name in a cell in Workbook B.
2. Using Excel to obtain the row number of that person from Workbook A.
3. Somehow defining a variable ROWNUMBER with the value from step 2 so that I can use the following formula: ='[Workbook_A.xls]SHEET1'!$A$ROWNUMBER

where $A is the column of a certain thing (Address, Price, etc) and $ROWNUMBER corresponds to which person it belongs to.

Any help would be greatly appreciated =)
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Take a look at MATCH, which will return an item's relative position in a list. If you know where the list begins, you can adjust the outcome to get the row #.
Book1
ABCD
1NamesMatch
2Bob2
3Tom
4Fred
Sheet1


Or if you're trying to return all of the relevant information associated with the person whose name you're entering, you should take a look at VLOOKUP in the helpfile.

Hope that helps,
 
Upvote 0

Forum statistics

Threads
1,215,029
Messages
6,122,755
Members
449,094
Latest member
dsharae57

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top