Sign in to join the conversation:
My 'TODAY' formula doesn't seem to be working...?! I've tried =TODAY(), =TODAY(-7) and other permutations but nothing works...?
Hi Kirstine,
What are you trying to do?
Can you describe your process in more detail and maybe share the sheet(s) or some screenshots? That would make it easier to help. (share too, andree@getdone.se)
Have a fantastic weekend!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
Hi Andrée, thanks for responding!
I'm working on a really long formula which gives me RYG icons according to what information is in certain cells. In the past I've used =IF([Schedule Approved]2 < TODAY(-14), "Red", (IF([Schedule Approved]2 > TODAY(-7), "Green", "Yellow"))) as part of a longer formula with no problems.
I'm currently working on something which I want to use the same method on but it's not working, and so I've been breaking it down into sections to see what I've missed. What's so annoying is that while this works:
=(IF(AND(Status2 = "Priced", [Quote Submitted]2 < TODAY(-14)), "Red", "Green"))
...this doesn't:
=(IF(AND(Status2 = "Priced", [Quote Submitted]2 > TODAY (-7)), "Green", "Yellow"))
...and it's bugging me so much!!!
Let me know if that's enough info, and if not I'll try to do screenshots etc.
When you are trying to have more than 2 outputs for a IF statement you have to nest those statements.
IF(logical_expression, value_if_true, [value_if_false])
to
IF(logical_expression, value_if_true, IF(logical_expression, value_if_true, [value_if_false])
So it will turn out like this..
=(IF(AND(Status2 = "Priced", [Quote Submitted]2 < TODAY(-14)), "Red", IF(AND(Status2 = "Priced", [Quote Submitted]2 < TODAY (-7)), "Yellow", "Green"))
Let me know if I explained it good enough.
Thanks Michael, but this is already part of a HUGE nested IF formula!
I'm interested to know why the top one works as a standalone and the bottom one doesn't. .
In that case could you show some screen shots or post an example sheet that has dummy data in it?
Thanks!
Here's the screenshots. As above, one results in a nice friendly green bubble and the other gives me an angry #UNPARSEABLE.
https://app.smartsheet.com/b/publish?EQBCT=d8718e8838d54144b00602938d4f3804
How about that? I retyped it from scratch.
Michael
This was really helpful, thanks! I'd forgotten about @row etc! Now my finished formula looks like this:
=IF(Status@row = "Inactive", "Gray", IF(AND(Status@row = "Pending Instruction", [Schedule Approved]@row < TODAY(-14)), "Red", IF(AND(Status@row = "Pending Instruction", [Schedule Approved]@row > TODAY(-7)), "Green", IF(Status@row <> "Priced", "Green", IF(AND(Status@row = "Priced", [Quote Submitted]@row < TODAY(-14)), "Red", IF(AND(Status@row = "Priced", [Quote Submitted]@row > TODAY(-7)), "Green", "Yellow"))))))
OK, next question... why are my new dots a different colour than my old ones...?!
Looks like the different symbols have slightly different colors.
I could see how something like that could have been a pain!
Glad I could help you out!
Now you're just showing off...!
Well not on purpose....
Ha ha! Thanks for your help. x
Hello, I'm working through the writing formulas optional activity and in the 'Nested IF function - Progress Column' task it directs you to put in the following formula '=IF([% Complete]@row = 0, “Empty”)'. However, when I put this formula into the spreadsheet, '04a_Marketing Request Tracker - Formulas', I get an…
I have an automation that has a condition where I am looking at the column "LEA Interco Supporting Site(s)" and trying to find columns that have the value "Fort Loramie" in them. This works well when "Fort Loramie" is the first item listed in the cell, but it doesn't work when "Fort Loramie" is the second or third value in…
Have any of you created a Smartsheet that would show the savings for a project by the month? In other words, if I saved $1200 annually and the project ended in say March, then the savings would go $120 per month, Mar 2025-Feb 2026. I have done it on Excel sheets manually, but I think there should be a way to do it with…