Lookups

ds_robb

Board Regular
Joined
Aug 25, 2002
Messages
72
Is there a way of having a cell location returned. I am trying to check down a failry long list of entries and I need to know which row the item appears in.

For example... Data to be searched "ROBB"
A
1 EVANS
2 PETERS
3 ANDREWS
4 ROBB
5 MORGAN

I am looking to get something to report the data was found on row 4 or A4.
Thanks
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
Hi:

=MATCH("ROBB",A1:A6,0)

for the '4',

=ADDRESS(MATCH("ROBB",A1:A6,0),1,4,1)

for 'A4'

Paddy
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
On 2002-08-31 16:13, ds_robb wrote:
Is there a way of having a cell location returned. I am trying to check down a failry long list of entries and I need to know which row the item appears in.

For example... Data to be searched "ROBB"
A
1 EVANS
2 PETERS
3 ANDREWS
4 ROBB
5 MORGAN

I am looking to get something to report the data was found on row 4 or A4.
Thanks

=MATCH("ROBB",Range)

where Range refers to the range housing names, will return the location/position of the lookup value.

=ADDRESS(MATCH("ROBB",Range),COLUMN(Range))

will return the address of the lookup value.
 

Forum statistics

Threads
1,144,274
Messages
5,723,447
Members
422,497
Latest member
dougy99

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
Top