+ Reply to Thread
Results 1 to 6 of 6

Weekdays, I wish!

  1. #1
    Registered User
    Join Date
    06-16-2008
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    72

    Weekdays, I wish!

    My spreadsheet is as such:
    A1 expects a date (in my case always the first of the month).
    A2 is a formula - A1+1 and so forth. When I enter a date e.g. 1-6-08
    then obviously it will display 31 days. I have it set so it displays day/date.
    Is there a way to grey out weekends or not display themat all?
    Or do I have to enter all the dates manually?
    PS I am sorry if this is a stupid question but I am new to Excel.

    Thanks in advance
    Alan

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    You could "white out" the weekend dates using conditional formatting.

    Select A1:A31 and then

    Format > conditional formatting > "formula is" from dropdown and in the box....

    =WEEKDAY(A1,2)>5

    select white font.

    Alternatively you can use WORKDAY formula from Analysis ToolPak add-in

    Put 1st of month in A1 (format as mmm-yy)

    in A2 use this formula

    =WORKDAY(A$1-1,ROWS(A$2:A2))

    format as date and copy down column

  3. #3
    Registered User
    Join Date
    06-16-2008
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    72
    You people are terrific!!!
    thankyou so much
    Alan

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    I use a similar method as described, but amend the formula in the last 3 cells so that a date is displayed only if there is a 29th,30th or 31st in that particular Month
    Attached Files Attached Files
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    06-16-2008
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    72
    Roy, that is exactly what I wanted! When I opened the example you posted, it automatically translated everything in to Swedish for me! I just copied your hard work into my spreadsheet.
    Thankyou so much!
    Alan

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Quote Originally Posted by AlanWade
    Roy, that is exactly what I wanted! When I opened the example you posted, it automatically translated everything in to Swedish for me! I just copied your hard work into my spreadsheet.
    Thankyou so much!
    Alan
    Glad it helped. i didn't realise I could translate to Swedish!

+ 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