Forum

Notifications
Clear all

Counting within blocks of data

4 Posts
3 Users
0 Reactions
75 Views
(@blackvan)
Posts: 30
Trusted Member
Topic starter
 

I have sheet1 with consecutive dates in column A (starting with a Monday) and numeric values alongside them in column B.

Each set of seven dates from each Monday to the following Sunday is considered a block for this exercise.

In sheet2 I have a list in column A of the dates corresponding to just the Sundays from sheet1. In column B I want to have the count of the non-zero cells in column B from the corresponding block in sheet1 that ends with the corresponding Sunday date.

What formula do I need that I can copy down in sheet2 column B to get all of the counts?

Thanks!

 
Posted : 17/08/2022 2:42 am
(@catalinb)
Posts: 1937
Member Admin
 

Hi Kevin,

Can you upload a sample file please?

Thank you

 
Posted : 19/08/2022 12:05 am
Riny van Eekelen
(@riny)
Posts: 1185
Member Moderator
 

Hi Kevin,

Perhaps something like in the attached file?

Riny

 
Posted : 19/08/2022 12:58 am
(@blackvan)
Posts: 30
Trusted Member
Topic starter
 

Thanks Riny!

 
Posted : 21/08/2022 1:47 am
Share: