Forum Discussion
Conditional formatting OR statement
- May 19, 2022
I was able to replicate the same behavior you were seeing.
If we enter the formula on the spreadsheet, we can see the OR produces a #VALUE! error.
By using Evaluate Formula from the Formula tab of the ribbon, we can see this is because the <> operator produces a #VALUE! error when either of the operands are an error value.
So, I think you have two choices:
1. Separate them into different rules:
2. Use this instead:
=IF(ISERROR(B2),TRUE,B2<>C2)
I was able to replicate the same behavior you were seeing.
If we enter the formula on the spreadsheet, we can see the OR produces a #VALUE! error.
By using Evaluate Formula from the Formula tab of the ribbon, we can see this is because the <> operator produces a #VALUE! error when either of the operands are an error value.
So, I think you have two choices:
1. Separate them into different rules:
2. Use this instead:
=IF(ISERROR(B2),TRUE,B2<>C2)
- MilliumfolieMay 19, 2022Copper ContributorThanks for your explanation and solution!