You have entered too many arguments for the function?

RudeBoy

Active Member
Joined
Feb 2, 2003
Messages
431
Office Version
  1. 365
Platform
  1. Windows
I entered this:

=SUM(J7,J11,J15,J19,J23,J27,J31,J35,J39,J43,J47,J51,J55,J59,J63,J67,J71,J75,J79,J83,J87,J91,J95,J99,J103,J107,J111,J115,J119,J123,J127)


Can some one help with is there a limit I need to increase etc etc thanks
 
Last edited:

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Re: U have entered too many argumentsfor the function?

On a bit of research it seems that SUM has a limit of 30 references. A few instances that I've seen get around this, such as:
= sum(A1,A2,....A29) + sum(A30,A31.... A59) +....
Obviously if you have consecutive cells in a range then link the group with a colon, A1:A10.

Does that help?
 
Upvote 0
Re: U have entered too many argumentsfor the function?

=sumproduct($j$7:$j$127*(mod(row($j$7:$j$127),4)=3))
 
Upvote 0
Re: U have entered too many argumentsfor the function?

You could use this array formula. Be sure you enter it using ctrl+shift+enter, not just enter. If entered correctly you will see curly braces around the entire formula in the formula bar.

Code:
=SUM(IF(MOD(ROW($J$7:$J$127),4)=3,$J$7:$J$127))
 
Upvote 0
Re: U have entered too many argumentsfor the function?

Yes that worked Fantastic :-)

=SUM(J7,J11,J15,J19,J23,J27,J31,J35,J39,J43,J47,J51,J55,J59) + SUM(J63,J67,J71,J75,J79,J83,J87,J91,J95,J99,J103,J107,J111,J115,J119,J123,J127)
 
Upvote 0
Re: U have entered too many argumentsfor the function?

Give those other two proposals some consideration too as they require less work (and avoid that you may inadvertently miss a value).
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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