Lookups

ds_robb

Board Regular
Joined
Aug 25, 2002
Messages
73
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

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi:

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

for the '4',

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

for 'A4'

Paddy
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,214,583
Messages
6,120,375
Members
448,955
Latest member
BatCoder

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