Using If formula with symbols
Hi there,
Trying to create a formula using symbols, but am getting the #UNPARSEABLE message.
Under my Progress column, I'm using symbols (Red, Green, Yellow and Blue).
For the Value if true: if the symbol is green, then I want the number that is entered into the column titled "Run Time" to be populated into "Column 12". For example, if a "5" is entered in Run Time and the symbol is green, I want the 5 to be populated in Column 12.
For the Value if false: if the symbol is any other colour, then I want the number entered into "column 12" to be zero.
This is the formula I've put in but it doesn't seem to be working:
=IF([Progress]4 = 3, "=([Run Time (in Hours)]@row)", "0"))
I'm pretty sure that the 3 should correspond with the green symbol.
First time working with this type of formula - Any ideas? I'm all ears :)
Best Answer
-
Hiya! 🙂
Just jumping in to clarify here - @Jason Nairnsey is correct! You'll need to spell out the colours as text in your formula and that article will identify the correct text syntax.
However I also wanted to call out the second half of your formula where I see you have a number of quotes:
=IF([Progress]4 = 3, "=([Run Time (in Hours)]@row)", "0"))
Since you're referencing a cell and then a number, neither of these elements need quotes. Try something like this:
=IF([Progress]@row = "Green", [Run Time (in Hours)]@row, 0)
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
I think you need to use the actual words, rather than convert to numbers, ie "Red", "Green", "Yellow" and "Blue". See this article for more details:
https://help.smartsheet.com/articles/2480316-available-symbols-in-symbols-column
-
Hiya! 🙂
Just jumping in to clarify here - @Jason Nairnsey is correct! You'll need to spell out the colours as text in your formula and that article will identify the correct text syntax.
However I also wanted to call out the second half of your formula where I see you have a number of quotes:
=IF([Progress]4 = 3, "=([Run Time (in Hours)]@row)", "0"))
Since you're referencing a cell and then a number, neither of these elements need quotes. Try something like this:
=IF([Progress]@row = "Green", [Run Time (in Hours)]@row, 0)
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Hi there, thanks very much! works!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!