I need the below formula to input the cost in column A based on the start month, in column C, and the number of periods in column B.
the formula in column D (m1) = =IFERROR(INDEX($A236,MATCH($C236,D$235,0)),0)
the formula in column E (m2) = =IFERROR(IF(D243=0,(INDEX($A243,MATCH($C243,E$235,0))/$B243),D243),0)
I do not want to exceed the total in column A. I hope I explained that correctly.
the formula in column D (m1) = =IFERROR(INDEX($A236,MATCH($C236,D$235,0)),0)
the formula in column E (m2) = =IFERROR(IF(D243=0,(INDEX($A243,MATCH($C243,E$235,0))/$B243),D243),0)
I do not want to exceed the total in column A. I hope I explained that correctly.
m1 | m2 | m3 | m4 | m5 | m6 | m7 | m8 | m9 | m10 | m11 | m12 | |||
29,647 | 2 | m3 | $ - | $ - | $ 14,824 | $ 14,824 | $ 14,824 | $ 14,824 | ||||||
3,330 | 5 | m5 | $ - | $ - | $ - | $ - | $ 666 | $ 666 | ||||||
2,191 | 3 | m2 | $ - | $ 2,191 | $ 2,191 | $ 2,191 | $ 2,191 | $ 2,191 | ||||||
978 | 4 | m4 | $ - | $ - | $ - | $ 245 | $ 245 | $ 245 | ||||||
$ - | $ 2,191 | $ 17,015 | $ 17,259 | $ 17,925 | $ 17,925 | $ - | $ - | $ - | $ - | $ - | $ - |