#DIV/0 Question/help

easybpw

Active Member
Joined
Sep 30, 2003
Messages
437
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Is there a way to construct the formula below so that when E$15 is 0 that this #DIV/0 does not happen? I would prefer it to just be blank or return a result of 0 and not this error. Can my formula be changed so I can achieve this?

=((F9*3)+(H9*2)+(J9*1)+(L9*1)+(N9*2)+(P9*0.25)+(R9*-1)+(T9*5)+(V9*0.2)+(X9*3))/E$15


Thanks,

Bill
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Try:

=IF(E15,((F9*3)+(H9*2)+(J9*1)+(L9*1)+(N9*2)+(P9*0.25)+(R9*-1)+(T9*5)+(V9*0.2)+(X9*3))/E$15,0)
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,573
Members
449,089
Latest member
Motoracer88

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