SOLVED

conditional formatting

%3CLINGO-SUB%20id%3D%22lingo-sub-2286207%22%20slang%3D%22en-US%22%3Econditional%20formatting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2286207%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHello%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EPlease%20why%20when%20(ps%2Bpw)%2F1.4%3D2000%20the%20green%20icon%20doesn't%20appear%20%3F%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Ethe%20condition%20pc%26gt%3B%3D(ps%2Bpw)%2F1.4%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Ewhen%20I%20try%20it%20with%20numbers%20not%20equation%2C%20it's%20working%20well%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2286207%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2286220%22%20slang%3D%22en-US%22%3ERe%3A%20conditional%20formatting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2286220%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F866856%22%20target%3D%22_blank%22%3E%40safoine%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22safoine_0-1619279469999.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F275268i2AAFB877B88B12CA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22safoine_0-1619279469999.png%22%20alt%3D%22safoine_0-1619279469999.png%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22safoine_1-1619279495107.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F275269i6C1C10EE57ED74F9%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22safoine_1-1619279495107.png%22%20alt%3D%22safoine_1-1619279495107.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2286568%22%20slang%3D%22en-US%22%3ERe%3A%20conditional%20formatting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2286568%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F866856%22%20target%3D%22_blank%22%3E%40safoine%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat's%20rounding%20error.%20You%20may%20use%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DROUND((B2%2BB3)%2F1.4%2C6)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eor%20like%20instead.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello 
Please why when (ps+pw)/1.4=2000 the green icon doesn't appear ?
the condition pc>=(ps+pw)/1.4
when I try it with numbers not equation, it's working well

2 Replies

@safoine 

safoine_0-1619279469999.pngsafoine_1-1619279495107.png

 

best response confirmed by safoine (Occasional Contributor)
Solution

@safoine 

That's rounding error. You may use

=ROUND((B2+B3)/1.4,6)

or like instead.