Sum every other Column using Spill

Finalfight40

Active Member
Joined
Apr 24, 2018
Messages
273
Office Version
  1. 365
Platform
  1. Windows
Hi All

I have a table similar to below. I am currently using the formula's in Column J. This works well summing Columns B, S, F & H and also allows me to insert more columns in the middle. However when i want to insert rows, i have to drag the formula down.

I was wondering if there is a way with the new spill feature if i can modify to formula so that i will not have to drag the formula down anymore when inserting new rows. For example in cell L4 but still allowing me to add columns in the middle.

Hope this makes sense.

Booking (6).csv
BCDEFGHIJKL
3Current FormulaNot Like this
4123456781616
5234567892020
61010101044
Sheet2
Cell Formulas
RangeFormula
L4:L6L4=B4:B6+D4:D6+F4:F6+H4:H6
J4:J6J4=SUMPRODUCT(--(MOD(COLUMN(B4:I4)-COLUMN(B4), 2)=0), B4:I4)
Dynamic array formulas.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
I do not understand the purpose of your formulas because those below the first row are accessing cells outside of the data area. Perhaps there was something in your spreadsheet XL2BB selection does not show.

In any case, you can test converting your columns A:K into a table. Mark the whole area and hit Ctrl-T. After that if you add a new data below, the table extends itself automatically, including copying of the formulas.

J.Ty.
 
Upvote 0
I had not considered turning this into a table. I was playing around with spilling everything so i guess i got caught up with the idea.

Thanks
 
Upvote 0

Forum statistics

Threads
1,223,632
Messages
6,173,472
Members
452,516
Latest member
archcalx

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