returning a cells address from a lookup function - possible?

jferri

Board Regular
Joined
Jun 24, 2003
Messages
58
i would like to return the address of a cell using a vlookup function. does anyone know if this is possilbe? if so, can you show an example of how i may do this?
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
An example would be useful, but try this:

Assuming the data you are looking for is in column F, try this;
="F"&MATCH(A1,F:F)

This will find the first occurance of the text in cell A1 in column F.

Is this what you want?
 
Upvote 0
Re: returning a cells address from a lookup function - possi

assume that there is a list of 24 monthly dates in column a (e.g., 1/1/2003, 2/1/2003, etc).

cell b1 contains 1/1/2003, and cell b2 contains 12/1/2004 (each is a data validation list sourced from column a)

and in cell b3 i am trying to count the number of occurances between the dates.

I was trying to use something like the following:

=counta(address(vlookup($G$3,$A$2:$A$25,0,false)):address(vlookup($G$3,$A$2:$A$25,0,false)))

any thoughts?

Thanks
 
Upvote 0
Re: returning a cells address from a lookup function - possi

Hi jferri:

Let us try ... =COUNTIF($A$1:$A$24,">"&$B$1)-COUNTIF($A$1:$A$24,">="&$B$2)

Is this what you are looking for?
 
Upvote 0

Forum statistics

Threads
1,203,174
Messages
6,053,920
Members
444,694
Latest member
JacquiDaly

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