Combine COUNTIFS with a date and row criterea
I have two formulas working independantly and now I am trying to combine the critera but I am not sure which formula to use.
Working formulas are:
=COUNTIFS({ARCHIVE of SEATTLE METRO AREA TRUCK SCHEDU Range 2}, >=DATE(2020, 1, 1), {ARCHIVE of SEATTLE METRO AREA TRUCK SCHEDU Range 2}, <=DATE(2020, 12, 31))
=COUNTIFS({ARCHIVE of SEATTLE METRO AREA TRUCK SCHEDU Range 1}, "A (South king cty)")
Basically I want to look in one row for a criteria (range 2) and then look in another row for a date range (range 1).
Maybe: =COUNTIFS({ARCHIVE of SEATTLE METRO AREA TRUCK SCHEDU Range 1}, "D (north seattle/king cty)", AND(COUNTIF({ARCHIVE of SEATTLE METRO AREA TRUCK SCHEDU Range 2}, >=DATE(2020, 1, 1), {ARCHIVE of SEATTLE METRO AREA TRUCK SCHEDU Range 2}, <=DATE(2020, 12, 31))))
Help!
Answers
-
Try this:
=COUNTIFS({ARCHIVE of SEATTLE METRO AREA TRUCK SCHEDU Range 1}, "A (South king cty)", {ARCHIVE of SEATTLE METRO AREA TRUCK SCHEDU Range 2}, >=DATE(2020, 1, 1), {ARCHIVE of SEATTLE METRO AREA TRUCK SCHEDU Range 2}, <=DATE(2020, 12, 31))
-
Thanks Paul! I had a corworker help me with my issue, I had a range selected instead of a row when I first wrote the formual (first section) so when combining them it did't work. Thanks for the response!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!