#1   Report Post  
Junior Member
 
Posts: 5
Default Sum cells

I have data in column D1 all the way down and need to sum this. I need to sum it every three. The first group is easy, sum(d1:d3) results in E1, sum(d4:d6) results in E2, I need this to happen all the way down. I know it can be done because I've done it before but have forgotten how to, can anyone help?
  #2   Report Post  
Senior Member
 
Location: Philippines
Posts: 161
Default

Quote:
Originally Posted by baileyn3 View Post
I have data in column D1 all the way down and need to sum this. I need to sum it every three. The first group is easy, sum(d1:d3) results in E1, sum(d4:d6) results in E2, I need this to happen all the way down. I know it can be done because I've done it before but have forgotten how to, can anyone help?
On column F, input a series of numbers divisible by 3 starting from zero (F1=0, F2=3, F3=6, F4=9, etc.)

Then on E1:

=SUM(OFFSET($D$1,F1,0,3,1))

Drag this formula all the way down.
__________________
Asobi Wa Owari Da
  #3   Report Post  
Banned
 
Posts: 6
Default

So you do want to count rather than sum? Your formula will already do that. If it isnt producing the result expected then it suggests that it is failing to count customers you think should be included.

Perhaps this could be the reult of leading/trailing spaces in the A column customer name cells?

You need to check your data. Incidentally, the following will do what your original formula did but it doesnt require array entering:

=SUMPRODUCT--A3:A249=Customer x,--C3:C2490.25
  #4   Report Post  
Senior Member
 
Location: Belo Horizonte, Brazil
Posts: 170
Thumbs up

Quote:
Originally Posted by baileyn3 View Post
I have data in column D1 all the way down and need to sum this. I need to sum it every three. The first group is easy, sum(d1:d3) results in E1, sum(d4:d6) results in E2, I need this to happen all the way down. I know it can be done because I've done it before but have forgotten how to, can anyone help?
Dear baileyn3, Good Evening.

I built this formula to solve your question.

=SUM(INDIRECT(CONCATENATE("$D"&(ROW()+(ROW()-1)*2)&":"&"$D"&((ROW()+(ROW()-1)*2)+2))))

Put it on E1.
Copy it down simply.

.
__________________
I hope it can help you.

Best regards,
Marcilio Lobão
---------------------------
Belo Horizonte, Brazil
  #5   Report Post  
Banned
 
Posts: 6
Default

What the formula will do is count the number of customers with a value 0.25. If you want to Sum then try this instead doesnt require array entering:

=SUMPRODUCT--A3:A249=Customer x ,--C3:C2490.25,C3:C249
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
Excel: match two cells in one sheet to two cells in another and return a third cells value Spence Excel Worksheet Functions 3 February 13th 11 05:33 AM
join data in multiple cells when adjoining cells match criteria ?? angiec50 Excel Worksheet Functions 1 October 6th 09 10:27 AM
Cells won't change font color or show hi-lighted cells in document ROBIN Excel Discussion (Misc queries) 1 March 27th 08 09:39 PM
display a range of cells editible cells based on matching date Miki Excel Worksheet Functions 0 October 10th 07 03:27 PM
Setting of input cells as blue font and formula cells as black fon Sunnyskies Excel Discussion (Misc queries) 2 May 14th 07 05:27 PM


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