Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Please help all you clever people !!
I have a table in the format: MR A MR B MR C MR D 01/01/06 1 3 7 8 02/01/06 2 5 4 4 03/01/06 3 9 5 7 I want a formula to analyse the entire table (Which can change) and to return me who has achieved the Max value and on which date. The answer here should be MR B on the 03/01/06. PLEASE HELPPP!!! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
To get Mr. B:
=INDEX(B1:E1,MIN(IF(B2:E4=MAX(B2:E4),COLUMN(B2:E4)-1))) to get the 3/1/2006 =INDEX(A2:A4,MIN(IF(B2:E4=MAX(B2:E4),ROW(B2:E4)-1))) This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it correctly, excel will wrap curly brackets {} around your formula. (don't type them yourself.) Adjust the range to match--but you can't use the whole column--oddly enough, you can use the whole row. Matthew wrote: Please help all you clever people !! I have a table in the format: MR A MR B MR C MR D 01/01/06 1 3 7 8 02/01/06 2 5 4 4 03/01/06 3 9 5 7 I want a formula to analyse the entire table (Which can change) and to return me who has achieved the Max value and on which date. The answer here should be MR B on the 03/01/06. PLEASE HELPPP!!! -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
What if there are duplicate max values?
Biff "Matthew" wrote in message ... Please help all you clever people !! I have a table in the format: MR A MR B MR C MR D 01/01/06 1 3 7 8 02/01/06 2 5 4 4 03/01/06 3 9 5 7 I want a formula to analyse the entire table (Which can change) and to return me who has achieved the Max value and on which date. The answer here should be MR B on the 03/01/06. PLEASE HELPPP!!! |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Ooh. Excellent point.
I'll await one of your formulas! Biff wrote: What if there are duplicate max values? Biff "Matthew" wrote in message ... Please help all you clever people !! I have a table in the format: MR A MR B MR C MR D 01/01/06 1 3 7 8 02/01/06 2 5 4 4 03/01/06 3 9 5 7 I want a formula to analyse the entire table (Which can change) and to return me who has achieved the Max value and on which date. The answer here should be MR B on the 03/01/06. PLEASE HELPPP!!! -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'll await a reply from the OP!
Biff "Dave Peterson" wrote in message ... Ooh. Excellent point. I'll await one of your formulas! Biff wrote: What if there are duplicate max values? Biff "Matthew" wrote in message ... Please help all you clever people !! I have a table in the format: MR A MR B MR C MR D 01/01/06 1 3 7 8 02/01/06 2 5 4 4 03/01/06 3 9 5 7 I want a formula to analyse the entire table (Which can change) and to return me who has achieved the Max value and on which date. The answer here should be MR B on the 03/01/06. PLEASE HELPPP!!! -- Dave Peterson |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Yes, you are right...it could be repeated...unlikely...but possible ! Dammit!!
I cant quite get the date formulae to work....could it be because my data is in the range B241..F267? I can get the name bit right no problem - {=INDEX($B$241:$F$241,MIN(IF(C242:F267=MAX(C242:F2 67),COLUMN(C242:F267)-1)))} "Biff" wrote: I'll await a reply from the OP! Biff "Dave Peterson" wrote in message ... Ooh. Excellent point. I'll await one of your formulas! Biff wrote: What if there are duplicate max values? Biff "Matthew" wrote in message ... Please help all you clever people !! I have a table in the format: MR A MR B MR C MR D 01/01/06 1 3 7 8 02/01/06 2 5 4 4 03/01/06 3 9 5 7 I want a formula to analyse the entire table (Which can change) and to return me who has achieved the Max value and on which date. The answer here should be MR B on the 03/01/06. PLEASE HELPPP!!! -- Dave Peterson |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Could still do with some help on this guys !! Please!
"Matthew" wrote: Yes, you are right...it could be repeated...unlikely...but possible ! Dammit!! I cant quite get the date formulae to work....could it be because my data is in the range B241..F267? I can get the name bit right no problem - {=INDEX($B$241:$F$241,MIN(IF(C242:F267=MAX(C242:F2 67),COLUMN(C242:F267)-1)))} "Biff" wrote: I'll await a reply from the OP! Biff "Dave Peterson" wrote in message ... Ooh. Excellent point. I'll await one of your formulas! Biff wrote: What if there are duplicate max values? Biff "Matthew" wrote in message ... Please help all you clever people !! I have a table in the format: MR A MR B MR C MR D 01/01/06 1 3 7 8 02/01/06 2 5 4 4 03/01/06 3 9 5 7 I want a formula to analyse the entire table (Which can change) and to return me who has achieved the Max value and on which date. The answer here should be MR B on the 03/01/06. PLEASE HELPPP!!! -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do you make cell 2 return data if cell 1 contains text? | Excel Discussion (Misc queries) | |||
If it's not a space, return the cell contents. | Excel Worksheet Functions | |||
Select cell, Copy it, Paste it, Return to Previous cell | Excel Discussion (Misc queries) | |||
Find a value in a cell and return another value in a differant cel | Excel Discussion (Misc queries) | |||
Instead of a negative number, I'd like to show zero... | Excel Worksheet Functions |