+ Reply to Thread
Results 1 to 3 of 3

Workday vs Weekend

  1. #1
    Registered User
    Join Date
    05-01-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    8

    Workday vs Weekend

    Hello everybody!
    I have dates in my table, I calculated them to find out which weekday is it.
    Now, I need formula that will give me the result :Workday or Weekend.
    I started with:
    =WEEKDAY(A2,1)
    =CHOOSE(WEEKDAY(B2),"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
    =IF(B2=2,"Workday","Weekend")
    and I don't know how to proceed with other days.
    I know that I need OR function, but don't remember how to use them together.

    Thank you for your help!

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Workday vs Weekend

    hi nelkin, welcome to the forum. you can actually shorten that to:
    =TEXT(A2,"dddd")

    assuming your weekends are sat & sun, then:
    =IF(WEEKDAY(A2,2)>5,"Weekend","Weekday")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    05-01-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Workday vs Weekend

    Thank You so much!!!
    You saved me a lot of time.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1