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
- Smartsheet Customer Resources
- 63.6K Get Help
- 403 Global Discussions
- 215 Industry Talk
- 455 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 56 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives