Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-10-2015, 12:51 PM
piper7971 piper7971 is offline count if or countifs how do I do it? Windows Vista count if or countifs how do I do it? Office 2007
Advanced Beginner
count if or countifs how do I do it?
 
Join Date: Jul 2010
Posts: 38
piper7971 is on a distinguished road
Default count if or countifs how do I do it?

Hi!
Yesterday, someone help me with a formula which is working super.
Now I realized that I need to count the cells which I applied a conditional formatting. I know this can only be accomplish with Vba but I don't want to use it. So I was thinking if count if or ifs can help me. The problems is I have tried and is not working. Here is what I want

I have this for the conditional formatting to turn the cell red
=AND($A5<>"",$G5<0.7)



Is it possible to count all the cells in a row A5:A44<>"",G5:G44<.07 that meet the same conditions?

Thanks for always helping
Liz
Reply With Quote
  #2  
Old 06-11-2015, 02:14 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline count if or countifs how do I do it? Windows 7 64bit count if or countifs how do I do it? Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Yes
personally I would suggest =SUMPRODUCT((a5:a44<>"")*(g5:g44<0.7))
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 06-11-2015, 09:35 AM
piper7971 piper7971 is offline count if or countifs how do I do it? Windows Vista count if or countifs how do I do it? Office 2007
Advanced Beginner
count if or countifs how do I do it?
 
Join Date: Jul 2010
Posts: 38
piper7971 is on a distinguished road
Default

The formula works but I just realized that since this is to count grades and I need to count the grades that are >.70 but <than .79 to get how many students got a C grade, the formula you gave me counts >.70 and above. I tried playing around and used this

=(SUMPRODUCT((A5:A44="EE")*(G5:G44>0.77*(G5:G44<0. 79))))

but for some reason is counting all everything between 70 and 79 even though the A5:A44 or doing something else because is giving me a wrong counting
Reply With Quote
  #4  
Old 06-11-2015, 09:49 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline count if or countifs how do I do it? Windows 7 64bit count if or countifs how do I do it? Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Perhaps =SUMPRODUCT((A5:A44="EE")*(G5:G44>0.77)*(G5:G44<0. 79))
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #5  
Old 06-11-2015, 10:14 AM
piper7971 piper7971 is offline count if or countifs how do I do it? Windows Vista count if or countifs how do I do it? Office 2007
Advanced Beginner
count if or countifs how do I do it?
 
Join Date: Jul 2010
Posts: 38
piper7971 is on a distinguished road
Default

NOPE, I uploaded a dummy . Can you check?
Attached Files
File Type: xlsx DUMMY2.xlsx (19.1 KB, 7 views)
Reply With Quote
  #6  
Old 06-11-2015, 11:36 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline count if or countifs how do I do it? Windows 7 64bit count if or countifs how do I do it? Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

I think I already asked you ro read the proposed solutions carefuly before stating " doesn't work". ( see the placing of parenthesis in my last post which you did not follow)



  • Your solution in I8 does NOT meet the requirements (D8 is empty)
  • In G17 you try to find numbers that are AT THE SAME TIME larger than 0.9 and smaller than 0.1, which is clearly impossible.
  • I suppose you meant >0.9 and <=1. There are thus only TWO who meet the conditions
  • See attached with solutions with blue background
Attached Files
File Type: xlsx Copy of DUMMY2.xlsx (19.9 KB, 11 views)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #7  
Old 06-11-2015, 12:48 PM
piper7971 piper7971 is offline count if or countifs how do I do it? Windows Vista count if or countifs how do I do it? Office 2007
Advanced Beginner
count if or countifs how do I do it?
 
Join Date: Jul 2010
Posts: 38
piper7971 is on a distinguished road
Default

I am sorry, You are right!! Thks!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
count if or countifs how do I do it? COUNTIFS returning Value Error ubns Excel 1 04-16-2015 02:00 PM
Need help building COUNTIFS solution 676nova Excel 9 02-27-2015 12:50 PM
COUNTIFS Help Needed OTPM Excel 2 04-09-2014 08:32 AM
count if or countifs how do I do it? Countifs and Sumproduct Algo Excel 6 11-13-2012 07:44 AM
countifs? sonyaturpin Excel 1 05-23-2012 08:29 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:46 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft