IFERROR Too few arguments

mactoolsix

Board Regular
Joined
Nov 30, 2010
Messages
105
Excel 2010
My formula:
=(AF$8*AF$7)-SUM(AK$5:AK10)-AL10 creates a #VALUE ! error due to AL10 being a blank cell. If I change AL10 to a value it will fill the column with "0.00", and then the next column with zeros also, which I'm trying to avoid simply to present a cleaner spreadsheet.

I was going to reformat the column as CUSTOM 0;;;@ which then hides zeros, but that also deletes the 2 decimal places in that column.

I tried this formula:
=IFERROR((AF$8*AF$7)-SUM(AK$5:AK10)-AL10),"") to blank out the error, however it has too few arguments.
Is there a simple way to add an argument to this, which would make the IFERROR function work?

Thanks, Mike
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi,

You just had an extra bracket:

=IFERROR((AF$8*AF$7)-SUM(AK$5:AK10)-AL10,"")

Edit: you also don't need the first bracket set:

=IFERROR(AF$8*AF$7-SUM(AK$5:AK10)-AL10,"")
 
Last edited:
Upvote 0
I was going to reformat the column as CUSTOM 0;;;@ which then hides zeros, but that also deletes the 2 decimal places in that column.

FYI you could have used 0.00;;;@
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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