Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 934

Forecasting revenue on a monthly base for tenant [closed]

$
0
0

I'm looking for a formula that can dynamically calculate the monthly revenue for a series of contracts by checking if the contract dates overlap with each month, then determining the number of overlapping days, and finally prorating the revenue based on these days.the formula I'm using is this =IF(OR($B5>EOMONTH(H$1,0),$C5<H$1), 0, $D5 * (MIN($C5,EOMONTH(H$1,0)) - MAX($B5,H$1)+1) / (EOMONTH(H$1,0)-H$1+1))below is a screen shoot of the input and the desired output

enter image description here


Viewing all articles
Browse latest Browse all 934

Trending Articles