A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
In cell D2, enter this formula
=IF(OR(EOMONTH(D$1,0)<=$A2,EOMONTH(D$1,-1)>$B2),0,IF(TEXT(D$1,"mmyyyy")=TEXT($A2,"mmyyyy"),(30-DAY($A2)+1)*($C2/(ROUND(DAYS360($A2,$B2)/30,1))/30),IF(TEXT(D$1,"mmyyyy")=TEXT($B2,"mmyyyy"),($B2-EOMONTH(D$1,-1))*($C2/(ROUND(DAYS360($A2,$B2)/30,1))/30),$C2/ROUND(DAYS360($A2,$B2)/30,1))))
Copy and paste this down and to the right.