Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2017, 08:17 AM
Jelmer Jelmer is offline Count only numbers in filtered column Windows Vista Count only numbers in filtered column Office 2013
Novice
Count only numbers in filtered column
 
Join Date: May 2017
Location: Netherlands/UK
Posts: 15
Jelmer is on a distinguished road
Default Count only numbers in filtered column

I have a problem. I have a worksheet with a in column A names, in column B team numbers and in the columns behind those names I have B's, M's, numbers and blanks. I want to be able to filter on the teams column and then count the amount of numbers in a certain column. So far I built this formula:



=(SUMPRODUCT(SUBTOTAL(3,OFFSET(GY10:GY1048576,ROW( GY10:GY1048576)-MIN(ROW(GY10:GY1048576)),,1)),--(GY10:GY1048576>1)))

But it sees the B's and the M's as a value greater than 1 aswell
How do I fix this?

I hope someone can help me!
Reply With Quote
  #2  
Old 05-15-2017, 08:21 AM
NBVC's Avatar
NBVC NBVC is offline Count only numbers in filtered column Windows 7 64bit Count only numbers in filtered column Office 2007
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

Try:

=SUMPRODUCT(SUBTOTAL(3,OFFSET(GY10:GY1048576,ROW(G Y10:GY1048576)-MIN(ROW(GY10:GY1048576)),,1)),(GY10:GY1048576>1)*I SNUMBER((GY10:GY1048576)))
Reply With Quote
  #3  
Old 05-15-2017, 09:00 AM
Jelmer Jelmer is offline Count only numbers in filtered column Windows Vista Count only numbers in filtered column Office 2013
Novice
Count only numbers in filtered column
 
Join Date: May 2017
Location: Netherlands/UK
Posts: 15
Jelmer is on a distinguished road
Default

Thank you for your quick reply!
It worked! (after I found out I had to remove 2 spaces because I got #NAME?)

Thank you very very much!
Reply With Quote
  #4  
Old 05-15-2017, 10:05 AM
NBVC's Avatar
NBVC NBVC is offline Count only numbers in filtered column Windows 7 64bit Count only numbers in filtered column Office 2007
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

ooops.... that's a forum glitch that added the space in "ISNUMBER". Sorry..
Reply With Quote
  #5  
Old 05-16-2017, 04:22 AM
Jelmer Jelmer is offline Count only numbers in filtered column Windows Vista Count only numbers in filtered column Office 2013
Novice
Count only numbers in filtered column
 
Join Date: May 2017
Location: Netherlands/UK
Posts: 15
Jelmer is on a distinguished road
Default

Doesn't matter, I figured it out

One more question: What would the formula be if I wanted to count the B's and M's in the same column with filters?
Reply With Quote
  #6  
Old 05-16-2017, 04:58 AM
NBVC's Avatar
NBVC NBVC is offline Count only numbers in filtered column Windows 7 64bit Count only numbers in filtered column Office 2007
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

Try:

Code:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(GY10:GY1048576,ROW(GY10:GY1048576) -MIN(ROW(GY10:GY1048576)),,1)),--((GY10:GY1048576="M")+(GY10:GY1048576="B")))
Reply With Quote
  #7  
Old 05-16-2017, 05:24 AM
Jelmer Jelmer is offline Count only numbers in filtered column Windows Vista Count only numbers in filtered column Office 2013
Novice
Count only numbers in filtered column
 
Join Date: May 2017
Location: Netherlands/UK
Posts: 15
Jelmer is on a distinguished road
Default

Thank you! Much easier to fix than I was thinking haha
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count only numbers in filtered column Count # of times "text" is in 1 column is specific date is in the other column ann.acornacchio Excel 4 12-31-2016 05:40 PM
Count only numbers in filtered column Sum the (filtered) remaining work column brentcfocus Project 3 03-21-2016 08:34 PM
Count only numbers in filtered column choose numbers from a set that must count up to 124 adragner Excel 1 12-30-2013 09:51 AM
Count only numbers in filtered column count w and write into another column in excel tomlam Excel 5 10-07-2012 06:09 AM
Count only numbers in filtered column Character count without numbers student Word 1 05-10-2012 01:10 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:15 PM.


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