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
- Customer Resources
- 65.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!