If Condition

I have this condition which works well (copied from line 89 of my plan)
=IF([% Complete]89 = 1, "Complete", IF([% Complete]89 = 0, "Not Started", "In Progress"))
I'd like to add two conditions:
1st: if the %complete is 90%, then the cell should change to "Scheduled"
What I thought would work:
=IF([% Complete]85 = 1, "Complete", IF([% Complete]85 = 0, "Not Started", IF([% Complete]85 = 90, "Scheduled", "In Progress"))) isn't working.
2nd: If a - (negative sign) is entered in the %complete field, the status field changes to "Backlog"
Can someone help me with this formula? Much appreciated!
Best Answers
-
put in a % inside the quotes for the negative: "-%"
-
Your welcome!
Answers
-
Presuming that your percent complete column is formatted as %:
=IF([% Complete]@row = 1, "Complete", IF([% Complete]@row = 0, "Not Started", IF([% Complete]@row = 0.9, "Scheduled", IF([% Complete]@row = "-", "Backlog", "In Progress"))))
-
Hi, the 90% condition is working! However, the negative switches the status to In Progress. I don't have to use a negative sign if you can think of another way to make the switch.
Thank you for the quick help
-
put in a % inside the quotes for the negative: "-%"
-
Thank you so much!!!!
-
Your welcome!
-
How do I select range when writing an if statement; for instance, I want to say I would like to know how to write a formula for one column with different information. I was able to do it in excel got the result as you can see below but Smartsheet I am having a hard time understanding it. Can you please help how it can be implemented?
=IF(G2>99%,"Complete", IF(G2<1%,"Not Started", IF(G2>1%,"In-Progress")))
Note: Statement above I used in excel.
-
@Irtaza Try this:
=IF([% Complete]@row = 1, "Complete", IF([% Complete]@row = 0, "Not Started", "In Progress"))
-
Thanks Paul, I used what you told me and still I am getting this error.
-
@VBAGuru any help would be appreciated please.
-
@Irtaza The formula looks correct, but if that is a screen shot, it would seem that that [% Complete] part is not "linked" correctly. A Smartsheet issue if copying/pasting a formula from text. They should be a color. I would suggest trying to relink manually.
-
@Irtaza Make sure the [Column Name] in the formula matches the column name you are using in your sheet.
-
Thanks Guy it worked :)
-
Glad that worked for you!
-
@Paul Newcome or @VBAGuru I would like add another status "hold" into the IF statement. what should be my equation be?
Help Article Resources
Categories
Check out the Formula Handbook template!