• 100% Satisfaction Guarantee

The-PC-Guy, Computer Manager
Category: Microsoft Office
Satisfied Customers: 1874
Experience:  20 years experience providing remote computer support
62934938
Type Your Microsoft Office Question Here...
The-PC-Guy is online now

# I am trying to find a way to use countif in excel where

### Resolved Question:

Hi. I am trying to find a way to use countif in excel where I need the range to be one cell but across multiple sheets. i.e. so 20 individual cells are looked at to find the number of criteria in those 20 cells.
Can you help?
Thanks
Mark
Submitted: 1 year ago.
Category: Microsoft Office
Expert:  The-PC-Guy replied 1 year ago.
My Name is***** will be helping you today. If I provide good service, you may ask for The-PC-Guy in your question title for your future needs.

can you please send an example sheet of what you are trying to do?
Customer: replied 1 year ago.

I am trying to use the countif function across multiple sheets.

So the range will included specific cells on each sheet, approximately 30 sheets. So each cell on each sheet will have a yes or no in it, and I want the function to count how many yes's and how many no's, for example.

Thanks

Mark

Expert:  The-PC-Guy replied 1 year ago.
well you could do something like this

=SUM(Sheet1!COUNTIF(A1:A12,"yes"),COUNTIF(Sheet2!A1:A12,"yes"))

and so on, just add each sheet needed. Adjust the range for whatever range you want to use.

its a bit cumbersome, but that is the only way to do it with a single formula.

The only other way to do it would be to use a VBA macro, which I could create for you if you would like

let me know which option works best for you.

---------------------------------------------------------------------------------------------------------------

let me know if you have any questions, problems, or concerns

PLEASE DON'T FORGET TO RATE SO I AM PAID FOR MY TIME

IT WILL NOT COST ANYTHING ADDITIONAL BEYOND THE VALUE OF YOUR QUESTION

TO RATE, CLICK THE SMILEY FACES BENEATH THIS ANSWER

Do not rate negatively, instead continue the conversation with me so I can address any of your concerns

---------------------------------------------------------------------------------------------------------------

if you have any questions in the future you can visit my profile

and ask a question right in my box,

also you can put "PC Guy only" in your question title if you want to get to me.
Customer: replied 1 year ago.

Hi

I have tried this equation however it comes back with an error. I am not looking at a range on each sheet just specific cells, so the range would not be A1:A12, it would just be A1 on every sheet. Is that why the equation is not working. The range is the same cell across 30 sheets?

Thanks

Mark

Expert:  The-PC-Guy replied 1 year ago.
can you send me your sheet?

It is hard to fix your error if I cannot see the specific error being generated.
Customer: replied 1 year ago.

Example spread sheet attached. All I want to do is count how many yes's and how many no's across a number of sheets. So the summary sheet shows the number of yes's and number of no's.

Attachment: 2015-05-11_122340_example.xlsx

Expert:  The-PC-Guy replied 1 year ago.
i have added the appropriate formulas to your sheet so you can see how they are constructed, I know it looks tedious, but this is the only way to do it without using VBA or macros.

https://www.sendspace.com/file/1ako5x

if you have any questions let me know
The-PC-Guy, Computer Manager
Category: Microsoft Office
Satisfied Customers: 1874
Experience: 20 years experience providing remote computer support

### What Customers are Saying:

• My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer
< Previous | Next >
• My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer
• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C.
• This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex
• Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP
• I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin
• Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther
• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C.

• ### jstinehelfer

#### Satisfied Customers:

23
A+ Comptia Certified computer repair
< Previous | Next >

### jstinehelfer

#### Satisfied Customers:

23
A+ Comptia Certified computer repair

### JasonJames122

#### Satisfied Customers:

0
I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business

### Jess M.

#### Satisfied Customers:

233
Computer Software Specialist for more than 10 years

### KamilAnwar1

#### Satisfied Customers:

119
8+ Years of Experience. / CCNA (S), CCNA (W), CCNA (RS), MCTS, MBCs.

### Chris L.

#### Satisfied Customers:

111
Certified Expert with over 10 years experience.

### James K.

#### Satisfied Customers:

110
Technical Director of IT Company

### IT Miro

#### Satisfied Customers:

56
Bachelor's Degree in Information Technology, Microsoft Certified Professional