Adding a range with an empty cell

Ultimate Selector

Board Regular
Joined
Dec 15, 2013
Messages
153
I have a dynamic data input that at times has empty cells. Could be just one or more cells.
I simply want to auto sum or add up each row of numbers up and down. However, it wont add because when there is no data it is represented as (-) dash.
How do I get around this so it will ignore these cells with a dash? See example table.

Thanks for any help in resolving this issue for me!

2-Jan12345678
13420043--972733
23422646--994637
3374389504--625396455
45560328--1546657
5--------------
6142165512177--157136
7223723543--9137
8353826849--9538

<colgroup><col style="mso-width-source:userset;mso-width-alt:1442;width:31pt" width="41"> <col style="mso-width-source:userset;mso-width-alt:1373; width:30pt" width="39" span="8"> </colgroup><tbody>
</tbody>
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
You can select A1to A9 (which includes a blank cellfor the total)....then click on autosum !
Then drag cell A9 across as far as required.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,524
Messages
6,114,117
Members
448,549
Latest member
brianhfield

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