Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
vlookup formula fails to return data search item is text | Excel Worksheet Functions | |||
Return a text string when the result of VLOOKUP formula is #N/A | Excel Worksheet Functions | |||
Count Intervals of 1 Numeric value in a Row and Return Count down Column | Excel Worksheet Functions | |||
Count Intervals of 2 Numeric values in same Row and Return Count across Row | Excel Worksheet Functions | |||
Count Intervals of Filtered TEXT values in Column and Return Count across a Row | Excel Worksheet Functions |