TODAY() Function not working?
I've had formulas calculating the number of Salvage appointments that were added to our sheet on today's date and yesterday's date for over a week now with no issue. This morning I was notified that the numbers are incorrect. I am able to filter the grid and see that we did in fact have more than 8 salvage appointments created yesterday, and we haven't had 38 added today (We actually show 0 with a creation date of today). I've attached a link below to view the sheet data and formulas. It almost like it is going by a 24 hour calendar instead of date. Anyone else have this issue or think they know why my formulas aren't working?
To identify # of salvage appointments created today:
=COUNTIFS(Created:Created, TODAY(), [Load Contents]:[Load Contents], "Salvage")
To identify the # of salvage appointments created yesterday:
=COUNTIFS(Created:Created, TODAY(-1), [Load Contents]:[Load Contents], "Salvage")
Video showing master data vs the formula numbers:
Best Answer
-
The system "Created" column, while it may appear to be a value in your local time zone, is in fact recorded in UTC. I am in US Eastern Daylight Time (UTC-4), so if I try to reference that column and say "count everything created yesterday," it's going to count everything created at 8pm or later two days ago, up until 7:59pm yesterday. My numbers are going to be off!
Set up a 'Record a Date' automation that fires off each time a row is created, and populate another date column. 'Record a Date' records the date according to the regional settings of the sheet owner. Then use that column in your formula instead of the system "Created" date.
Also, if you wouldn't mind, check out my idea for fixing this and give it an up vote!
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Answers
-
The system "Created" column, while it may appear to be a value in your local time zone, is in fact recorded in UTC. I am in US Eastern Daylight Time (UTC-4), so if I try to reference that column and say "count everything created yesterday," it's going to count everything created at 8pm or later two days ago, up until 7:59pm yesterday. My numbers are going to be off!
Set up a 'Record a Date' automation that fires off each time a row is created, and populate another date column. 'Record a Date' records the date according to the regional settings of the sheet owner. Then use that column in your formula instead of the system "Created" date.
Also, if you wouldn't mind, check out my idea for fixing this and give it an up vote!
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
@Jeff Reisman Thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!