» Retrieving the Price for a Specified Item and a Specified Brand
CATEGORY - Lookup Formulas
VERSION - All Microsoft Excel Versions
Retrieving the matching price of the item shown in cell A2, for the specific brand entered in cell B2.
Following are the prices for each possible combination:
Item,Brand,Price
Jeans, Diesel, $85
Jeans, Levis, $80
Jeans, Lee, $70
T-Shirt, Sacks, $7
T-Shirt, Gap, $5
T-Shirt, Old Navy, $3
Solution:
Use the IF and LOOKUP functions as shown in the following formula:
=IF(A2="Jeans",LOOKUP(B2,{"Diesel","Lee","Levis";85,70,80}),IF(A2="T-Shirt",LOOKUP(B2,{"Gap","Old Navy","Sacks"},{5,3,7})))
Book Store:
Recommended Books:
- The Analysis and Use of Financial Statements
- AWAKEN THE GIANT WITHIN : HOW TO TAKE IMMEDIATE CONTROL OF YOUR MENTAL, EMOTIONAL, PHYSICAL AND FINANCIAL
- Investments + S&P Card + Powerweb + StockTrak discount coupon
- H&R Block's Just Plain Smart(tm) Tax Planning Advisor: A year-round approach to lowering your taxes this year, next year and beyond
- How to Pay Zero Taxes (Annual)
- Absolute Beginner's Guide to Microsoft Excel 2002
No comments have been submitted.

