Prices with XLOOKUP
Pull unit prices from a product list by code, fix the list with $ signs and handle codes that are not listed.
80% complete
Step 5 of 5Practise this in Sim Bay
Debrief
- XLOOKUP(what, where, return) finds a code and returns the value from the same position.
- Fix the lookup and return ranges with $ so the formula can be copied down.
- Give a fourth argument such as "Not listed" so missing codes are clear instead of #N/A.
- Because prices come from the list, a price review updates every order line automatically.
Real Excel also offers approximate match for tier tables. In this course, use the nested IF exercise (commission tiers) for that case.