The site is acting up, so I can't use less than symbols.
I'd only interject that it'd be simpler to use a formula like
where that middle part in red would consider E5 and K50. No efficiency lost having multiple IF calls each returning "" if their 1st arguments evaluated FALSE. No useful purpose served testing whether B50 equals "Ivory Coast" twice.
That said, if there were a lot of countries and a lot of customers in each country, you'd be better off using a table for K50 threshold values, with country in column 1, customer ID in column 2, and threshold values in column 3. Name that table CCTTBL, sort it in ascending order 1st on column 1 then on column 2. Formulas using this will be long, but they won't need to be edited when the table changes.
Bookmarks