Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Lookup through a range of numbers

If I enter a number in a cell, lets say 1500. I need some sort of lookup to
find a number on another sheet that either is equal to, or larger than the
1500. What I need it to bring back exactly is, the first instance of either
1500, or the next largest number it finds. Although I have used Vlookup for
many things, I can't seem to make it work for this one.

Anyone have any ideas?????

Thanks

Bob
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Lookup through a range of numbers

If there is no number = the lookup number this formula returns 0.

Array entered** :

=SUM((Sheet2!E1:E15=MIN(IF(Sheet2!E1:E15=A1,Sheet 2!E1:E15)))*Sheet2!E1:E15)

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"Bob W" wrote in message
...
If I enter a number in a cell, lets say 1500. I need some sort of lookup
to
find a number on another sheet that either is equal to, or larger than the
1500. What I need it to bring back exactly is, the first instance of
either
1500, or the next largest number it finds. Although I have used Vlookup
for
many things, I can't seem to make it work for this one.

Anyone have any ideas?????

Thanks

Bob



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Lookup through a range of numbers

Slight tweak. Still array entered** :

=MAX((Sheet2!E1:E15=MIN(IF(Sheet2!E1:E15=A1,Sheet 2!E1:E15)))*Sheet2!E1:E15)

The first formula I suggested would return an incorrect result if there is
more than one instance of the same number that is = the lookup number.

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
If there is no number = the lookup number this formula returns 0.

Array entered** :

=SUM((Sheet2!E1:E15=MIN(IF(Sheet2!E1:E15=A1,Sheet 2!E1:E15)))*Sheet2!E1:E15)

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"Bob W" wrote in message
...
If I enter a number in a cell, lets say 1500. I need some sort of lookup
to
find a number on another sheet that either is equal to, or larger than
the
1500. What I need it to bring back exactly is, the first instance of
either
1500, or the next largest number it finds. Although I have used Vlookup
for
many things, I can't seem to make it work for this one.

Anyone have any ideas?????

Thanks

Bob





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
lookup range of numbers; return corresponding data for the fixed r mmpfa07 Excel Worksheet Functions 1 May 2nd 07 07:33 PM
How to select top six numbers from a of range of random numbers Jack M Taylor Excel Worksheet Functions 4 January 30th 07 09:18 PM
two columns range of numbers need to list all numbers in the range arsovat New Users to Excel 2 October 30th 06 08:21 PM
Count comma separated numbers, numbers in a range with dash, not t Mahendra Excel Discussion (Misc queries) 0 August 8th 05 05:56 PM
Lookup a range of numbers Dolphinv4 Excel Discussion (Misc queries) 4 May 24th 05 01:45 AM


All times are GMT +1. The time now is 02:35 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"