S
Steph
I have a series of values in which the maximum value occurs several times. I
am trying to create a formula for each offsetting cell in column B that flags
the first occurance of the maximum value only.
For example, the sample data appears in column A. The desired output
appears in column B.
A1 = 2 B1 = 0
A2 = 7 B2 = 1
A3 = 5 B3 = 0
A4 = 7 B4 = 0
A5 = 3 B5 = 0
A6 = 7 B6 = 0
Cell B2 flags the first occurance of the maximum value (7) with a "1". The
remainder of column B is filled with zeros.
The formula needs to be a single-cell formula for each cell in column B. In
this case I can't use a multi-cell array.
I currently have the single-cell array formula below, but it fails because
it picks up the maximum three times.
{=IF(B2=MAX($A$1:$A$6),1,0)}
Thank you for help that can be provided.
am trying to create a formula for each offsetting cell in column B that flags
the first occurance of the maximum value only.
For example, the sample data appears in column A. The desired output
appears in column B.
A1 = 2 B1 = 0
A2 = 7 B2 = 1
A3 = 5 B3 = 0
A4 = 7 B4 = 0
A5 = 3 B5 = 0
A6 = 7 B6 = 0
Cell B2 flags the first occurance of the maximum value (7) with a "1". The
remainder of column B is filled with zeros.
The formula needs to be a single-cell formula for each cell in column B. In
this case I can't use a multi-cell array.
I currently have the single-cell array formula below, but it fails because
it picks up the maximum three times.
{=IF(B2=MAX($A$1:$A$6),1,0)}
Thank you for help that can be provided.