Forum Discussion
SubhasisB
Jul 06, 2022Copper Contributor
Sumproduct with Offset to get Ytd Value
Hi All, I am trying to fetch the Ytd value of Volume and Value in the attached excel sheet in column AL & AM, so that if i change the input value in row AM1 then Ytd Volume and Value till that month...
- Jul 06, 2022
That could be
=SUMPRODUCT( B5:INDEX($B5:AK5, 3*ROUNDUP( MATCH(AM$1,$B$1:AK$1,0)/3, 0) )* (MOD( COLUMN( B5:INDEX( $B5:AK5, 3*ROUNDUP( MATCH(AM$1,$B$1:AK$1,0)/3, 0) ) ) - COLUMN($A$3)-1,3) = 0) )
for Volume and =1, =2 at the end for Value and Unit.
SubhasisB
Jul 07, 2022Copper Contributor
Thanks, it really works fine.
Thank You so much.
Thank You so much.
SergeiBaklan
Jul 07, 2022MVP
SubhasisB , you are welcome