Reputation: 589
=countif('Sheet2'!$K$6,$AD25)+countif('Sheet2'!$K$13,$AD25)+countif('Sheet2'!$K$20,$AD25)
+countif('Sheet2'!$K$27,$AD25)+countif('Sheet2'!$K$34,$AD25)+countif('Sheet2'!$K$41,$AD25)
+countif('Sheet2'!$K$48,$AD25)+countif('Sheet2'!$K$55,$AD25)
This is what I have so far, and I am wondering if there is a more eloquent way to approach this.
Every week, we fill it out one by one, but since this is ongoing process, after we complete row 55, I would need to add +countif('Sheet2'!$K$62,$AD25)
to the formula, which isn't really efficient.
Is there more efficient way? What I would imagine is something along of
countif('Sheet2'!$K$mod(???, 7)=0,$AD25)
but can't really figure it out.
Upvotes: 2
Views: 881
Reputation: 1
A Simple solution would be to Use the UNIQUE()
and COUNTIF()
formulas
UNIQUE(A2:A)
ARRAYFORMULA(COUNTIF(A:A,D2:D10))
I'm using ARRAYFORMULA()
to propagate the COUNTIF()
formula to the rest of the range.
Upvotes: 0
Reputation: 1
like this:
=QUERY(FILTER(A6:A, MOD(ROW(A6:A)-ROW(A6), 7)=0),
"select Col1,count(Col1)
where Col1 is not null
group by Col1
label count(Col1)''", 0)
Upvotes: 3