#1   Report Post  
Rebecca
 
Posts: n/a
Default Total formula

Hi
In B301 I need a formula that will add the contents of every 12th cell
starting at b22 and ending at b298. I am unsucessfully using
=SUMPRODUCT(C22:C296,--(MOD(ROW(C22:C296),12)+1=1))
What am I doing wrong?
Thanks!

  #2   Report Post  
bj
 
Posts: n/a
Default

A question you mentioned B2 to B298 but in your equation you use column C?
and mod of row 22 with 12 basis is 10

try instead

=SUM(IF(MOD(ROW(C22:C298),12)=10,C22:C298,""))
entered as an array (Control/Shift enter)

I was surprise that the sumproduct function would not work with the
correction to the mod section. but it didn't

Hi
In B301 I need a formula that will add the contents of every 12th cell
starting at b22 and ending at b298. I am unsucessfully using
=SUMPRODUCT(C22:C296,--(MOD(ROW(C22:C296),12)+1=1))
What am I doing wrong?
Thanks!

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
formula to calculate sales tax from total sales Deanna Excel Worksheet Functions 7 October 5th 05 08:57 PM
a formula to find total compound amount after given number of yea. ronan Excel Worksheet Functions 1 February 1st 05 08:15 PM
keep a running total of my formula results after each (F9) Souvien Excel Discussion (Misc queries) 1 January 23rd 05 01:59 AM
highlight cells to obtain total without using formula? rdavia Excel Discussion (Misc queries) 2 January 18th 05 05:29 PM
Total remaining formula jbsand1001 Excel Worksheet Functions 2 January 6th 05 04:17 PM


All times are GMT +1. The time now is 05:40 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"