Login|Contact Us
Question and Answer

Ask a Question, Get an Answer ASAP!

  • Ask A Question
  • Browse Answers
  • Meet The Experts
  • How JustAnswer Works

can I produce a countif formula that counts the number of

 
John D's Avatar
  • Answered by:John D
  • BS Degree in Engineering.
  • Positive Feedback: 100.0 %
  • Accepted Answers: 108
Verified Expert
in General

Recent Feedback

Positive
Quick Response and great help!
Positive
My question was answered and the response time was so quick...thank you!
Positive
Brilliant help after I was a real pain. Thanks so much - again.
Positive
Great!
Positive
very fast and awesome help
Positive
*****HIGHLY RECOMMENDED***** well worth the money saved me hours of work thank...
Positive
Thank you very much. Now I know a little more. It is a pain inserting the...
Positive
thanks for the prompt info
Positive
Thank you are you looking for work? jbarb1956us1@earthlink.net
Positive
very good advice

Customer Question

<p>can I produce a "countif" formula that counts the number of cells in a range by colour? i.e. cells D1:D300 have 140 orange, 100 red and 60 green and I wish to summarise. Many thanks</p><p> </p><p>Apologies, this is an Excel question</p>

 



Already Tried:
nothing

Submitted: 781 days and 3 hours ago.
Category: General
Value: £7.16
Status: CLOSED

Accepted Answer

Picture
Expert:  John D replied 781 days and 2 hours ago.

Hi,

 

Yes that can be done with a user defined function or macro.

 

Hope this helps. Let me know if you have any questions, and thank you for clicking Accept if you are satisfied with the solution

 

Expert TypeBS Degree in Engineering.
Category: General
Pos. Feedback: 100.0 %
Accepts: 108
Answered: 2/18/2011

Experience: Math, science and 25 years experience in computer programming

Ask this Expert a Question >
Customer replied 781 days and 2 hours ago.

Hi - thanks for this but are you able to let me know/illustrate how I can do this? Thanks Karen

Picture
Expert:  John D replied 781 days and 2 hours ago.

I am afraid that requires quite a bit of work. You will need first to accept my answer since it has addressed your original question, then open a new question with appropriate amount for doing the macro

 

 

 

 

Customer replied 781 days and 2 hours ago.

Hi - the first answer has been accepted so if you are able to outline the formula required it would be appreciated. Many thanks Karen

Picture
Expert:  John D replied 781 days and 2 hours ago.

Thanks Karen

 

I need your file so I can set up the macro on.

 

To do that, go to www.wikisend.com and upload the file there (no need to sign up). You will then get a page that has the download link and File ID. Copy the download link or the File ID and come back here and paste it in your reply.

 

If the file has sensitive information let me know before you upload it

 

 

Customer replied 781 days and 1 hours ago.

thanks but for some reason the upload won't work. I've tried to resolve the query in another way, rather than colours look up and group the values. I have managed for two:

 

=COUNTIF($G$10:$G$3112,">60")

=COUNTIF($G$10:$G$3112,"<0")

 

However, the ones I cannot get to work is the Countif for those that fall between 0-60 - could you please let me have the quick formula for that and hopefully it will resolve my whole issue and I can forget the macro for counting colours (for now). Thanks

Picture
Expert:  John D replied 781 days and 1 hours ago.

Ok, here you go

 

=COUNTIF($G10:$G$3112,">0")-COUNTIF($G$10:$G$3112,"<=60")

 

Hope this helps

 

Customer replied 781 days and 1 hours ago.

am really sorry but that is coming up with FALSE. is the above not a subtraction formula? I need to count the number of instances where the value falls between zero and 60

 

Picture
Expert:  John D replied 781 days and 1 hours ago.

Karen it should work if you have numbers in that range

 

Here is a sample file with the formula in the yellow cell

 

http://www.2shared.com/document/lhYzA1uw/countif.html

 

Picture
Expert:  John D replied 781 days and 1 hours ago.

Did that work?

 

 

Customer replied 778 days and 12 hours ago.

Hi - sorry for delay. I have no idea why but it's not working on my file. Have managed to upload my file to :

 

http://www.2shared.com/file/V9YjIZq4/11-02-18_RC_Governance_Logs_v1.html

 

If you can see why I've done it wrong again, if not I'll close out on this query and give up. Thanks

Accepted Answer

Picture
Expert:  John D replied 778 days and 4 hours ago.

Hi Karen

 

Here you go

 

http://www.2shared.com/file/68jZ9elp/11-02-18_RC_Governance_Logs_v1.html

(the download button is the blue button is at the bottom of the page)

 

The modified formula is in cell G3

 

Hope this helps

 

Expert TypeBS Degree in Engineering.
Category: General
Pos. Feedback: 100.0 %
Accepts: 108
Answered: 2/21/2011

Experience: Math, science and 25 years experience in computer programming

Ask this Expert a Question >
 
Tweet

241 Experts are Online Right Now

Ask Your Question Now
General Questions Date Submitted
Question 1 of 20The Internet and the World Wide Web are 3/18/2013
The following summary transactions occurred during 2011 for 3/18/2013
I believe my case has not been properly directed to the right 3/18/2013
I have met with the Inspector General at Fort Sill, given them 3/13/2013
You are the general manager of a large construction project. 3/12/2013
Hi. This question could be for specialistMike. I am always 3/11/2013
Can an S-Corp partner, of a CA general partnership receive 3/10/2013
11. The purpose of secondary trading is to: A. 3/8/2013
1. The European Monetary Union (EMU) which came into effect 3/8/2013
I would like to open a Roth IRA and am trying to decide where 3/5/2013
RSS
Next 10 >
Ask an Expert
Type Your Question Here...
characters left:

Top General Experts

See More Experts

In The News

Nbc
Washington Post
New York Times
Cnn
Learn More

How It Works

  • Ask an Expert
  • Get a Professional Answer
  • Ask Followup Questions
  • 100% Satisfaction Guarantee
Learn More
close
Find Expert answers related to your question.
Sign up using email
We will never post anything without your permission.
Already have an account? Sign in

Ask an Expert

Get a Professional Answer. 100% Satisfaction Guaranteed.
241 Experts are Online Now
Type Your Question Here...
characters left:
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.
Truste
Contact Us | Terms of Service | Privacy & Security | About Us
© 2003-2013 JustAnswer LLC