May 28 2023 01:44 PM - edited May 28 2023 02:35 PM
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")))))))));"")
May 28 2023 02:06 PM
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;"");"");"")
May 28 2023 02:34 PM
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
May 28 2023 02:47 PM
SolutionLike 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";"")))))));""));"")
May 28 2023 02:52 PM