Forum Discussion
Cheryl0615
Jul 15, 2024Copper Contributor
How to change my field selection.
currently, this is my selection. =IF(OR(D3:V3<1000), 5, 0) I want to search D3:V3 if the amount is greater than 300 or less than 1000. I still want to end with 5, 0. How can I do this? Thanks
SergeiBaklan
Jul 15, 2024MVP
If I understood the logic correctly, formula shall return 5 if at least on value in D3:V3 is greater than 300 AND less than 1000, when
=IF(OR( (D3:V3>300) * (D3:V3<1000)), 5, 0)
If we use OR when condition for any cell and any value in it always returns true (any number is more than 300 OR less than 1000). Thus applied to the range we always have true.
- Cheryl0615Jul 15, 2024Copper ContributorThe formula =IF(OR(D3:V3>300, D3:V3<1000), 5, 0) seems to be working from Nikolino DE. Thank you