Status symbols using greater and less than
I"ve been working with a formula for some time without success. I have a column that has an "Action Score" from 1  9. I'm trying to have another column display a "Up", "Sideways" or "Down" symbol based on the score.
8 or above gets Up
5  7 gets Sideways
1  4 gets Down
Here is the formula I've attempted:
=IF([Action Score]@row >= 8, "Up", IF([Action Score]@row <= 4, "Down", IF([Action Score]@row >= 5, [Action Score]@row <= 7, "Sideways")))
It's the Sideways formula that keeps tripping me up. I can't get it to work, though I've tried it multiple ways.
Thoughts? Ideas?
Thanks so much.
Best Answer

Hi @DBRCIO
You've actually done all the hard work! You've told the formula what to do if it's greater than or equal to 8, then what to do if it's less than or equal to 4... all that's left are the inbetween numbers.
That actually means you don't need to write a statement at all, you could simply go right in to the "Sideways" as the only possible leftover!
=IF([Action Score]@row >= 8, "Up", IF([Action Score]@row <= 4, "Down", "Sideways"))
If you did want to write out the statement, you're just missing an AND Function to tell the formula you're looking for both criteria in one IF:
=IF([Action Score]@row >= 8, "Up", IF([Action Score]@row <= 4, "Down", IF(AND([Action Score]@row >= 5, [Action Score]@row <= 7), "Sideways")))
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8  10, Seattle, WA  Register now
Answers

Hi @DBRCIO
You've actually done all the hard work! You've told the formula what to do if it's greater than or equal to 8, then what to do if it's less than or equal to 4... all that's left are the inbetween numbers.
That actually means you don't need to write a statement at all, you could simply go right in to the "Sideways" as the only possible leftover!
=IF([Action Score]@row >= 8, "Up", IF([Action Score]@row <= 4, "Down", "Sideways"))
If you did want to write out the statement, you're just missing an AND Function to tell the formula you're looking for both criteria in one IF:
=IF([Action Score]@row >= 8, "Up", IF([Action Score]@row <= 4, "Down", IF(AND([Action Score]@row >= 5, [Action Score]@row <= 7), "Sideways")))
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8  10, Seattle, WA  Register now 
OMG 🙄, thank you so much @Genevieve P. for taking the time to respond. That worked!! And since it was putting a "Down" arrow for a Zero (and I'd prefer nothing to display), I added the following "AND" Function for the Down arrow.
=IF([Action Score]@row >= 8, "Up", IF(AND([Action Score]@row <= 4, [Action Score]@row >= 1), "Down", IF(AND([Action Score]@row >= 5, [Action Score]@row <= 7), "Sideways")))
THANKS!

No problem at all! I'm glad you got it to work. 🙂
Join us at Smartsheet ENGAGE 2024 🎉
October 8  10, Seattle, WA  Register now
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!