hi,
can anyone advise as to which formula would be able to find the highest
("=MAX(A$:T$)")value in a row of cells and once identified return the column
header? thanks for any help!
Dave Peterson - 22 Aug 2006 04:12 GMT
=index(1:1,match(max(2:2),2:2,0))
Will find the first largest value in row 2 and return the header from row 1.
> hi,
> can anyone advise as to which formula would be able to find the highest
> ("=MAX(A$:T$)")value in a row of cells and once identified return the column
> header? thanks for any help!

Signature
Dave Peterson
Michael - 26 Aug 2006 20:50 GMT
Dave,
Thank you very much for your response. If there is more than 1 cell that
has is equal to the "highest" value, will this also display the subsequent
col. hdrs?
> =index(1:1,match(max(2:2),2:2,0))
>
[quoted text clipped - 6 lines]
>> column
>> header? thanks for any help!
Dave Peterson - 26 Aug 2006 23:48 GMT
Nope. It just displays the first match.
> Dave,
> Thank you very much for your response. If there is more than 1 cell that
[quoted text clipped - 14 lines]
> >
> > Dave Peterson

Signature
Dave Peterson
Michael - 31 Aug 2006 01:48 GMT
Dave,
thanks again for your attention and response to what is a lack of my ability
to figure this out. Can you offer a solution for this?
> Nope. It just displays the first match.
>
[quoted text clipped - 19 lines]
>> >
>> > Dave Peterson
Dave Peterson - 31 Aug 2006 02:05 GMT
Maybe you can use one of the lookup formulas on Chip Pearson's page.
I'd look at the arbitrary lookup section.
> Dave,
> thanks again for your attention and response to what is a lack of my ability
[quoted text clipped - 26 lines]
> >
> > Dave Peterson

Signature
Dave Peterson
Michael - 06 Sep 2006 02:44 GMT
Dave,
I hate to be the reason the folks with your talent might become "unnerved"
with involving yourself providing direction and knowledge to one, myself, a
dribbling idiot, which now has to ask you...how does one find Chip Pearson's
page? Thanks again...100 thanks for your patience!!
Michael
> Maybe you can use one of the lookup formulas on Chip Pearson's page.
>
[quoted text clipped - 34 lines]
>> >
>> > Dave Peterson
Dave Peterson - 06 Sep 2006 03:08 GMT
Oopsie...
http://cpearson.com/excel/lookups.htm
But if you use google to search the *excel* newsgroups, you would have found
thousands of hits to Chip's site. It's quite popular. You may want to bookmark
it for other stuff.
> Dave,
> I hate to be the reason the folks with your talent might become "unnerved"
[quoted text clipped - 44 lines]
> >
> > Dave Peterson

Signature
Dave Peterson
Michael - 07 Sep 2006 03:00 GMT
Dave,
Many thanks!! This one is a bit over my head. I'll give myself a week to
play with this and see if I eventually grasp.
Thank you.
Michael R
> Oopsie...
>
[quoted text clipped - 59 lines]
>> >
>> > Dave Peterson
PeterAtherton - 22 Aug 2006 13:31 GMT
> hi,
> can anyone advise as to which formula would be able to find the highest
> ("=MAX(A$:T$)")value in a row of cells and once identified return the column
> header? thanks for any help!
Michael
=INDIRECT(ADDRESS(1,MATCH(MAX(A2:T2),A2:T2,0)))&",
"&INDIRECT(ADDRESS(1,MATCH(MAX(A2:T2),A2:T2,1)))
gives you up to two headers, assuming that a number may be duplicated. MAke
sure the whole formula is pasted in one line in U2 and copy it down
Regards
Peter
PeterAtherton - 22 Aug 2006 13:49 GMT
On second thoughts it doesn't work try
=INDIRECT(ADDRESS(1,MATCH(MAX(A4:F4),A4:F4,0)))
which will just give you the first header if the max is duplicated.
Peter
> hi,
> can anyone advise as to which formula would be able to find the highest
> ("=MAX(A$:T$)")value in a row of cells and once identified return the column
> header? thanks for any help!
PeterAtherton - 22 Aug 2006 14:11 GMT
Ah well, at last one for two maxs in row if you need it
=IF(COUNTIF(A4:t4,MAX(A4:t4))>1,INDIRECT(ADDRESS(1,MATCH(MAX(A6:t6),A6:t6,0)))&",
"&INDIRECT(ADDRESS(1,MATCH(MAX(A6:t6),A6:t6,1))),INDIRECT(ADDRESS(1,MATCH(MAX(A5:t5),A5:Ft,0))))
paste to u 4 and copy
Peter
> hi,
> can anyone advise as to which formula would be able to find the highest
> ("=MAX(A$:T$)")value in a row of cells and once identified return the column
> header? thanks for any help!