A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
I think this is limitation in countif function. You may need to use other function to get the result.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, I need some help using SUM(COUNTIFS(. My question is regarding how to count multiple criteria per range, i do this regularly. The first multiple criteria per range i use {} with commas to separate criteria. for the 2nd multiple criteria per range, i use {} with a semicolon. I am having issue getting a third multiple criteria per range work...using the same as the 2nd one. Second question, is can i use a reference cell to do the {} info so i don't need to fix every time i have an adjustment?
=SUM(COUNTIFS('AC-RC invol percent data set'!$E:$E,">="&MonthSkilz!C$6,'AC-RC invol percent data set'!$E:$E,"<="&MonthSkilz!C$7,'AC-RC invol percent data set'!$D:$D,{"D","G","FN","FD"},'AC-RC invol percent data set'!$F:$F,"R-IV",'AC-RC invol percent data set'!$H:$H,{"Y";"N"},'AC-RC invol percent data set'!$C:$C,{"NE*";"NN-6374*";"AR*";"FG*"}))
For the last argument I want to put the {"NE*";"NN-6374*";"AR*";"FG*"} in another cell, as i use a similar formula in many rows, and want to change it once to the reference cell so whenever i need to adjust the spreadsheet, i can change it in a single cell to effect all my formulas...
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
I think this is limitation in countif function. You may need to use other function to get the result.
Thanks for the replay again. Unfortunately, No it is not what I am looking for.
I just want to COUNT whenever my ranges and criteria's that i call out are present. I know for the first multiple criteria range i use {} with commas separating and the 2nd i use {} with semicolons didn't know what i need to use for the 3rd or more criteria's and if i just keep using {} with semicolons.
I was hoping I could get an insight on that one... if there is a limit to how many multiple criteria i can search for ranges...
I am not permitted to share the sheet, trying to replicate it with a much simplier sheet didn't return any errors. for my sheet here are two formulas, only thing that changes is the last Criteria, and
=SUM(COUNTIFS('AC-RC invol percent data set'!$E:$E,">="&MonthSkilz!C$6,'AC-RC invol percent data set'!$E:$E,"<="&MonthSkilz!C$7,'AC-RC invol percent data set'!$D:$D,{"D","G","FN","FD"},'AC-RC invol percent data set'!$F:$F,"R-IV",'AC-RC invol percent data set'!$H:$H,{"Y";"N"},'AC-RC invol percent data set'!$C:$C,"NE*"))
This returns '18'
=SUM(COUNTIFS('AC-RC invol percent data set'!$E:$E,">="&MonthSkilz!C$6,'AC-RC invol percent data set'!$E:$E,"<="&MonthSkilz!C$7,'AC-RC invol percent data set'!$D:$D,{"D","G","FN","FD"},'AC-RC invol percent data set'!$F:$F,"R-IV",'AC-RC invol percent data set'!$H:$H,{"Y";"N"},'AC-RC invol percent data set'!$C:$C,{"NE*";"NN-6374*";"AR*";"FG*"}))
This returns '0', when i know for sure it should be 18 or greater... This leads me to think that when i get to the 3rd multiple criteria {} it is creating a problem...
I made this simple table and formula to test, and it seems it should work just fine...
=SUM(COUNTIFS(A5:A13,{"A","C"},B5:B13,{"Y";"N"},C5:C13,{"AA";"AB"},D5:D13,{"TE*";"M*"}))
Could you share us a test file to test formulas? Then we may have a try.
For sharing a sample workbook, upload to OneDrive or any other cloud drives. Then post a link here.