ISERROR question

Canes70

New Member
Joined
May 27, 2004
Messages
8
How can i get ISERROR to work with this formula?

=IF($AK$165="yes",((AF69/Y69)+(AG69/Y69)+(((AH69/$AH$23)*AJ69)/Y69)),(AF69/Y69)+(AG69/Y69)+(((AH69/AH$146)*AJ69)/Y69))
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
try this
=IF($AK$165="","",IF($AK$165="yes",((AF69/Y69)+(AG69/Y69)+(((AH69/$AH$23)*AJ69)/Y69)),(AF69/Y69)+(AG69/Y69)+(((AH69/AH$146)*AJ69)/Y69)))
 
Upvote 0
Sometimes it's easier to test for what causes the error, rather then the error itself..

In this case, deviding by 0 causes the error.
You have 3 cells in that formula that would cause the error if they are blank or 0.

Also, your structure can be slightly improved since both the True and False results are exactly the same Except AH23 for True, AH146 for False

Try

Code:
=IF(OR(Y69=0,$AH$23=0,$AH$146=0),"",(AF69/Y69)+(AG69/Y69)+(((AH69/IF($AK$165="yes",$AH$23,AH$146))*AJ69)/Y69))

Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,626
Members
452,933
Latest member
patv

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