#1   Report Post  
Al Ramirez
 
Posts: n/a
Default Summing a column

Example: I have data in column A1 through A95 and I only want to sum every
other cell how do I do that without getting an error message. The sum cell
would be A97.
Al
  #2   Report Post  
Domenic
 
Posts: n/a
Default

To sum every other cell, starting with the first one, try...

=SUMPRODUCT(--(MOD(ROW(A1:A95)-ROW(A1)+0,2)=0),A1:A95)

If you want to sum every other cell, starting with the 2nd cell, change
+0 to +1.

Hope this helps!

In article ,
"Al Ramirez" <Al wrote:

Example: I have data in column A1 through A95 and I only want to sum every
other cell how do I do that without getting an error message. The sum cell
would be A97.
Al

  #3   Report Post  
Max
 
Posts: n/a
Default

One way ..

Try in A97: =SUMPRODUCT(--(MOD(ROW(A1:A96),2)=1),A1:A96)

--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Al Ramirez" <Al wrote in message
...
Example: I have data in column A1 through A95 and I only want to sum every
other cell how do I do that without getting an error message. The sum

cell
would be A97.
Al



  #4   Report Post  
Ashish Mathur
 
Posts: n/a
Default

Hi,

Try this. In cell A 97 array enter (Ctrl+Shift+Enter)

SUM(IF(MOD(A1:A95,2)=0,A1:A95))

This will sum up the even rows in the range. To sum up odd rows, replace
the 2 in the MOD function with 1

Regards,

"Al Ramirez" wrote:

Example: I have data in column A1 through A95 and I only want to sum every
other cell how do I do that without getting an error message. The sum cell
would be A97.
Al

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
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 4 July 14th 05 09:15 PM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
How to group similar column titles together???? vrk1 Excel Discussion (Misc queries) 2 April 30th 05 12:17 AM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
Auto Skipping and protected cells Dave Peterson Excel Discussion (Misc queries) 6 January 27th 05 11:35 PM


All times are GMT +1. The time now is 07:06 PM.

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

About Us

"It's about Microsoft Excel"