Ombir
Active Member
- Joined
- Oct 1, 2015
- Messages
- 433
Hi,
I'm not good at complex formulas. I want to calculate the difference between two dates in hh:mm format excluding weekands and Holidays range. Tried Networkdays.Intl but not avail so far.
Input format:
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Start Date
[/TD]
[TD]End Date
[/TD]
[/TR]
[TR]
[TD]
<colgroup><col width="165"></colgroup><tbody>
[TD="class: xl66, width: 165, align: right"]May 19, 2017 11:07:43 AM
[/TD]
</tbody>[/TD]
[TD][TABLE="width: 165"]
<colgroup><col width="165"></colgroup><tbody>[TR]
[TD="class: xl66, width: 165, align: right"]May 22, 2017 11:07:26 PM
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 165"]
<colgroup><col width="165"></colgroup><tbody>[TR]
[TD="class: xl66, width: 165, align: right"]May 19, 2017 11:07:43 AM[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 165"]
<colgroup><col width="165"></colgroup><tbody>[TR]
[TD="class: xl66, width: 165, align: right"]May 29, 2017 11:07:26 AM[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Holidays can be assumed on May 21,2017, May 25,2017 and weekend as Sat-Sun.
I would really appreciate if anybody can help with me formula without using helper column.
Thanks
I'm not good at complex formulas. I want to calculate the difference between two dates in hh:mm format excluding weekands and Holidays range. Tried Networkdays.Intl but not avail so far.
Input format:
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Start Date
[/TD]
[TD]End Date
[/TD]
[/TR]
[TR]
[TD]
<colgroup><col width="165"></colgroup><tbody>
[TD="class: xl66, width: 165, align: right"]May 19, 2017 11:07:43 AM
[/TD]
</tbody>
[TD][TABLE="width: 165"]
<colgroup><col width="165"></colgroup><tbody>[TR]
[TD="class: xl66, width: 165, align: right"]May 22, 2017 11:07:26 PM
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 165"]
<colgroup><col width="165"></colgroup><tbody>[TR]
[TD="class: xl66, width: 165, align: right"]May 19, 2017 11:07:43 AM[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 165"]
<colgroup><col width="165"></colgroup><tbody>[TR]
[TD="class: xl66, width: 165, align: right"]May 29, 2017 11:07:26 AM[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Holidays can be assumed on May 21,2017, May 25,2017 and weekend as Sat-Sun.
I would really appreciate if anybody can help with me formula without using helper column.
Thanks