+ Reply to Thread
Results 1 to 8 of 8

help please to identify and display 'WEEKDAY' or 'WEEKEND'

  1. #1
    Registered User
    Join Date
    03-20-2013
    Location
    Yorkshire
    MS-Off Ver
    Excel 2007
    Posts
    17

    help please to identify and display 'WEEKDAY' or 'WEEKEND'

    I have a column (say A) of days of the week and I need an adjacent column to display whether each day is weekday (Mon, Tue,Wed,thurs,Fri) or Weekend (Sat or Sun). can anyone plase help? Thanks

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: help please to identify and display 'WEEKDAY' or 'WEEKEND'

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: help please to identify and display 'WEEKDAY' or 'WEEKEND'

    ...I have a column (say A) of days of the week ...
    What to you mean? Can you explain this a little more? Have you a number and you want to see which day is this?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: help please to identify and display 'WEEKDAY' or 'WEEKEND'

    Try this in B2:

    =IF(WEEKDAY(A2,2)>5,"Weekend","weekday")

    then copy down.

    Hope this helps.

    Pete

  5. #5
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: help please to identify and display 'WEEKDAY' or 'WEEKEND'

    Please try this logic.
    Attached Files Attached Files
    Please click 'Add reputation', if my answer helped you.

  6. #6
    Registered User
    Join Date
    03-20-2013
    Location
    Yorkshire
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: help please to identify and display 'WEEKDAY' or 'WEEKEND'

    Pete - thanks for your reply but my column A contains days as text (not as numbers 1-=7) and your formula gives no value when I copy this into B. Any suggestions
    Apologies - your formula works when I use the DATE (eg 01/09/2013) and not the text (eg SUNDAY).
    Last edited by vin1602; 09-06-2013 at 06:08 AM.

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: help please to identify and display 'WEEKDAY' or 'WEEKEND'

    Try this then:

    =IF(LEFT(A2)="S","Weekend","weekday")

    Hope this helps.

    Pete

  8. #8
    Registered User
    Join Date
    03-20-2013
    Location
    Yorkshire
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: help please to identify and display 'WEEKDAY' or 'WEEKEND'

    Perfect - many thanks for helping this novice!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Extracting data depending on whether a date is a weekday or weekend
    By weldo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-19-2012, 11:24 AM
  2. Replies: 2
    Last Post: 12-09-2011, 07:11 AM
  3. formula to identify weekend dates
    By Cathy Landry in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  4. [SOLVED] formula to identify weekend dates
    By Cathy Landry in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  5. formula to identify weekend dates
    By Cathy Landry in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

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