Formula Help
I am trying to fix a formula. What I am trying to achieve is the number of days between the Assigned Date and the Created Date. The "Executed" is for when the status changes to Executed. I have a status column and date columns following for the statuses like "Assigned" , "Pending" etc. and for each status is a date column that is auto populated.
=IF([Created] = "", TODAY() - [Assigned Date]@row, "Executed") -this is coming up #unparseable
(I don't quite understand the formula above, but it was left by another staff person and I need to fix it)
If I can get it to work right, it would have a number in that column until it becomes "Executed" I hope it all makes sense.
TIA
Ali
Best Answer
-
Give this a try:
=TODAY() - IF([Assigned Date]@row <> "", [Assigned Date]@row, DATEONLY(Created@row))
Answers
-
Try changing
[Created]
to
Created@row
-
That did work and it's no longer #unparseable but now every cell shows "Executed" Is there something else I need to add or remove to get numbers to appear?
-
What type of column is Created? If it is a system generated Created (Date) type column, it will never be blank which is what you have as your logical statement in the IF function.
=IF(Created@row = "", TODAY() - [Assigned Date]@row, "Executed")
Your formula is basically saying to calculate the days if the Created column is blank.
-
Sheesh. Yes, the created column is the system generated one. UMPH. I didn't build this formula and I am fairly new at this. We want a formula that looks at the created date and the assigned date and give me a number of days that it is taking to complete the item, so it also needs to look at today's date unless it's been executed then display that instead of the number. The column the number is displayed is Days to Process.
-
Give this a try:
=TODAY() - IF([Assigned Date]@row <> "", [Assigned Date]@row, DATEONLY(Created@row))
-
You are a wonderful person!! That worked!! Thank you so much!!
-
Happy to help. 👍️
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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!