ozbeachbum
Board Regular
- Joined
- Jun 3, 2015
- Messages
- 237
- Office Version
- 2021
- Platform
- Windows
Hi all,
I am endeavouring to sum every nth row where it matches a criteria in another column.
I have tried the following formula with the result #N/A.
=SUMPRODUCT((MOD(ROW(D3:D19)-3,3)=0)*(C2:C19="CBD"),(D3:D19))
I was hoping that it would sum the amount in every THIRD row in column D where it matched the criteria in column C "CBD"
Attach worksheet example.
Any assistance would be greatly appreciated.
Cheers,
Dave.
I am endeavouring to sum every nth row where it matches a criteria in another column.
I have tried the following formula with the result #N/A.
=SUMPRODUCT((MOD(ROW(D3:D19)-3,3)=0)*(C2:C19="CBD"),(D3:D19))
I was hoping that it would sum the amount in every THIRD row in column D where it matched the criteria in column C "CBD"
Attach worksheet example.
Any assistance would be greatly appreciated.
Cheers,
Dave.
mod row criteria.xlsx | |||
---|---|---|---|
G | |||
10 | |||
Sheet1 |