Cross Reference countifs formula w/multiple criteria
I am trying to count if a dept name is matched then count 2 different criteria's in the same column (all in another sheet)
I can get it to count all of the approved but I can not get it to count both
This is what is working =COUNTIFS({Tracking Range 2}, "Dept", {Tracking Range 1}, "Approved")
How do I add the other criteria? "Pre-Approved"
Comments
-
Thank you.
I tried the first one before, it did not work. I probably missed something.
Your help is appreciated.
-
Hmm.. It may be that it won't work if just copy and paste since there are cross sheet references but the structure should work. Or maybe I missed something. The 2nd one worked for me when I set it up in a test scenario in my own sheets.
-
Thank you, the second one worked for me too.
if I add add another scenario to the equation it isn't working for me.
i am cross referencing another sheet.
find Dept(column1) and Q1(column2) then count all of the approved and preapproved
its not liking any way I write this.
-
=COUNTIFS({Tracking Range 2}, @cell = "Dept", @{Track Range3}, @cell ="Q1", {Tracking Range 1}, OR(@cell = "Approved", @cell = "Pre-Approved"))
Just a couple of minor tweaks... You were missing a comma between your first range and criteria, and the AND function for the additional range was unnecessary. I also added the @cell reference not because it is absolutely necessary, but because it's one of my little OCD quirks. Haha.
-
Thank you for your help. I really appreciate you letting me know where my issue was.
Sometimes looking at these too long will make you go blind
-
No worries. Happy to help.
I take regular "eye health breaks" (aka staring off into space) most days. Haha
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