adding up multiple HLOOKUP results
hello, ok, so i'm not making much headway on this one... i've learnt to do a HLOOKUP formula, but how can I add up the results when there's more than one (i may have up to 8 or 9 in total)?
i've also struggled with returning the correct column value - i can't work out how to return the cost column...
i've tried using SUMPRODUCT but that doesn't work.... is there a simpler overall formula i should be considering instead of HLOOKUP?
here's a screen shot - i only want to add the quantities and costs if "selection" appears in row 1.
cheers
Ric
MacBook Pro 15″, macOS 12.2