Countifs for today calculation
Hi there! I'm trying to bring items from multiple sheets to populate a metric sheets. Basically, I would need a hand to bring the following data to count how many check box items have been modified on the last 7 days and more than 7 days. This check box row items can be level 2 or 3, the column name is Level.
Count ifs last 7 days:
Checkbox is marked, on level 2 and 3 rows. (Hierarchy)
if modified is on the last 7 days from today.
Count ifs more than 7 days:
Checkbox is marked, on level 2 and 3 rows. (Hierarchy)
if modified is more than 7 days from today
Thank you!
Answers
-
Hello @Jbro,
You can use the TODAY() function for both, I don't know if you want them combined into 1 formula or not, here are the 3 different ones you can try.
=COUNTIFS(Modified@row, =TODAY(-7), Hierarchy@row, =1)
=COUNTIFS(Modified@row, <TODAY(-7), Hierarchy@row, =1)
Combined:
=COUNTIFS(Modified@row, <=TODAY(-7), Hierarchy@row, =1)
-
Hi Erik, can the Hierarchy work if I am sourcing from another sheet? Sorry forgot to mention that detail.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!