SOLVED

# Hide False value based on a another cell value | Help

Brass Contributor

# Hide False value based on a another cell value | Help

Hello everyone.I have an excel file with the if function based on the value of another cell.
When cell AG3 for example has a value, so a note is displayed in cell AH3. And if there is no value in cell AG3 then cell AH3 is displayed FALSE. How I can hide it

That's my formula

``=SIERREUR(SI(COUNTBYFONTCOLOR(A3:B3;1);SI(AG3<=0;"";SI(AG3<=2.5;"A";SI(AG3<=4.5;"B";SI(AG3<=6.5;"C";SI(AG3<=8;"D";SI(AG3<=9;"E";SI(AG3<=10;"F")))))));SI(COUNTBYFONTCOLOR(A3:B3;3);SI(AG3<=0;"";SI(AG3<=2.5;"A";SI(AG3<=4.5;"B";SI(AG3<=6.5;"C";SI(AG3<=8;"D";SI(AG3<=9;"E";SI(AG3<=10;"F")))))))));"")``

5 Replies

# Re: Hide False value based on a another cell value | Help

For example

=SIERREUR(SI(OU(COUNTBYFONTCOLOR(A3:B3;1);COUNTBYFONTCOLOR(A3:B3;3));SI(AG3<=0;"";SI(AG3<=2,5;"A";SI(AG3<=4,5;"B";SI(AG3<=6,5;"C";SI(AG3<=8;"D";SI(AG3<=9;"E";SI(AG3<=10;"F";"")))))));"");"")

or

=SIERREUR(SI(OU(COUNTBYFONTCOLOR(A3:B3;1);COUNTBYFONTCOLOR(A3:B3;3));SI.CONDITIONS(AG3<=0;"";AG3<=2,5;"A";AG3<=4,5;"B";AG3<=6,5;"C";AG3<=8;"D";AG3<=9;"E";AG3<=10;"F";VRAI;"");"");"")

# Re: Hide False value based on a another cell value | Help

Thank you very much

# Re: Hide False value based on a another cell value | Help

Sorry sir I made a mistake my formula must be like this

``=SIERREUR(SI(COUNTBYFONTCOLOR(A3:B3;1);SI(AG3<=0;"";SI(AG3<=2.5;"A";SI(AG3<=4.5;"B";SI(AG3<=6.5;"C";SI(AG3<=8;"D";SI(AG3<=9;"E";SI(AG3<=10;"F")))))));SI(COUNTBYFONTCOLOR(A3:B3;3);SI(AG3<=0;"";SI(AG3<=2.5;"G";SI(AG3<=4.5;"H";SI(AG3<=6.5;"I";SI(AG3<=8;"J";SI(AG3<=9;"K";SI(AG3<=10;"L")))))))));"")``

The notes of the countyfontcolor 1 function should not be the same as countyfontcolor 3

best response confirmed by X_23 (Brass Contributor)
Solution

# Re: Hide False value based on a another cell value | Help

Like this:

=SIERREUR(SI(COUNTBYFONTCOLOR(A3:B3;1);SI(AG3<=0;"";SI(AG3<=2,5;"A";SI(AG3<=4,5;"B";SI(AG3<=6,5;"C";SI(AG3<=8;"D";SI(AG3<=9;"E";SI(AG3<=10;"F";"")))))));SI(COUNTBYFONTCOLOR(A3:B3;3);SI(AG3<=0;"";SI(AG3<=2,5;"G";SI(AG3<=4,5;"H";SI(AG3<=6,5;"I";SI(AG3<=8;"J";SI(AG3<=9;"K";SI(AG3<=10;"L";"")))))));""));"")

# Re: Hide False value based on a another cell value | Help

Yes it works thank you