Lookup Tables?
Posted by Ian Walters on January 21, 2002 10:05 PM
I am trying to find the column heading for a particular value in a range. I can't use "IF" as it would limit me to 7 columns but the LOOKUP functions all require the date to be sorted in order.
For example, You have a table of destinations and airline flight costs.
Destination BA UA Conti KLM
Bahrain 1000 1200 800 1300
Dubai 750 800 725 1000
London 900 750 800 1000
New York 800 850 750 1200
I can put in a column with the MIN function to find the lowest price for each destination, but if there are 100 airlines (columns) I would need to do a manual search for the cheapest one.
Any suggestions (solutions!) gratefully received.
Ian.