Hi,
I got stuck when trying to check a matching value in multiple rows using VLOOKUP(...) function.
Pls see attached excel file for complete details.
Hi,
I got stuck when trying to check a matching value in multiple rows using VLOOKUP(...) function.
Pls see attached excel file for complete details.
Hi
One way would be to use an extra column which concatenates your Item and Colour, and use this range as your "lookup" range.
See attached workbook, where in a newly inserted column A, I have used the formula
=A2&B2
and copied down
To test if the product exists, you don't need a lookup, but the faster Countif function.
=IF(COUNTIF($A$2:$A$6,$C9&D$8),"Y","N")
Copy across and down
To get the price for the product then
=IF(COUNTIF($A$2:$A$6,$C9&D$8),VLOOKUP($C9&D$8,$A$2:$D$6,4,0),"")
--
Regards
Roger Govier
Microsoft Excel MVP
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks