Summarize numbers from every third column

Gabriell

New Member
Joined
Jan 9, 2017
Messages
20
Office Version
  1. 365
  2. 2007
Platform
  1. Windows
Hi Guys,

I have a huge excel table with 100+ columns and I'd like to summarize only the values from every third column.
There is a solution for this? I summarized one by one but almost every day new columns are added and I have to extend the formula after each change.

Thank you in advance!
Gabor
 

Attachments

  • excel.PNG
    excel.PNG
    11.4 KB · Views: 15

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Maybe
Excel Formula:
=SUMPRODUCT((MOD(COLUMN(B2:DA2)-1,3)=0)*(B2:DA2))
 
Upvote 0
This will pick up new columns as they are added, needs office 365 / excel 2021.
Book1
ABCDEFGHIJ
215254752169
336121172233182211
Sheet3
Cell Formulas
RangeFormula
A2:A3A2=SUM(INDEX(2:2,,SEQUENCE(,MATCH(1E+100,2:2),4,3)))
 
Upvote 0
This will pick up new columns as they are added, needs office 365 / excel 2021.
Book1
ABCDEFGHIJ
215254752169
336121172233182211
Sheet3
Cell Formulas
RangeFormula
A2:A3A2=SUM(INDEX(2:2,,SEQUENCE(,MATCH(1E+100,2:2),4,3)))
It works, I use Office 365.
Thank you for the quick suport! :)
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Maybe
Excel Formula:
=SUMPRODUCT((MOD(COLUMN(B2:DA2)-1,3)=0)*(B2:DA2))
I use Office 365.
This solution works as well. Thank you!
 
Upvote 0
I use Office 365.
Thanks for that, If you update your Account details (or click your user name at the top right of the forum) helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’) Saves us from having to ask everytime ;)
 
Upvote 0
This will pick up new columns as they are added, needs office 365 / excel 2021.
Book1
ABCDEFGHIJ
215254752169
336121172233182211
Sheet3
Cell Formulas
RangeFormula
A2:A3A2=SUM(INDEX(2:2,,SEQUENCE(,MATCH(1E+100,2:2),4,3)))
I received an error at the 3rd row. What could be the problem?
1637513237682.png
 
Upvote 0
You haven't edited it correctly from the example, although it would appear that you understand how it works. I've made some changes based on the screen capture that you've provided. Enter this one into F5 then fill down.
Excel Formula:
=E5-SUM(INDEX(5:5,,SEQUENCE(,(MATCH(1E+100,5:5)-8)/4,12,4)))
 
Upvote 0
You haven't edited it correctly from the example, although it would appear that you understand how it works. I've made some changes based on the screen capture that you've provided. Enter this one into F5 then fill down.
Excel Formula:
=E5-SUM(INDEX(5:5,,SEQUENCE(,(MATCH(1E+100,5:5)-8)/4,12,4)))
Yes, you've right. I've just noticed before you replied me. :) It works excellent!
Thank you again!
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,190
Members
452,616
Latest member
intern444

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