Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Formula Help Needed
Hi everyone,
Need some help. I'm sure this is a simple formula ... but I'm not Excel (or Smartsheets) savvy enough to figure it out.
I have a DATE column, and I have a FLAG column. If the date entered in the DATE column is more than 7 days in the past, I want the FLAG to appear in the flag column. If the DATE entered is less than 7 days in the past, then I want the flag to disappear.
Is this doable?
Thanks in advance for your help!
Comments
-
This might work - you need to put it in the flag column and make sure that Date1 is the date column you are referring to,
=IF(Today() > Date1+7, 1, 0)
-
You might need to adjust the +7 to plus 6 to get your tally of 7 days.
-
Hmmm... that did not work. It made the flag appear, no matter what date was in the date column.
-
Take the spaces out from around the > Bracket.
Here is a sample sheet with it working:
https://app.smartsheet.com/b/publish?EQBCT=e46474ea96954344b292fd634a785aad
Also: I made an adjustment so blank date fields do not have a flag...=IF(ISBLANK(Date5), "", IF(TODAY() > Date5 + 6, 1, 0))
-
Oh my goodness... I just realized my mistake in implementing the first suggested formula: I wasn't entering the row number for the DATE column. Derp.
Both of the formulas suggested are working. Thank you all for your help!
-
You're welcome!
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives