You are here:

Excel/Match Value then look up range

Advertisement


Question
Hi Aidan,

I have one worksheet that has a set of partnumbers with a certain qty needed.

I have a second worksheet with a database or partnumbers and their price breaks per qty.

For instance

Sheet one

Part        Qty needed     price
A1000         28             ???
A2000         50             ???
A3000         12             ???


Then database sheet has..
ColA       B C         D       E F     G      H  I   J
          Range     Price    range  price   range   price
A1000      0-10       $1      11-20   $2      21-30   $3
A2000      0-35       $5      36-80   $3      81-200  $2
A3000     etc...

* The ranges are in their own individual cells.

Answer
The data doesn't come across very well via text, but my first question is how fixed is the database sheet in terms of layout - it would be EASIER I think if it had either the minimum or maximum quantity in the cells - it MIGHT also be easier if these values came first as a block and then the prices for each break point came in another block.

My email if it helps (which would allow emailing me a sample file) is aidan.heritage@virgin.net - I'm in the UK where it's just gone 11pm so I'm off to bed soon!
About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

All Answers

Answers by Expert:


Ask Experts

Volunteer


Aidan Heritage

Expertise

I have provided first hand support since `95 for Microsoft Office majoring in Word and Excel - support for all versions from 2 onwards

Experience

My background is in the insurance industry and call centre areas, but have been called upon to provide many varied solutions.

Education/Credentials
I'm educated to UK A level standard, but as I left school some 30 years ago that is rather irrelevent - university of life has provided more of a background!

©2009 About.com, a part of The New York Times Company. All rights reserved.