Hi,
Working an a budget template. And i want to make a formula that splites the amount into the correct months based on dates.
Currently i have following that works if the two dates are in 2025. but marked line with end date in 2026 is giving me problems.
Should give me 50.000 from july to December.
=IF(AND(Q$36>=MONTH($G39);$J$35>=YEAR($G39);Q$36<=MONTH($H39);$J$35<=YEAR($H39));$J39/(DATEDIF($G39;$H39;"M")+1);"")
Looking forward to your solution suggestions
Working an a budget template. And i want to make a formula that splites the amount into the correct months based on dates.
Currently i have following that works if the two dates are in 2025. but marked line with end date in 2026 is giving me problems.
Should give me 50.000 from july to December.
=IF(AND(Q$36>=MONTH($G39);$J$35>=YEAR($G39);Q$36<=MONTH($H39);$J$35<=YEAR($H39));$J39/(DATEDIF($G39;$H39;"M")+1);"")
Looking forward to your solution suggestions