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.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!