Formula Help

lecxez

New Member
Joined
Jan 3, 2005
Messages
47
I am trying to insert the "IFERROR" into the following formula ( =C4*(1+C5/C6)^(C6*C7 ) to correct a #DIV/0! error, but try as I might am unable to do so. Can anyone help me? I am using Excel 2007.

Robert
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Try...

=IFERROR(C4*(1+C5/C6)^(C6*C7 ),"")

Alternatively, you can use the following formula instead...

=IF(N(C6),C4*(1+C5/C6)^(C6*C7 ),"")

In the first formula, the full calculation is always carried out before determining whether there's an error. Whereas, in the second formula, the calculation only takes place when C6 doesn't equal 0. So, technically, the second formula is more efficient.

Hope this helps!
 
Upvote 0
you have not explained what you want to evaluate as an error, and what your result should be if it is not. But here is a guess:

Code:
=C4*(1+iferror(C5/C6,0))^(C6*C7 )
 
Upvote 0
Domenic and Jerry; Thank you both for the answers to my formula problem, all examples worked. Domenic your explanation of your example was also very helpful in helping me to understand the logic required. Thanks again

Robert
 
Upvote 0

Forum statistics

Threads
1,214,590
Messages
6,120,423
Members
448,961
Latest member
nzskater

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