Hi, first off, looking at the sample file --
could you outline how you can determine the distributor from the info provided on the Product sheet - e.g. row 16?
I can't see any obvious means of differentiating Ingram International from Faber Music - which would be required to isolate the discrete discounts.
As far as I can infer the above is the only o/s issue in terms of retrieving the correct discounts?
You mention an issue with leading zeroes on Discount sheet but that shouldn't cause an issue if those cells are stored as text rather than number.
In terms of removing the 0s from the results, you can do this using an IFERROR approach, and to avoid double evaluation of the potentially expensive calc you can get away with:
the 1/(1/x) will generate #DIV/0! if x = 0 else x ... and you can wrap around an error handler to convert the #DIV/0! to your preferred null string ("").
Bookmarks