hey,
I have a forecast of payments to be made, with the totals to be paid for the months listed in row 11, the dates are in row 2 (=EDATE(AM2,1)) formatted (mmm-yy)
I currently have the balance in B16
The following formula calculates the total to be paid in the current month.
=HLOOKUP(DATE(YEAR(TODAY()),MONTH(TODAY()),1),AJ2:PU11,10,FALSE)
What I would like is the formula to tell me how many months i can cover based on the value in B16 (after every payment the balance is reduced)
it would have to find the current month and then subtract it from the balance, then take the new balance and subtract it from the next month until there is insufficient balance then return the number of full payments that can be made.
This is as close as i got, but it only returns the value not the number of payments. its also not dynamic, i've input +1 to account for future dates but id like it to keep searching until insufficient thus not limiting it to 3 payment cycles:
=B16-HLOOKUP(DATE(YEAR(TODAY()),MONTH(TODAY()),1),AJ2:PU11,10,FALSE)-HLOOKUP(DATE(YEAR(TODAY()),MONTH(TODAY())+1,1),AJ2:PU11,10,FALSE)-HLOOKUP(DATE(YEAR(TODAY()),MONTH(TODAY())+3,1),AJ2:PU11,10,FALSE)
any ideas?
Thanks
I have a forecast of payments to be made, with the totals to be paid for the months listed in row 11, the dates are in row 2 (=EDATE(AM2,1)) formatted (mmm-yy)
I currently have the balance in B16
The following formula calculates the total to be paid in the current month.
=HLOOKUP(DATE(YEAR(TODAY()),MONTH(TODAY()),1),AJ2:PU11,10,FALSE)
What I would like is the formula to tell me how many months i can cover based on the value in B16 (after every payment the balance is reduced)
it would have to find the current month and then subtract it from the balance, then take the new balance and subtract it from the next month until there is insufficient balance then return the number of full payments that can be made.
This is as close as i got, but it only returns the value not the number of payments. its also not dynamic, i've input +1 to account for future dates but id like it to keep searching until insufficient thus not limiting it to 3 payment cycles:
=B16-HLOOKUP(DATE(YEAR(TODAY()),MONTH(TODAY()),1),AJ2:PU11,10,FALSE)-HLOOKUP(DATE(YEAR(TODAY()),MONTH(TODAY())+1,1),AJ2:PU11,10,FALSE)-HLOOKUP(DATE(YEAR(TODAY()),MONTH(TODAY())+3,1),AJ2:PU11,10,FALSE)
any ideas?
Thanks