How do I add a column of numbers up to a blank row

vsakzer

New Member
Joined
Oct 13, 2016
Messages
2
I have to add data to a spreadsheet every day, and I leave a blank row between each day. I would to be able to add that column of numbers without changing the range manually.

See example:

1
2
3
6
4
5
6

<tbody>
</tbody>
15
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Row\Col
A​
B​
1​
XSUM
2​
1
3​
2
4​
3
5​
6
6​
4
7​
5
8​
6
9​
15
10​

In B2 enter and copy down:

=IF($A2="",SUM($A$2:A2)-SUM($B$1:B1),"")
 
Upvote 0
Row\Col
A​
B​
1​
XSUM
2​
1
3​
2
4​
3
5​
6
6​
4
7​
5
8​
6
9​
15
10​

<tbody>
</tbody>


In B2 enter and copy down:

=IF($A2="",SUM($A$2:A2)-SUM($B$1:B1),"")

That's cool!!! Never thought of that!!! Thanks

Now I have to add it into the formulas I have for averages and counts. How do I post part of the SS so you can see the formulas I am using?

<colgroup><col><col><col span="7"><col><col span="4"><col><col><col span="2"></colgroup><tbody></tbody>
 
Upvote 0

Forum statistics

Threads
1,221,525
Messages
6,160,326
Members
451,637
Latest member
hvp2262

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