Formula to return the row count of a value in Vlookup

W

William G

I'm trying to return the number of rows in the vlookup formula as the
count will change monthly.

I'm looking to have the value 2/29/08 return a 2 under the following
formula

=vlookup(2/29/08,a1:a3,?,false)


1/31/08
2/29/08
3/31/08

Next month it will need to reference 3/31/08.

What formula is needed in place of the '?' in the above formula?

Thank you for your help.
William
 
P

Pete_UK

Use MATCH( ). It will return the (relative) row of where the matching
item is located.

Hope this helps.

Pete
 
W

William G

Use MATCH( ). It will return the (relative) row of where the matching
item is located.

Hope this helps.

Pete






- Show quoted text -

Thank you...that worked PERFECT!!!!!
William
 

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

Top