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

Need to count how many values of a list are between two other given values

$
0
0

Hi gurus, this is my problem: I need to count how many holidays are between two dates, I have a list of events with a start_date and end_date and another list with holidays. I'm ready counting the weekends, but I need to count the number of holidays and add this count to the events list.

 

Resuming, for every record in the events list, I need to see how many holidays are between start_date and end_date and put this count as another column in the record.

 

I'm confused with this, I think I need to do some kind of "for" loop and I can't think of any workaround for that. Probably I'm stuck and there's another simpler solution. 

 

Thanks in advice, aces...


Viewing all articles
Browse latest Browse all 4999

Trending Articles