COUNTIFS Referencing another sheet and pulling data from a specific time period
Hello,
I am trying to create a formula that will pull the number of times an entry was submitted for a specific location from another sheet, but I want to set the date it should start counting from and no end date. The data that the formula will compute I will then use as a reference cell for a chart I created on a dashboard.
So far I have this formula that I found here in the community site, but I am not sure if this would apply to my scenario specifically
=COUNTIFS({Sheet - Safety Inspection Submissions with Range 1}, "Sumner", AND(@Cell >= DATE(2020,06,22), @cell<=DATE(2021,03,31)))
Answers
-
=IF([Date]@row > DATE(2020/01/01), COUNTIF({Range}, {Criterion}), "")
-
Hi Gil,
Thank you for your help, but unfortunately that didn't work, unless I entered it incorrectly.
=IF([Date}@row> DATE(2020,06,22), COUNTIF({[Facility]:[Facility]},{Sheet - Safety Inspection Submissions with Range 1}, "Sumner")
Thanks
-
@Brenda Monroy If you want to set a start date and count everything after it, try something like this (just adjust the date to whenever you want to start the count in yyyy, mm, dd format)...
=COUNTIFS({Other Sheet Location Column}, "Specific Location", {Other Sheet Date Column}, @cell >= DATE(2020,06,22))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!