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"))
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"))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.2K Get Help
- 431 Global Discussions
- 151 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 154 Just for fun
- 74 Community Job Board
- 501 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 306 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!