Number in between 2 values
I have a range of numbers that correspond with a tier level. I have figured out Tier I and III, but I'm not sure how to account for Tier II being between 2 values: >21000, <40000.
=IF([AVG. STORE UNITS]@row <= 21000, "TIER III", IF([AVG. STORE UNITS]@row >= 40000, "TIER I"))
I appreciate any and all help!
Best Answer
-
The way nested IF statements work is that they go from left to right and stop on the first true value. Therefore, if it passes an IF statement then that IF statement must be false.
If it makes it past your first IF then the number must be greater than 21000. If it makes it past the second IF then we already know the first is false (number is greater than 21000) and the second is false (number is less than 40000). This means you only need to add that middle range's output in the final portion.
=IF([AVG. STORE UNITS]@row <= 21000, "TIER III", IF([AVG. STORE UNITS]@row >= 40000, "TIER I", "TIER II"))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
The way nested IF statements work is that they go from left to right and stop on the first true value. Therefore, if it passes an IF statement then that IF statement must be false.
If it makes it past your first IF then the number must be greater than 21000. If it makes it past the second IF then we already know the first is false (number is greater than 21000) and the second is false (number is less than 40000). This means you only need to add that middle range's output in the final portion.
=IF([AVG. STORE UNITS]@row <= 21000, "TIER III", IF([AVG. STORE UNITS]@row >= 40000, "TIER I", "TIER II"))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!