+ Reply to Thread
Results 1 to 7 of 7

Auto sum day and date without weekends

  1. #1
    Forum Contributor
    Join Date
    05-16-2018
    Location
    SG
    MS-Off Ver
    2013
    Posts
    217

    Auto sum day and date without weekends

    Hi

    I have a month and workweek indicated in Row 1. Can I check is there a way to auto calculate the day and date without including weekends when the value is keyed in cell A1.
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Auto sum day and date without weekends

    I inserted a row. With the value keyed into A1 this in A5 and filled across.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Is this what you had in mind?


    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    1
    2/15/2019
    2
    Feb WW08
    Feb WW09
    Mar WW10
    3
    M
    T
    W
    T
    F
    M
    T
    W
    T
    F
    M
    T
    W
    T
    F
    4
    18
    19
    20
    21
    22
    25
    26
    27
    28
    1
    4
    5
    6
    7
    8
    5
    2/18/2019
    2/19/2019
    2/20/2019
    2/21/2019
    2/22/2019
    2/25/2019
    2/26/2019
    2/27/2019
    2/28/2019
    3/1/2019
    3/4/2019
    3/5/2019
    3/6/2019
    3/7/2019
    3/8/2019
    Dave

  3. #3
    Forum Contributor
    Join Date
    05-16-2018
    Location
    SG
    MS-Off Ver
    2013
    Posts
    217

    Re: Auto sum day and date without weekends

    Hi Dave,

    Its something similar but the rows that i required to auto sum is in Row 3 to show the day (M, T, W, T, F) and in row 4 to show the 2 digit numeral of the date based on the month/WW keyed in the second row.

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Auto sum day and date without weekends

    Please try Key 18/2/2019 in A3, set custom format to dd
    Drag across > Autofill option > fill weekday
    Untitled.png


    or Formula
    set custom format to dd
    A4
    =(RIGHT(A1,2)-1)*7+"1jan"-WEEKNUM("1jan")

    B4 drag acoss
    =WORKDAY($A4,COLUMNS($B4:B4))
    Attached Files Attached Files

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Auto sum day and date without weekends

    So you mean like this?


    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    1
    2/15/2019
    2
    Feb WW08
    Feb WW09
    Mar WW10
    3
    M
    T
    W
    T
    F
    M
    T
    W
    T
    F
    M
    T
    W
    T
    F
    4
    18
    19
    20
    21
    22
    25
    26
    27
    28
    01
    04
    05
    06
    07
    08



    In A4
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and custom format "dd".
    In A3
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In A2 and across the merged cells (my posting macro won't show merged cells).
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    05-16-2018
    Location
    SG
    MS-Off Ver
    2013
    Posts
    217

    Re: Auto sum day and date without weekends

    Both worked team. thanks

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Auto sum day and date without weekends

    You are welcome. Glad to help. Thank you for the feedback and marking your thread Solved.

+ 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. Replies: 10
    Last Post: 02-29-2024, 08:55 AM
  2. Auto fill tasks avoiding weekends
    By KevinW88 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-07-2017, 06:48 AM
  3. [SOLVED] Find the start date from end date and date range and exclude weekends
    By tantcu in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-28-2017, 04:43 AM
  4. [SOLVED] How to auto populate numeric date in cell excluding weekends/holidays
    By cuevrojamez in forum Excel General
    Replies: 8
    Last Post: 10-27-2016, 11:56 AM
  5. Auto-format Dates and weekends
    By excelbeatme in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-24-2016, 07:05 AM
  6. Auto name tabs with dates excluding weekends and holidays
    By Eeyora in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-25-2013, 06:54 PM
  7. Auto name tabs with dates excluding weekends and holidays
    By Eeyora in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-05-2013, 02:50 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