CountIfs / OR Function for Sheet Summary Formula
Hello,
I am trying to create a sheet summary formula that counts status columns if it meets the following criteria. However, I using this OR function doesn't work:
=COUNTIFS(Status:Status, "1. Qualification", OR(Status:Status, "2. Proposal / Tender", OR(Status:Status, "3. Waiting for Deposit")))
Is there way to achieve this as the formula above pulls back: Invalid Data Type
Thanks for your help.
Best Answer
-
Try this:
=COUNTIFS(Status:Status, OR(@cell = "1. Qualification", @cell = "2. Proposal / Tender", @cell = "3. Waiting for Deposit"))
Answers
-
@justdan2 Your formula is missing the reference @cell as in =COUNTIFS(Status:Status, @cell="1. Qualification",... and I think you only need one OR in it.
-
Hi Razetto, thanks for your comments. I've updated the formula which now does not return an error but returns '0', despite there being 2 x "1. Qualification" and 33x "Proposal / Tender" values.
I've checked the spellings and both are correct. Is there anything missing?
-
Try this:
=COUNTIFS(Status:Status, OR(@cell = "1. Qualification", @cell = "2. Proposal / Tender", @cell = "3. Waiting for Deposit"))
-
Hi @justdan2 ,
Give this a try. =COUNTIF(Status:Status, OR(@cell = "1. Qualification", @cell = "2. Proposal / Tender", @cell = "3. Waiting for Deposit"))
Hope this helps.
Dave
-
Did this work for anyone?
Does this work in a Sheet summary scenario?
=COUNTIF(Status:Status, OR(@cell = "1. Qualification", @cell = "2. Proposal / Tender", @cell = "3. Waiting for Deposit"))
-
@Debbie C. It should work. Have you tried it and come across an issue?
-
Thanks for the follow up. 10 minutes after I asked the question, I rebuilt the function and it worked.
-
Thanks Paul, that revised formula worked for me.
-
Happy to help. 👍️
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