You are here:

Excel/Summation of values in columns


Please tell me a range based formula to substitute the following :

A1+G1+N1+U1+AB1+AI1+AP1 and to put this in the cell AW1.
The range of values is A1:AU1

Repeating : I want to sum values in every 7th column using a range instead of manual SUM as shown above.

Please help me

You can use the MOD function to identify the columns for every 7th value.

=MOD(A1:AU1, 7) = 0

That will collect all the values except for A1 which is NOT in one the 7th columns, that column must be added manually.  The result in AW1 would be:

=A1 + SUMPRODUCT(--(MOD(COLUMN(A1:AU1),7)=0),A1:AU1)
About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here


All Answers

Answers by Expert:

Ask Experts


Jerry Beaucaire


Excel Formulas, macros, automation. Microsoft Excel MVP - 2010. Code site with free code snippets and techniques:


Microsoft Excel MVP - 2010. I have my own extensive Excel help/code site: ===================== I have been offering free assistance as an Excel aid on many web sites for many years: ( - JBeaucaire) ======== ( - JBeaucaire) ======= ( - jbeaucaire)

Bachelor's Degree from Azusa Pacific University in Mathematics and Music Composition

Awards and Honors
Microsoft Excel MVP 2010

©2017 All rights reserved.