countifs() what the 5th argument is used for

lezawang

Well-known Member
Joined
Mar 27, 2016
Messages
1,805
Office Version
  1. 2016
Platform
  1. Windows
Hi
Why countifs() has 5 arguments? what is the 5th one is used for? It works perfect without the 5th one? I just want to find an example when I have to use the 5th one. Thank you so much.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
The number of arguments is dependent on how many criteria you have. If you only have one criteria you would use [FONT=&quot]criteria_[/FONT][FONT=&quot]range1, criteria1 only. If you have 3 you would use [/FONT][FONT=&quot]criteria_[/FONT][FONT=&quot]range1, criteria1 though [/FONT][FONT=&quot]criteria_[/FONT][FONT=&quot]range3, criteria3[/FONT]
Code:
[COLOR=#2F2F2F][FONT=&quot]COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2]…)[/FONT][/COLOR]
 
Upvote 0
Where do you see 5 arguments in countifs ?
By default it has 2 criteria.
Then there are optional arguments that come in pairs, you can't have the 3rd without also the 4th.
 
Upvote 0
Sorry i meant

Countifs(criteria_range1, criteria1, criteria_rang2, criteria2, criteria_rang3)

These are 5 arguments. Why criteria_range3 ?
 
Upvote 0
please ignore my questions. I can enter criteria_range3 and criteria 3 and more criteria_range
I did not use the screw bar to go to see more. i thought it stop at criteria_range3.
Thank you all
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top