IFERROR formula

janema

Board Regular
Joined
Nov 28, 2022
Messages
117
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2011
  5. 2010
Platform
  1. Windows
  2. Mobile
I know this is a simple formula, but it keeps telling me I have too many arguments. :( I just want the field to be blank if the result of this calculation is an error.

This is the calcuation:

=(G13-C13)/C13


I tried doing =IFERROR(G13-C13)/C13,"") and =IF(G13-C13)/C13=ISERROR,""), but no luck.

Any suggestions?
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
This got rid of the blank, but it wouldn't calculate correctly when there are values in those fields. I get a "FALSE" result.
You're absolutely right. In this case, the FALSE result means to us that there is no error in the formula (G13-C13)/C13. In message #10, the formula of awoohaw is absolutely correct. The formula =IF(ISERROR((G13-C13)/C13),"",(G13-C13)/C13) calculates correctly if there are values in those cells.
 
Upvote 0

Forum statistics

Threads
1,215,475
Messages
6,125,028
Members
449,205
Latest member
Eggy66

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