Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Calculate No of Days between Teams within Month

$
0
0

Hi All,

 

I have the attached sample data and would like calculate the no of days a property is with repairs and no of days its with the allocations team within the month. I have manually calculated the values for Days with Repair and Days with Allocations which is also in the attached sample file Required_Result Tab

 

Logic:

No of Days with Repairs - Void Start date to Accepted by Allocations

No of Days with Allocations - Accepted by Allocations to Let date

 

Example:
Void Start Date - 2015-08-13
Accepted by Allocations - 2015-09-03
Let Date - 2015-11-05

 

In the above Days with Repairs in August is from 2015-08-13 to 2015-08-31 i.e 19 days. During this period the property is with repairs  so Days with Allocations in August is 0.

The property is with repairs in September for 3 days and accepted by allocations on 2015-09-03. No days with allocations in September is 27 ie 2015-09-03 to 2015-09-30

 

Similarly we keep calculating till the property is let ( Let Date)

 

 

Thanks

Jag


Viewing all articles
Browse latest Browse all 4999

Trending Articles