#DIV/0 Question/help

easybpw

Active Member
Joined
Sep 30, 2003
Messages
411
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

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
64,745
Office Version
  1. 365
Platform
  1. Windows
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)
 

easybpw

Active Member
Joined
Sep 30, 2003
Messages
411
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Thanks, just what I was hoping for.

Bill
 

Forum statistics

Threads
1,172,016
Messages
5,878,749
Members
433,369
Latest member
Applewood

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
Top