• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Formula for weekdays

IKHAN

Member
Hi ,

Any help ?

Looking for formula to extract ONLY Off hours between 2 given dates and times

Off hours Weekdays Mon 5pm to next day 9am
Off hours Weekend (Friday- 5pm to 9am Monday)

format of dates: m/d/yyyy h:mm

See attached file for ref.
 

Attachments

  • Test1.xlsx
    10 KB · Views: 5
Hello ,

Couldn't find needed in above link.

Need help with a FORMULA to extract Total number of OFF business hours from provided start and end time.

Weekday OFF business hours (mon -Fri ) 5pm - 9am
Weekend OFF business hours = Friday 5pm to monday 9AM

Test file attached
 

Attachments

  • Capture.JPG
    Capture.JPG
    76.6 KB · Views: 4
  • sample file.xlsx
    12 KB · Views: 1
Came across this formula,

Can this formula be converted to use DATEIFF instead of Networkdays.

Networkdays days doesn't work in THIRD PARTY APPLICATION

=ROUND((NETWORKDAYS(A3,B3)*8)-IF(WEEKDAY(A3,2)>=6,0,MIN(MAX(24*(MOD(A3,1)-"9:00"),0),8)) - IF(WEEKDAY(B3,2)>=6,0,MIN(24*MAX(("17:00"-MOD(B3,1)),0),8)),2)
 

Attachments

  • Test-Result-file-1.xlsx
    12.7 KB · Views: 3
Back
Top