Let's say we have a row with a product & prices for that product at four regional stores:
Chocolate Bar
Store A: $1
Store B: $3
Store C: $2
Store 😧 $5
I'd like a formula that would look across the store prices, determine the highest price, and then return the name of that field. I want a function that would return "Store D" in the example above.
MAX(Store A, Store B, Store C, Store D) will help me identify the highest price, but it returns the $5 value, not the field name Store D. How do I get something like MAX returning the winning field name?
Thanks!