Configuring (TODAY() Function
Hi Community,
I'm trying to create a formula that if [Column 2]@row is within the last 7 days of the Created@row, it will calculate the SUM of [Column 2]@row,
I tried the below, but I see that it also gives me the same information if created would be in the future
(I added a test date column and put the [created test] date in the future, and it also gave me the SUM)
So if a row is added today, it will show the data from today, but I only want it to show if Created is more than 7 days ago.
=SUMIF(TODAY(-7), <=Created@row, [Column 2]@row)
Please assist.
Thank you!
Best Answers
-
Try this instead...
=IF(Created@row >= TODAY(-7), [Column 2]@row)
Really though, if you are using the Created column that is automatically entering the date/timestamp for when the row is created, it shouldn't matter what the formula does with dates that are in the future because the Created column will never have a future date in it.
-
Hi Paul,
just removed the <.
Thank you!
Answers
-
Try this instead...
=IF(Created@row >= TODAY(-7), [Column 2]@row)
Really though, if you are using the Created column that is automatically entering the date/timestamp for when the row is created, it shouldn't matter what the formula does with dates that are in the future because the Created column will never have a future date in it.
-
-
Hi Paul,
just removed the <.
Thank you!
-
@A Rose Yuppers. Happy to help and glad you got it figured.
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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!