Help! I am getting "you've entered too many arguments for this function- any ideas??

KCALDERON5894

New Member
Joined
Mar 3, 2014
Messages
7
Help. I am getting "you've entered too many arguments for this function". Does anyone know how to add more? I am trying to use: =IF(C5<1000001,C15,IF(C5<2000001,C17,IF(C5<3000001,C18,C19,C20,C21))) for the $1.5M , $4M & $5M option but it won't let me add C16, C20 & C21 for column one.
B13
C13
A14
Options
$1,000
A15
$1,000,000
$1,100
A16
$1,500,000
$1,265
A17
$2,000,000
$1,430
A18
$2,500,000
$1,640
A19
$3,000,000
$1,850
A20
$4,000,000
$2,250
A21
$5,000,000
$2,650

<tbody>
</tbody>
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
going through your formula

if C5 < 1,000,001 then be C15 else
If C5 < 2,000,001 then be C17 else
if C5< 3,000,001 then be C18 else be C19


You then have C20 and C21 at the end, which are your invalid arguments, what are you trying to do at the end?


Help. I am getting "you've entered too many arguments for this function". Does anyone know how to add more? I am trying to use: =IF(C5<1000001,C15,IF(C5<2000001,C17,IF(C5<3000001,C18,C19,C20,C21))) for the $1.5M , $4M & $5M option but it won't let me add C16, C20 & C21 for column one.
B13C13
A14Options$1,000
A15$1,000,000$1,100
A16$1,500,000$1,265
A17$2,000,000$1,430
A18$2,500,000$1,640
A19$3,000,000$1,850
A20$4,000,000$2,250
A21$5,000,000$2,650

<tbody>
</tbody>
 
Upvote 0
Hello,

The IF function only accepts 3 arguments, Value, if value is true, if value is false. If you exceed the amount of "'," (only three accepted per IF) you will get this error. you cannot just put C20,C21 and expect Excel to assume what your are asking for. The formula will need to go to another If funtion to get what you want.

Let me know if this helps, if not, please explain further your needs of the formula.
 
Upvote 0
going through your formula

if C5 < 1,000,001 then be C15 else
If C5 < 2,000,001 then be C17 else
if C5< 3,000,001 then be C18 else be C19


You then have C20 and C21 at the end, which are your invalid arguments, what are you trying to do at the end?
I am trying to modify someone else's formula ... the formula that was there before was =IF(C5<1000001,C15,IF(C5<2000001,C17,IF(C5<3000001,C18,C19))) and it worked but now I need to add options for $1,500,000 (C16) and the $4,000,000 option (C20) and $5,0000,000 (C21) C5 is where the required Limit will be selected and I want it to calculate the cost. I just don't know how to modify it now that I need to have 7 different options. Any help would be appreciated!
 
Upvote 0
i am trying to modify someone else's formula ... The formula that was there before was =if(c5<1000001,c15,if(c5<2000001,c17,if(c5<3000001,c18,c19))) and it worked but now i need to add options for $1,500,000 (c16) and the $4,000,000 option (c20) and $5,0000,000 (c21) c5 is where the required limit will be selected and i want it to calculate the cost. I just don't know how to modify it now that i need to have 7 different options. Any help would be appreciated!

=IF(C5>=1000000,LOOKUP(C5,{1000000,1500000,2000000,3000000,4000000,5000000},C15:C20),0)

Adjust to suit.
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,854
Members
449,051
Latest member
excelquestion515

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