Date field minus 'TODAY()
Hello All,
Could someone please explain why the following doesn't work or a solution:
I have a date column with a mix of dates both past and future. The next column is a column to say how many days till this date occurs. Therefore if it is in the future (i.e. date is the 30/10/20) then the second column needs to say 534. If it was it the past (i.e. date is the 13/11/18) then the second column needs to say -183.
I have managed to get it working in excel with a simple formula in the second column '=DATECOLUMN-NOW()' but unfortunately '=DATECOLUMN-TODAY()' won't work in SmartSheet.
Thanks in advance.
Comments
-
Hi Lachlan,
It should work.
Try this.
=Date@row - TODAY()
Did it work?
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Thanks Andrée,
I probably didn't explain myself properly. The date column is called 'Warranty Expiry' and the next column is called 'Warranty Days Left'. In the 'Warranty Days Left' column I am trying to use the formula:
=[Warranty Expiry]1 - TODAY()
-
I think we're talking about the same thing.
Try this.
It's the same as your but with @row.
=[Warranty Expiry]@row - TODAY()
Did it work?
Let me know if I'm misunderstanding something.
Best,
Andrée
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Thanks Andrée but no luck. See below:
-
What column type is the Warranty Days Left?
Best,
Andrée
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Text/Number
-
That's strange!
Can you describe your process in more detail and maybe share the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@getdone.se)
Best,
Andrée
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Have done. There is just a one liner that's dummy data. LMK how you go or if I am missing something. Thanks.
-
Thanks Andrée, I have found what the issue was. Thanks for your time.
-
Excellent!
What was the issue?
Best,
Andrée
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
I was spending too much time on the formula and checking the 'Warranty Days Left' columns type rather than checking the 'Warranty Expiry' column type. This was Text/Number hence the formula couldn't pickup that value minus 'today'.
Pays to be thorough in initial setup, but missed it due to importing an excel doc ???
-
We've all been there!
Best,
Andrée
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 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!