How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask The-PC-Guy Your Own Question

The-PC-Guy
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

http://www.justanswer.com/computer/expert-1expert-2rulethemall/

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
The-PC-Guy and 5 other Microsoft Office Specialists are ready to help you

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.
 
 
 

Meet The Experts:

 
 
 
  • jstinehelfer

    jstinehelfer

    Information Systems Manager

    Satisfied Customers:

    23
    A+ Comptia Certified computer repair
< Previous | Next >
  • http://ww2.justanswer.com/uploads/JS/jstinehelfer/2012-6-6_215146_Pictureofme1.64x64.png jstinehelfer's Avatar

    jstinehelfer

    Information Systems Manager

    Satisfied Customers:

    23
    A+ Comptia Certified computer repair
  • http://ww2.justanswer.com/uploads/JA/JasonJames122/2011-12-16_135647_jasonjamesheadshotweb.64x64.jpg JasonJames122's Avatar

    JasonJames122

    Computer Enthusiast

    Satisfied Customers:

    0
    I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business
  • http://ww2.justanswer.com/uploads/JE/jessmagz/2012-6-6_18129_jm.64x64.jpg Jess M.'s Avatar

    Jess M.

    Computer Support Specialist

    Satisfied Customers:

    233
    Computer Software Specialist for more than 10 years
  • http://ww2.justanswer.com/uploads/JA/JACUSTOMERf8udkdxk/2013-8-3_15150_323738101505074393259301621172992o.64x64.jpg KamilAnwar1's Avatar

    KamilAnwar1

    Office Specialist

    Satisfied Customers:

    119
    8+ Years of Experience. / CCNA (S), CCNA (W), CCNA (RS), MCTS, MBCs.
  • http://ww2.justanswer.com/uploads/SE/Seashore2011/2011-12-6_33418_111205223015.64x64.jpg Chris L.'s Avatar

    Chris L.

    Support Specialist

    Satisfied Customers:

    111
    Certified Expert with over 10 years experience.
  • http://ww2.justanswer.com/uploads/WI/Windowspcfix/2013-8-19_153826_ja12.64x64.jpg James K.'s Avatar

    James K.

    Consultant

    Satisfied Customers:

    110
    Technical Director of IT Company
  • http://ww2.justanswer.com/uploads/KR/krkljatorm/2012-6-24_153417_ITMiro.64x64.jpg IT Miro's Avatar

    IT Miro

    Computer Scientist

    Satisfied Customers:

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