Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Formula to return the row count of a value in Vlookup

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Formula to return the row count of a value in Vlookup

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

Hope this helps.

Pete

On Feb 29, 5:27*pm, William G wrote:
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


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Formula to return the row count of a value in Vlookup

On Feb 29, 10:33*am, Pete_UK wrote:
Use MATCH( ). It will return the (relative) row of where the matching
item is located.

Hope this helps.

Pete

On Feb 29, 5:27*pm, William G wrote:



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- Hide quoted text -


- Show quoted text -


Thank you...that worked PERFECT!!!!!
William
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Formula to return the row count of a value in Vlookup

Well, that was quick !!

Glad to be of help, and thanks for feeding back.

Pete

On Feb 29, 5:39*pm, William G wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
vlookup formula fails to return data search item is text Delfina Excel Worksheet Functions 1 November 30th 07 01:01 PM
Return a text string when the result of VLOOKUP formula is #N/A jeremy nickels Excel Worksheet Functions 2 August 4th 06 05:26 PM
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM
Count Intervals of 2 Numeric values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 12 September 24th 05 10:58 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


All times are GMT +1. The time now is 07:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"