I cant get the TODAY function to work in this script.
=COUNTIFS({Quality Inspection System (Failures) Range 2}, "01-05204", {Date}, >=TODAY(-90), {Date}, <TODAY())
I am new to writing scripts and am kind of stumbling about. I have used the TODAY function once on another sheet and it worked. I have tried the Smartsheet formulas examples page without any luck.
Best Answers
-
Try using a SUMIFS instead...
=SUMIFS({Other Sheet SUM RANGE}, {Other Sheet PRODUCT NUMBER COLUMN}, "01-05204", {Other Sheet DATE COLUMN}, >=TODAY(-90), {Other Sheet DATE COLUMN}, <TODAY())
-
It has a learning center, training options, and other various resources. Definitely a great place to start. I personally have also gained a lot of knowledge through this community as well.
Answers
-
What is it doing vs what should it be doing?
-
Hello. So I found that my original script I listed isn't going to do what I want it to do.
I am trying to have a sheet look at another database sheet and every time it comes across a part number it will add up the total in the inventory cell. and to look back 90 days.
Is this script that SmartSheets is using similar to anything else so I can look at a course or learn more about what I am trying to do?
-
Try using a SUMIFS instead...
=SUMIFS({Other Sheet SUM RANGE}, {Other Sheet PRODUCT NUMBER COLUMN}, "01-05204", {Other Sheet DATE COLUMN}, >=TODAY(-90), {Other Sheet DATE COLUMN}, <TODAY())
-
Thanks. I will give that a try.
-
It works. Thank you so much for the help.
Is there a resource for learning more about scripting?
-
It has a learning center, training options, and other various resources. Definitely a great place to start. I personally have also gained a lot of knowledge through this community as well.
-
Here's another excellent resource.
I hope that helps!
Have a fantastic weekend!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
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
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!