Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Summing cell totals across columns

In the same row, I need to sum cell totals across 60 columns. Each
cell total is an equidistant 4 columns to the right of the previous
cell total. The formula needs to reside in the same row in the last
column after all of the totals.


I have tried =sum(offset(A4:mm4,0,4)), but this doesn't work. (It sums

the totals, but also adds the data between the cell totals; perhaps I'm

not using this formula correctly?). Any suggestions?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Summing cell totals across columns

=SUMPRODUCT(--(MOD(COLUMN(A4:BM4),4)=1),A4:BM4)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
oups.com...
In the same row, I need to sum cell totals across 60 columns. Each
cell total is an equidistant 4 columns to the right of the previous
cell total. The formula needs to reside in the same row in the last
column after all of the totals.


I have tried =sum(offset(A4:mm4,0,4)), but this doesn't work. (It sums

the totals, but also adds the data between the cell totals; perhaps I'm

not using this formula correctly?). Any suggestions?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Summing cell totals across columns

Bob,
Thank you! Your recommended formula worked perfectly.
-Excelguy-

Bob Phillips wrote:
=SUMPRODUCT(--(MOD(COLUMN(A4:BM4),4)=1),A4:BM4)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
oups.com...
In the same row, I need to sum cell totals across 60 columns. Each
cell total is an equidistant 4 columns to the right of the previous
cell total. The formula needs to reside in the same row in the last
column after all of the totals.


I have tried =sum(offset(A4:mm4,0,4)), but this doesn't work. (It sums

the totals, but also adds the data between the cell totals; perhaps I'm

not using this formula correctly?). Any suggestions?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Summing values incolumns from row cell L7... Jay Excel Worksheet Functions 4 September 7th 06 02:31 AM
insert date Larry Excel Worksheet Functions 28 July 15th 06 02:41 AM
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM


All times are GMT +1. The time now is 01:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"