need row number of a reference in another sheet

cnc

New Member
Joined
Oct 8, 2008
Messages
2
Hi, I have a spreadsheet with >50 sheets. I need to know the row number that a certain reference can be found in each sheet. For example, I need to know what row "planned revenue" is in sheet "IMO1". I know you can get it by using a match function - so if "planned revenue is written in cell AS15 in the sheet in which the formula is written and is in column D in sheet IMO1, you can write =match(AS15,'IMO1'!D:D,0) and that will give you row number. However, I would like to not have to write in "'IMO1'" and instead refer to a cell where IMO1 is written and have it recognize that is the tab I want the formula to refer to...

I can't use the indirect function because the row number needs to be flexible (though the column does not). I actually have the indirect function written in another cell, and am trying to determine how to get the row number in order to make the indirect function "flexible"...

Any ideas?

Thanks!
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
A1= "imo1"
a2=match(as15,indirect("'" & a1 & "'!d:d"), 0)
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,399
Latest member
alchavar

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