How to compute aging if date format is in text/number column?
Hi All,
Would like to ask what formula I can use in row 4 to compute the aging (in days) between Actual Completion Date and Due Date.
All dates format are in text/number.
I tried with below formula in actual excel and it's working, however I'm getting 'Invalid value' in Smartsheet.
Formula used in row 4:
=DATE(VALUE(2000 + RIGHT([Activity 1]3, 2)), VALUE(LEFT([Activity 1]3, 2)), VALUE(MID([Activity 1]3, FIND("/", [Activity 1]3) + 1, 2))) - DATE(VALUE(2000 + RIGHT([Activity 1]2, 2)), VALUE(LEFT([Activity 1]2, 2)), VALUE(MID([Activity 1]2, FIND("/", [Activity 1]2) + 1, 2)))
Thank you in advance.
Answers
-
Hi @Asnithaa,
You are getting the #Invalid value message because your formula is attempting to put a "date" value in a column that is not set to "date" type. The only way to make that scenario work would be to have another column, set as "date", using the formula.
Note: I am only speaking to the error you are receiving, I have not looked into the formula itself to know if it is correct otherwise.
Hope this helps,
Dave
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 202 Industry Talk
- 430 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!