I have excel sheet and I want do a sum formula with dynamic starting cell.

Copper Contributor

I have excel sheet and I want do a sum formula with dynamic starting cell.

for example, in payment column row number 6 I want the ending cell in sum formula is row number 6 in value column and the starting cell will be dynamic by going up number of cells mentioned beside "Payment Cycle in Months".

 

#DateValuePayment Payment Cycle in Months3
131/01/202210    
228/02/202220    
331/03/202230    
430/04/202240    
531/05/202250    
630/06/202260    
731/07/202270    
831/08/202280    
930/09/202290    
1031/10/2022100    
1130/11/202220    
1231/12/202230    
1331/01/202340    
1428/02/202350    
1531/03/202360    
1630/04/202370    
1731/05/202380    
1830/06/202390    
1931/07/2023100    
1 Reply

@KHTT74 

Assuming #6, column payment equals cell D7;

=SUM(OFFSET(C7,-G1,,G1))