Get cell address from Lookup function results

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Guis,

I have a spreadsheet to copy data into specific columns.

I was heading to use the lookup functions in order to identify de
destination cell address but I cannot convert the lookup results into a cell
reference.

Is there any way of doing that? Or else, how can I perform a search to
identify the correct destination cell address?

Thanks in advance
Felipe
 
Hello Felipe
Use MATCH instead for example :

=MATCH(B1,A1:A500,0)
Where B1 is the criteria you're looking for
And A1:A500 is the range where stands your data.

This will return the position number where the value will be found.
It will then be easily adapted to return a cell address with the ADDRESS
function, for example:

=ADDRESS(MATCH(B1,A1:A500,0),1)
This will return an absolute range address
If you wish to return a relative cell address, use:
=ADDRESS(MATCH(B1,A1:A500,0),1,4)

See help on both these functions.

HTH
Cordially
Pascal
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top