+ Reply to Thread
Results 1 to 14 of 14

how to get week number from date range of the month

  1. #1
    Forum Contributor
    Join Date
    03-05-2015
    Location
    Cambodia
    MS-Off Ver
    2016
    Posts
    118

    how to get week number from date range of the month

    Hi,

    I actually don't want to merge date from Mon-Sun as a week number. I want to use formula to define week # from total date range 1st-31st of the month. and date between Monday-Sunday as week# show.

    Please find attached file what in expected in yellow highlight.

    Thanks,
    Leakhna
    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 2404
    Posts
    13,406

    Re: how to get week number from date range of the month

    Try this in G4 and fill down. It returns in same format all the way down and not with a single date as the sample shows.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Is this acceptable?


    F
    G
    3
    W #
    Date
    4
    W26
    1-1 Jul
    5
    W27
    2-8 Jul
    6
    W28
    9-15 Jul
    7
    W29
    16-22 Jul
    8
    W30
    23-29 Jul
    9
    W31
    30-31 Jul
    Dave

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

    Re: how to get week number from date range of the month

    Although it would be much simpler to use a helper column in E3 filled down as in the attached with this formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Then in G4 and down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    03-05-2015
    Location
    Cambodia
    MS-Off Ver
    2016
    Posts
    118

    Re: how to get week number from date range of the month

    Big Smile on face

    I love that formula so much. Thank you very much for helping me.

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

    Re: how to get week number from date range of the month

    You are welcome. Thank you for the feedback.

    Out of curiosity which formula are you referring to?

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  6. #6
    Forum Contributor
    Join Date
    03-05-2015
    Location
    Cambodia
    MS-Off Ver
    2016
    Posts
    118

    Re: how to get week number from date range of the month

    one more think, in the number can we have the formula to make it short as manual typing using data from date in column B.

    W #
    W26
    W27
    W28
    W29
    W30
    W31

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

    Re: how to get week number from date range of the month

    If I have interpreted correctly:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

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

    Re: how to get week number from date range of the month

    You could also copy the helper column and paste values only to F4. Then use the remove duplicates feature.

  9. #9
    Forum Contributor
    Join Date
    03-05-2015
    Location
    Cambodia
    MS-Off Ver
    2016
    Posts
    118

    Re: how to get week number from date range of the month

    However, can we change from column "D" = manual key to helper column what is the thing i need to change becuz when i change to helper column it can define only W26 and the follow week shown only W27.

    I'm very poor in excel.

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

    Re: how to get week number from date range of the month

    I don't understand.

    What are the methods I have posted not doing that you want to do differently?

  11. #11
    Forum Contributor
    Join Date
    03-05-2015
    Location
    Cambodia
    MS-Off Ver
    2016
    Posts
    118

    Re: how to get week number from date range of the month

    I mean the last one you help me is looking data from column that i merge cell however, it is possible if i can look up column that we use formula.

    I attached the sample for your where i change the looking value.

    Thanks & sorry for disturb you many time.
    Attached Files Attached Files

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

    Re: how to get week number from date range of the month

    Try this in F4 and fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  13. #13
    Forum Contributor
    Join Date
    03-05-2015
    Location
    Cambodia
    MS-Off Ver
    2016
    Posts
    118

    Re: how to get week number from date range of the month

    That work.

    Big Thanks

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

    Re: how to get week number from date range of the month

    Super. You are welcome and thanks for the feedback and marking this 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. Week number in month determined by 3/4 weekdays in week within said month
    By atearth in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2017, 02:36 PM
  2. Formula to give week number of a month according to date of the month
    By tukae in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-08-2016, 11:14 PM
  3. [SOLVED] Calculate Week Range from Week Number, Month and Year?
    By A108A108 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 05-07-2016, 03:11 PM
  4. Replies: 1
    Last Post: 06-03-2014, 06:31 PM
  5. formula that generates month and week number from date
    By ea223 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-03-2013, 07:19 AM
  6. vba to find the month and week number from given date
    By Anil2007 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 04-27-2009, 07:43 PM
  7. Replies: 1
    Last Post: 03-10-2006, 05:15 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