Too Few Arguments Error

mcgonma

Board Regular
Joined
Nov 2, 2011
Messages
162
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
I have the following formula that, when I add one more cell to it, I get an error message that "You've added too few arguments for this function". But as soon as I delete "CR3," after "CM3" the formula works.

=IF(COUNTIFS(AM3,AO3,AT3,AU3,AY3,BG3,BK3,BO3,BP3,BQ3,BR3,BT3,BU3,BW3,BY3,CC3,CG3,CH3,CM3,FALSE),"YES","-")
 
The contiguous range will not work for me because columns AX-DI represent a complete set of identification criteria about a person that I'm looking to see if they are met; so for each column within AX-DI, if the person does meet the criteria of the respective column the formula returns a result of "FALSE".


So now, what I am looking to do with the formula in AF is find people who meet a specific subset of criteria from within the larger set in AX-DI. In this particular example, the subset is the criteria of columns BA,BC,BH,BI,BL,BU,CC,CD,CF,CG,CJ,CL,CN,CR,CV,CW,DC
 
Upvote 0

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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