Dynamic Sum of values in every fourth row

Ozzie2842

New Member
Joined
Jan 16, 2009
Messages
35
I am using Excel 2007. I have a table with department names and the number of employees in each department. Currently, I'm using the formula =SUM(C12,C16,C20,C24,C28,C32,C36,C40,C44). However, if another section is added to the database I have to update each formula. I'm looking for a way to get my totals no matter how many sections I add to the table.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
can you add a new column and set it up to be like:

A .| B
1 value | Blank
2 value | Blank
3 value | Blank
4 value | =A4
5 value | Blank
6 value | Blank
7 value | Blank
8 value | =A8

then from there do a sum of column B? and if you needed to add more values to column A you just keep adding formula in column B to every 4th cell?

i know there's a cleaner method but that's an option
 
Last edited:
Upvote 0
The response from screwdriver worked perfectly. I also discovered that it will work with named ranges. Thanks for your help, this will save me time and a lot of work.

Ozzie
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,844
Members
452,948
Latest member
UsmanAli786

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