If & Date Calculations
Morning,
I am new to smartsheets & having some trouble merging formulas together. I can get them all to work on their own but when I try to add them together they fail. I am obviously missing something.
I have 3 fields;
Expected Completion Date - dd/mm/yyy
Status - Single Selection (Closed, Archived, Open, Overdue)
Due / Overdue - Formula Field
The statements that I have working on there own standing are;
=IF(Status3 = "Archived", "N/A")
=IF(Status3 = "Closed", "N/A")
=SUM([Expected Completion Date]2 - TODAY()) / 31
What I am looking for is something that will populate N/A if the status is Closed or Archived & if it is open or overdue then it will a positive or negative # of months.
Any help is greatly appreciated
thanks
Sue
Best Answer
-
That was my fault. Pesky parenthesis. Here. Try this one...
=IF(OR(Status@row = "Archived", Status@row = "Closed"), "N/A", SUM([Expected Completion Date]2 - TODAY()) / 31)
Answers
-
Try something like this...
=IF(OR(Status@row = "Archived", Status@row = "Closed", "N/A", SUM([Expected Completion Date]2 - TODAY()) / 31)
-
Ok, I can see how this might work however it is providing me now with a different error, "#INCORRECT ARGUMENT SET"
Is this purely saying that the sum should be at the start of the formula?
Thanks for the guidance
-
That was my fault. Pesky parenthesis. Here. Try this one...
=IF(OR(Status@row = "Archived", Status@row = "Closed"), "N/A", SUM([Expected Completion Date]2 - TODAY()) / 31)
-
A thousand thank you's this is perfect. Have a great day.
-
Happy to help! 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!