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

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
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,213,535
Messages
6,114,198
Members
448,554
Latest member
Gleisner2

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