Too many arguments (IF function)

mcwain

New Member
Joined
Aug 7, 2011
Messages
6
I'm not an expert, and have never used nested IF functions. Please could an expert help me.

This is what I need:
If F6 is greated than 0 (zero) then add the value of D6, if this statement is false, then I want the value 0 (zero). My formula will work this far

I also need: IF B6 is less than F6, I need the word "NIL" to come up, If this statement is false then I want the value of E6.

Below is my effort:

=IF(AND(F6>0,D6,0),B6<F6,NIL,E6)
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
The board software has truncated your formula. Try reposting it with spaces before and after any < or >
 
Upvote 0
I'm not an expert, and have never used nested IF functions. Please could an expert help me.

This is what I need:
If F6 is greated than 0 (zero) then add the value of D6, if this statement is false, then I want the value 0 (zero). My formula will work this far

I also need: IF B6 is less than F6, I need the word "NIL" to come up, If this statement is false then I want the value of E6.

Below is my effort:

=IF(AND(F6 > 0,D6,0),B6 < F6,NIL,E6)<F6,NIL,E6) div <>
 
Upvote 0
Maybe

=IF(B6 < F6,"Null",IF(F6 > 0,D6,0))<f6,"null",if(f6></f6,"null",if(f6>
 
Upvote 0
It came up null when wanted, however, I got a figure of 1344% no matter what figures I put in B6.

Better than I got though.

Anymore help would be appreciated
 
Upvote 0
Or more to the point, if:
the value in D6 is £300 it comes up with 3000%, when the value should be 100%
 
Upvote 0
Regarding the Maybe solution
when D6 is £74, for example, 7400% comes up. When D6 is £240 it comes up with 24000%, when the answer should have been 100%.

Any ideas
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,729
Members
452,939
Latest member
WCrawford

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