#### neilme

##### New Member
What is wrong with this formula, it says I've entered too many functions when I put in the first zero, without the zero it does not calculate correctly.

=IF(\$BJ13="Y",0,\$BK13*W13,IF(BU\$9<\$BM13,0,IF(BU\$9<\$BM13,0,((BU\$9-\$BM13)/365)*\$BS13)))

### Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Code:
``IF(\$BJ13="Y",0,\$BK13*W13,``

Because at this point in the formula, you already have a TRUE value and a FALSE value.

What are you trying to do exactly?

G'day Neilme,

Your formula does contain too many arguments. The IF statement works like this:
Code:
``IF(something is true, then perform this action, if false perform this action)``

The comma separates each argument, as in my example above.

Applying this to your formula, your IF statement does not make sense; in fact, here is the first part of your formula, which is a complete IF statement:
Code:
``=IF(\$BJ13="Y",0,\$BK13*W13)``
However, instead of closing the formula, you include more IF statements. You will need to give us a run-down of what your formula is trying to do before we can probably give any advice to fix your formula.

Regards,

Mitch

Hi,

Perhaps you want this:

=IF(\$BJ13="Y",\$BK13*W13,IF(BU\$9<\$BM13,0,((BU\$9-\$BM13)/365)*\$BS13))

Ron

Post message deleted - same answer as Ron's

Regards,

Mitch

Replies
2
Views
146
Replies
12
Views
251
Replies
4
Views
73
Replies
3
Views
362
Replies
6
Views
373

1,211,960
Messages
6,105,078
Members
447,946
Latest member
silentcarl

### 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.

### Which adblocker are you using?

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

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