Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-30-2019, 05:32 AM
Greggey1 Greggey1 is offline Countif multiple same range Windows Vista Countif multiple same range Office 2016
Novice
Countif multiple same range
 
Join Date: Mar 2019
Posts: 10
Greggey1 is on a distinguished road
Default

Quote:
Originally Posted by bosco_yip View Post
Or…....................



=SUMPRODUCT(0+(LEN(B5:B14)>0)*(LEN(B5:B14)-LEN(SUBSTITUTE(B5:B14,"/",""))+1))

Regards
Bosco
That's very close. The only thing is if someone who enters a number not beginning with 9 I don't want it to count. Thanks for the help.
Reply With Quote
  #2  
Old 03-30-2019, 07:17 AM
xor xor is offline Countif multiple same range Windows 10 Countif multiple same range Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,103
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Maybe this one is better?
Attached Files
File Type: xlsx Multiple_Same_2.xlsx (10.2 KB, 10 views)
Reply With Quote
  #3  
Old 03-30-2019, 07:29 AM
Greggey1 Greggey1 is offline Countif multiple same range Windows Vista Countif multiple same range Office 2016
Novice
Countif multiple same range
 
Join Date: Mar 2019
Posts: 10
Greggey1 is on a distinguished road
Default

Now the sum changes with 9???/?? And 9???/??? But not with 9??? The opposite of the first formula. Really appreciate the help.
Reply With Quote
  #4  
Old 03-30-2019, 08:44 AM
bosco_yip bosco_yip is offline Countif multiple same range Windows 10 Countif multiple same range Office 2016
Novice
 
Join Date: Feb 2019
Location: Singapore
Posts: 7
bosco_yip is on a distinguished road
Default

Quote:
Originally Posted by Greggey1 View Post
That's very close. The only thing is if someone who enters a number not beginning with 9 I don't want it to count. Thanks for the help.
Then, the formula changed to

=SUMPRODUCT(ISNUMBER(1/(0+LEFT(B5:B14)=9))*(LEN(B5:B14)-LEN(SUBSTITUTE(B5:B14,"/",""))+1))

Regards
Bosco
Reply With Quote
  #5  
Old 03-30-2019, 09:36 AM
xor xor is offline Countif multiple same range Windows 10 Countif multiple same range Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,103
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

I will try once more.
Attached Files
File Type: xlsx Multiple_Same_4.xlsx (11.0 KB, 11 views)

Last edited by xor; 03-30-2019 at 06:41 PM. Reason: Uploaded new file.
Reply With Quote
  #6  
Old 03-30-2019, 11:07 AM
Greggey1 Greggey1 is offline Countif multiple same range Windows Vista Countif multiple same range Office 2016
Novice
Countif multiple same range
 
Join Date: Mar 2019
Posts: 10
Greggey1 is on a distinguished road
Default

Quote:
Originally Posted by xor View Post
I will try once more.
You are amazing. .....Thanks!!!
Reply With Quote
  #7  
Old 03-31-2019, 08:10 AM
Greggey1 Greggey1 is offline Countif multiple same range Windows Vista Countif multiple same range Office 2016
Novice
Countif multiple same range
 
Join Date: Mar 2019
Posts: 10
Greggey1 is on a distinguished road
Default

Quote:
Originally Posted by bosco_yip View Post
Then, the formula changed to

=SUMPRODUCT(ISNUMBER(1/(0+LEFT(B5:B14)=9))*(LEN(B5:B14)-LEN(SUBSTITUTE(B5:B14,"/",""))+1))

Regards
Bosco

Thank you!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Countif multiple same range COUNTIF with multiple criteria Marcia Excel 5 02-17-2019 08:16 AM
Countif multiple same range Use countif across multiple tabs for a column marconexcel Excel 6 02-21-2017 05:38 AM
Countif multiple same range Sumif with multiple sum range Haha88 Excel 6 10-29-2015 03:26 AM
Countif multiple same range multiple criteria and within a range? hhppyy Excel 1 07-17-2015 08:17 AM
Countif multiple same range Using range object to work with multiple columns kjworduser Word VBA 1 11-01-2013 03:03 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:53 AM.


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