Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
icemouse
 
Posts: n/a
Default Lookup "greater than or equal to" in lookup array

This is my first post to the discussion group, so hi all.

I'd like to be able to use a vlookup to return a value where the first
column of the lookup array is "greater than or equal" to the value of the
lookup cell. Using TRUE, of course, returns a "less than or equal to" value.
Does anyone know if there is something similar for "grater than"?

Thanks

Phil
  #2   Report Post  
Posted to microsoft.public.excel.newusers
paul
 
Posts: n/a
Default Lookup "greater than or equal to" in lookup array

index and match..
--
paul
remove nospam for email addy!



"icemouse" wrote:

This is my first post to the discussion group, so hi all.

I'd like to be able to use a vlookup to return a value where the first
column of the lookup array is "greater than or equal" to the value of the
lookup cell. Using TRUE, of course, returns a "less than or equal to" value.
Does anyone know if there is something similar for "grater than"?

Thanks

Phil

  #3   Report Post  
Posted to microsoft.public.excel.newusers
Niek Otten
 
Posts: n/a
Default Lookup "greater than or equal to" in lookup array

Sort the table descending and use

=MATCH((LookupValue,LookupArray,-1)

This gives you the relative position in the table; use INDEX() to retrieve
the item you need

--
Kind regards,

Niek Otten

"icemouse" wrote in message
...
This is my first post to the discussion group, so hi all.

I'd like to be able to use a vlookup to return a value where the first
column of the lookup array is "greater than or equal" to the value of the
lookup cell. Using TRUE, of course, returns a "less than or equal to"
value.
Does anyone know if there is something similar for "grater than"?

Thanks

Phil



  #4   Report Post  
Posted to microsoft.public.excel.newusers
icemouse
 
Posts: n/a
Default Lookup "greater than or equal to" in lookup array

Thanks, it works a treat!!


"Niek Otten" wrote:

Sort the table descending and use

=MATCH((LookupValue,LookupArray,-1)

This gives you the relative position in the table; use INDEX() to retrieve
the item you need

--
Kind regards,

Niek Otten

"icemouse" wrote in message
...
This is my first post to the discussion group, so hi all.

I'd like to be able to use a vlookup to return a value where the first
column of the lookup array is "greater than or equal" to the value of the
lookup cell. Using TRUE, of course, returns a "less than or equal to"
value.
Does anyone know if there is something similar for "grater than"?

Thanks

Phil




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
Unableto access "greater than or equal to" Where is it? ddewdrops522 Excel Discussion (Misc queries) 2 January 13th 06 11:01 PM
Lookup array? HBj Excel Worksheet Functions 2 January 4th 06 02:47 PM
Array Brad Excel Worksheet Functions 9 October 17th 05 09:00 PM
How do I lookup a value in a array that is not in ascending order John Excel Worksheet Functions 6 June 20th 05 09:40 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM


All times are GMT +1. The time now is 04:38 PM.

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

About Us

"It's about Microsoft Excel"