Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Lookup
I have numbers going across the rows with the date in row 1. To the
right of my data, I have a function finding the max value in that row max(G2:DQ2)...the dates go from G1:DQ1. Now, what I want to do is return the corresponding date to that max number in another cell. So, if the max number is in cell DQ2, then I want it to return the date in DQ1. Any help would be greatly appreciated. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Lookup
Try this:
=INDEX(G$1:DQ$1,MATCH(MAX(G2:DQ2),G2:DQ2,0)) Format as Date -- Biff Microsoft Excel MVP "George777" wrote in message ... I have numbers going across the rows with the date in row 1. To the right of my data, I have a function finding the max value in that row max(G2:DQ2)...the dates go from G1:DQ1. Now, what I want to do is return the corresponding date to that max number in another cell. So, if the max number is in cell DQ2, then I want it to return the date in DQ1. Any help would be greatly appreciated. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Lookup
George777 wrote:
I have numbers going across the rows with the date in row 1. To the right of my data, I have a function finding the max value in that row max(G2:DQ2)...the dates go from G1:DQ1. Now, what I want to do is return the corresponding date to that max number in another cell. So, if the max number is in cell DQ2, then I want it to return the date in DQ1. Any help would be greatly appreciated. Try: =INDEX(G1:DQ1,1,MATCH(MAX(G2:DQ2),G2:DQ2,0)) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
LOOKUP FUNCTION? (LOOKUP VALUE BEING A TIME RENERATED FROM A FORMU | Excel Discussion (Misc queries) | |||
Lookup looks to the prior column if zero appears in the lookup col | Excel Discussion (Misc queries) | |||
Get Cell Address From Lookup (Alternative to Lookup) | Excel Worksheet Functions | |||
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup | Excel Worksheet Functions | |||
Sumproduct - Condition based on lookup of a Lookup | Excel Discussion (Misc queries) |