Less than won't work in my formula
Need some help I am trying to get a formula to return "Less" when the value is less then or equal to 0 and "More" when it greater then 0. The column I am comparing to is a formula to give me the totals however it appears to be returning a number based on how the column is formatted so it should be able to do this comparison however it will only show "Less" is the value is 0, anything less then 0 still returns a more. Appreciate any guidance you can give.
Here is the formula: =IF([FY 2022]@row > 0, "More", "Less")
Thank you, Cynthia
Best Answer
-
0.4 is more than 0.
Do you want anything less than 1 to be marked as "Less"?
If so, change the 0 in your formula to 1. This would mean any negative numbers and anything between 0 and 1 (including 1.0) would be marked as "Less".
=IF([FY 2022]@row > 1, "More", "Less")
If you want 1.0 to be marked as "More", you can use a greater than and equal to.
=IF([FY 2022]@row >= 1, "More", "Less")
Answers
-
Both of the formula you shared look fine. Can you share a screen shot where you have a value less than 0 that is returning "more"? And share the formula in both of the cells in that situation.
-
Thank you for looking at , you can see from here that the line where it is .4 it is showing more the attached have the formulas for both lines.
-
0.4 is more than 0.
Do you want anything less than 1 to be marked as "Less"?
If so, change the 0 in your formula to 1. This would mean any negative numbers and anything between 0 and 1 (including 1.0) would be marked as "Less".
=IF([FY 2022]@row > 1, "More", "Less")
If you want 1.0 to be marked as "More", you can use a greater than and equal to.
=IF([FY 2022]@row >= 1, "More", "Less")
-
Do you ever have a day / week where you are losing your mind? Thank you so much as yes it should be less then 1.
-
😍 sometimes an extra eye is all it takes. Glad I could help.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!