lookup help

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a table that looks like this --

jan feb mar
customer a 5 3 2
customer b 6 4 9

I want to write a formula that will show which month produced the highest
value. So for customer a the formula would produce january, and for customer
b, the formula will produce march.

Thanks!

Ted
 
jan feb mar
customer a 5 3 2
customer b 6 4 9

Assuming that the months are in row 1
and the customers are in column A:

=INDEX(1:1,MATCH(MAX(B2:D2),B2:D2,0)+1)

Expand your range (i.e. B2:D2) to include the monthly ranges and then
drag down so that they include the remaining customers (i.e. C2:D2 and
C3:D3)..

HTH,

MP-
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Scrabble Value calculation for Welsh words 0
Excel Help with dates 2
Lookup Formula 2
summaries on alternative sheets 6
Sum with 3 conditions 9
to lookup data for 'today()' 2
Mapping strings to integers 5
Lookup 3

Back
Top