Quantcast
Channel: Microsoft Community - Super Fresh
Viewing all articles
Browse latest Browse all 1237350

vlookup with 2 criteria

$
0
0

Hello:

Trying to write a vlookup with 3 criteria, and although getting results for some values after a certain point the formula starts giving reference error !REF.

I have a table where I'm trying to find the price per unit when the org, product and cust type are matching from price sheet.

I've got this far with B2 = Product and A2 = Org ID; didn't add the 2nd Match condition as after about 120rows I started getting the reference error:

 =VLOOKUP(B2,'[Price]PriceSheet'!$H$2:$J$47181,MATCH(A2,'[Price]PriceSheet'!$A$2:$A$47181,0)*3,FALSE)

Sample Data:

Sheet 1:

Org IDProductCust TypeQty soldPrice per Unit
88XMS600Distributor3          
88XSROTHStandard0         
88NMHS22Private1         
88NUCOTHStandard0         
88NUCSKDPrivate15    

Sheet 2

Org IDProductCust TypePrice per Unit
88XMS600Distributor4,716.63 
88XSROTHStandard5,825.81 
88NMHS22Private6,279.84 
88NUCOTHStandard540.92
88NUCSKDPrivate4,384.79 

Any help would be greatly appreciated.

thank you.


Viewing all articles
Browse latest Browse all 1237350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>