If then else function for ranges of values
Hi all,
For 0-8 sightings, I need the cell to display Emerging, 9-19 Developing, 20-39 Proficient, and 40+ Exemplary.
What's wrong with my formula?
=IF(SUM([Sightings in past two weeks]1:[Sightings in past two weeks]4) <= 8, "Emerging", IF(SUM([Sightings in past two weeks]1:[Sightings in past two weeks]4) <= 19, "Developing"), IF(SUM([Sightings in past two weeks]1:[Sightings in past two weeks]4) <= 39, "Proficient", "Exemplary"))
Thanks!
Michelle
Best Answer
-
Hello Michelle
The error is being triggered because the formula as an extra close bracket after "Developing" ).
So either remove that bracket, or use the following formula:
=IF(SUM([Sightings in past two weeks]1:[Sightings in past two weeks]4) <= 8, "Emerging", IF(SUM([Sightings in past two weeks]1:[Sightings in past two weeks]4) <= 19, "Developing", IF(SUM([Sightings in past two weeks]1:[Sightings in past two weeks]4) <= 39, "Proficient", "Exemplary")))
Best
Nasir (Zealvert)
Answers
-
Hello Michelle
The error is being triggered because the formula as an extra close bracket after "Developing" ).
So either remove that bracket, or use the following formula:
=IF(SUM([Sightings in past two weeks]1:[Sightings in past two weeks]4) <= 8, "Emerging", IF(SUM([Sightings in past two weeks]1:[Sightings in past two weeks]4) <= 19, "Developing", IF(SUM([Sightings in past two weeks]1:[Sightings in past two weeks]4) <= 39, "Proficient", "Exemplary")))
Best
Nasir (Zealvert)
-
Works perfectly!
Thank you so much, Nasir!!!!
-
You're welcome :)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 405 Global Discussions
- 216 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!