=IF(ISNA(VLOOKUP(S148,[rotaryWeb.xlsx]Sheet1!$S$2:$S$7835,1,FALSE))=FALSE,VLOOKUP(S148,[rotaryWeb.xlsx]Sheet1!$S$1:$U$7835,3,FALSE),"")
Your first VLOOKUP only needs column S
to check that the value exists.
The 2nd need columns S
and U
so it can find the SKU value and get the price for the row.
The 3rd parameter for the result
column need to be 3 in this formula because the price is the 3rd column in the look up fields. You need to use the ISNA()
function to test for SKUs that were not found and show "", Otherwise it will show "#N/A"