how to add up columns with #DIV/0! in it

Marq

Well-known Member
Joined
Dec 13, 2004
Messages
914
Office Version
  1. 365
  2. 2007
Platform
  1. Windows
I have a column with totals in it, but some of the cells have the #DIV/0! in them...which prevents me from getting a total in the cell that sums up the column.

Is there a formula that I can use that will allow me to sum up entire column and disregaurd the #DIV/0! ????
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Domski

Well-known Member
Joined
Jan 18, 2005
Messages
7,292
You can use a formula like this:

=SUMIF(A1:A10,"<>#DIV/0!")

Hope it helps.
 

Marq

Well-known Member
Joined
Dec 13, 2004
Messages
914
Office Version
  1. 365
  2. 2007
Platform
  1. Windows
works perfect..thanx!!
 

Brian from Maui

MrExcel MVP
Joined
Feb 16, 2002
Messages
8,458
I have a column with totals in it, but some of the cells have the #DIV/0! in them...which prevents me from getting a total in the cell that sums up the column.

Is there a formula that I can use that will allow me to sum up entire column and disregaurd the #DIV/0! ????

Consider "fixing" the #DIV/0! error..... :biggrin:
 

Forum statistics

Threads
1,144,162
Messages
5,722,847
Members
422,460
Latest member
VBA_Noob01

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