» Retrieving a Price Value By Looking at Two Difference Data Tables
CATEGORY - Lookup Formulas
VERSION - All Microsoft Excel Versions
Problem: Listed in range1 (A4:B6) and range2 (D4:E6) are clothing items and their prices.
Cell B9 contains the name of an item from one of the ranges.
We would like to perform a lookup on both ranges, find the relevant item, and return the matching price.
Solution:
Use the ISNA and VLOOKUP functions as shown in the following formula:
=IF(ISNA(VLOOKUP(B9,A4:B6,2,FALSE)),VLOOKUP(B9,D4:E6,2,FALSE),VLOOKUP(B9,A4:B6,2,FALSE))
Range1___________________Range2
Item____Price____________Item______Price
Shoes___$80______________Jeans_____$70
Skirt___$30______________T-Shirt___$10
Socks___$5_______________Sneakers__$100
Item to look____Jeans
Price___________$70

Book Store:
Recommended Books:
- Advanced modelling in finance using Excel and VBA
- Successful Business Planning in 30 Days: A Step-By-Step Guide for Writing a Business Plan and Starting Your Own Business
- Windows XP for Dummies
- Microsoft Windows XP Registry Guide
- The 22 Immutable Laws of Marketing : Exposed and Explained by the World's Two
- How to Read A Financial Report
No comments have been submitted.

