LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Lookup between two margins / brackets

I haven't been able to come up with an appropriate formula for this
one, I hope someone can point me in the right direction.

I have a list of article numbers (the format is like 123.45.678). Next,
I have another list of article number ranges and its corresponding
product group (say from 123.45.601 to 123.45.700 is "Screws"). This
list has 3 columns: First article number in range/group, last article
number in range/group, and the name of the group.

Important: The ranges are not consistent, so in my example the next
product group up doesn't start with 123.45.701 but maybe with
124.00.000. Example:

Min_Max_Group
123.45.601 _123.45.700_Screws
124.00.000_124.99.999_Bolts
220.70.000_220.80.999_Casing

Now I need a formula that checks if an article number is = the minimum
value and <= the maximum value and then returns the group. (and, if
possible, to return "no group" if there is no range for that number,
like for 123.45.800)

So far I have been able to come up with a formula that checks if the
number is inbetween the min and max value (with sumproduct) and returns
TRUE or FALSE. But I can't figure out how to make the necessary lookup
in the Group column.

Thanks in advance
Andreas

 
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
Another way to lookup data David Vollmer Excel Worksheet Functions 1 September 23rd 05 05:16 AM
lookup more than one cell andrewm Excel Worksheet Functions 20 June 14th 05 05:33 AM
Lookup Vector > Lookup Value Alec Kolundzic Excel Worksheet Functions 6 June 10th 05 02:14 PM
Lookup function w/Text and Year Josh O. Excel Worksheet Functions 1 February 12th 05 11:27 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


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

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"