I am having a conditional formatting issue that I can not seem to solve. The formatting for column with the $ data is working correctly because I simply want to rank and highlight the three highest values.
However, for the column with the % data, I want to rank and highlight the three lowest values, excluding anything equal or less than 0. In other words, I would like to highlight the top three values in the column with the % data (.5%, .5% and 1%).
Here are the functions I have written:
Rule 1: Cells <= 0 fill cell white
Rule 2: =AND(ISNUMBER(C2), COUNTIF(C2:C2,C16)=1, C2=SMALL(IFERROR(1/SIGN(TRANSPOSE(FREQUENCY(MATCH(C2:C16&"",C2:C16&"",0),MATCH(C2:C16&"",C2:C16&"",0)))*ISNUMBER(C2:C16))*C2:C16,FALSE), 1))..fill cell green
Rule 3: =AND(ISNUMBER(C2), COUNTIF(C2:C2,C16)=1, C2=SMALL(IFERROR(1/SIGN(TRANSPOSE(FREQUENCY(MATCH(C2:C16&"",C2:C16&"",0),MATCH(C2:C16&"",C2:C16&"",0)))*ISNUMBER(C2:C16))*C2:C16,FALSE), 2))...fill cell yellow
Rule 4: =AND(ISNUMBER(C2), COUNTIF(C2:C2,C16)=1, C2=SMALL(IFERROR(1/SIGN(TRANSPOSE(FREQUENCY(MATCH(C2:C16&"",C2:C16&"",0),MATCH(C2:C16&"",C2:C16&"",0)))*ISNUMBER(C2:C16))*C2:C16,FALSE), 3))..fill cell red
I have a feeling I may be making this more complicated than need be, but if anyone knows if a solution to this issue, I would be grateful.
However, for the column with the % data, I want to rank and highlight the three lowest values, excluding anything equal or less than 0. In other words, I would like to highlight the top three values in the column with the % data (.5%, .5% and 1%).
Here are the functions I have written:
Rule 1: Cells <= 0 fill cell white
Rule 2: =AND(ISNUMBER(C2), COUNTIF(C2:C2,C16)=1, C2=SMALL(IFERROR(1/SIGN(TRANSPOSE(FREQUENCY(MATCH(C2:C16&"",C2:C16&"",0),MATCH(C2:C16&"",C2:C16&"",0)))*ISNUMBER(C2:C16))*C2:C16,FALSE), 1))..fill cell green
Rule 3: =AND(ISNUMBER(C2), COUNTIF(C2:C2,C16)=1, C2=SMALL(IFERROR(1/SIGN(TRANSPOSE(FREQUENCY(MATCH(C2:C16&"",C2:C16&"",0),MATCH(C2:C16&"",C2:C16&"",0)))*ISNUMBER(C2:C16))*C2:C16,FALSE), 2))...fill cell yellow
Rule 4: =AND(ISNUMBER(C2), COUNTIF(C2:C2,C16)=1, C2=SMALL(IFERROR(1/SIGN(TRANSPOSE(FREQUENCY(MATCH(C2:C16&"",C2:C16&"",0),MATCH(C2:C16&"",C2:C16&"",0)))*ISNUMBER(C2:C16))*C2:C16,FALSE), 3))..fill cell red
I have a feeling I may be making this more complicated than need be, but if anyone knows if a solution to this issue, I would be grateful.