=INDEX(A1:A30,MATCH(MAX(IF($B$1:$B$30="NVG",$A$1:$A$30,0)),$A$1:$A$30,0))
insert and hit ctrl+shift+enter (array)
"UH-60 Crew Chief" skrev:
> i have a table in excell, Column A is the Date of the flight, Column B is the
> mode (day, night, NVG) and column C is the number of hours flown.
[quoted text clipped - 3 lines]
>
> can anyone help?
UH-60 Crew Chief - 18 May 2007 14:54 GMT
I tried this and in the formula arguement it works perfectly but in the
spread sheet it displays #value.
> =INDEX(A1:A30,MATCH(MAX(IF($B$1:$B$30="NVG",$A$1:$A$30,0)),$A$1:$A$30,0))
>
[quoted text clipped - 9 lines]
> >
> > can anyone help?
UH-60 Crew Chief - 18 May 2007 14:57 GMT
Worked great in formula arguement box, but when i hit ctr-shift-enter it
gives the error "Array formulas are not valid in merged cells"
> =INDEX(A1:A30,MATCH(MAX(IF($B$1:$B$30="NVG",$A$1:$A$30,0)),$A$1:$A$30,0))
>
[quoted text clipped - 9 lines]
> >
> > can anyone help?
Gord Dibben - 18 May 2007 20:35 GMT
Get rid of the merged cells.
One more reason not to use merged cells............one I never ran across
before.
I'll add it to the long list of problems caused by these.
Gord Dibben MS Excel MVP
>Worked great in formula arguement box, but when i hit ctr-shift-enter it
>gives the error "Array formulas are not valid in merged cells"
[quoted text clipped - 12 lines]
>> >
>> > can anyone help?