IFS statement with a date from another cell
Hi,
I am trying to create a formula with dates that will change each month to the start and end date of the new month, so I was hoping that I could link the start and end dates to a cell in the Smartsheet which have the correct dates and will be easy to update rather than changing each formula each month, but when trying to link to a cell, the formula keeps returning an "#UNPARSEABLE" error.
This is my current formula that I would like to automate - this formula currently works, but needs to be manually updated monthly:
=COUNTIFS({Parent}, 0, {End Date FY25}, <=DATE(2024, 10, 30), {End Date FY25}, >=DATE(2024, 10, 1), {Team Name FY25}, Team@row, {Status}, <>"Complete", {Status}, <>"On Hold")
I would like to make the formula something like:
=COUNTIFS({Parent}, 0, {End Date FY25}, <=DATE([end date]1), {End Date FY25}, >=DATE([Start date]1), {Team Name FY25}, Team@row, {Status}, <>"Complete", {Status}, <>"On Hold"))
OR
=COUNTIFS({Parent}, 0, {End Date FY25}, <=DATE(end date@row), {End Date FY25}, >=DATE(Start date@row), {Team Name FY25}, Team@row, {Status}, <>"Complete", {Status}, <>"On Hold"))
Answers
-
Try this:
……………………., {End Date}, @cell >= DATE(YEAR(TODAY()), MONTH(TODAY()), 1), {End Date}, @cell <= IFERROR(DATE(YEAR(TODAY()), MONTH(TODAY()) + 1, 1), DATE(YEAR(TODAY()) + 1, 1, 1)) - 1, ……………………..
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 416 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!