Formula Help Please!

neilme

New Member
Joined
Jul 2, 2007
Messages
2
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)))
 

Some videos you may like

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
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?
 

N_Mitch

Board Regular
Joined
Jan 23, 2007
Messages
146
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
 

Ron Morris

Active Member
Joined
Oct 18, 2004
Messages
430
Hi,

Perhaps you want this:

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

Ron
 

Watch MrExcel Video

Forum statistics

Threads
1,123,268
Messages
5,600,620
Members
414,394
Latest member
mahendar

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
Top