Hello,
I have two dates and an amount field, I want to break the revenue into each month. I have a formula
=(IF(AND($B2>=D$1,$A2<=DATE(YEAR(D$1),MONTH(D$1)+1,0)),MIN($B2,DATE(YEAR(D$1),MONTH(D$1)+1,1))-MAX($A2,D$1),0)/($B2-$A2))*$C2
It breaks down the revenue incorrectly across the months. I...