+ Reply to Thread
Results 1 to 5 of 5

Week number format

  1. #1
    Registered User
    Join Date
    07-30-2020
    Location
    London
    MS-Off Ver
    365
    Posts
    46

    Week number format

    Hi

    Attached is a snippet of the data I am working with.

    I have year number in Column A and the week number associated with it in Column B. I would like to plot those data with column D.

    I tried concat, to merge the year with the week but then I end up with a gap in the graph between 2050 (year 20, week 50) and 2101 (year 21 week 01).

    Ideas how I can sort this?

    Really, it's more about plotting the data so answer could be modifying the graph scale... but for the future help with converting two separate columns into something year/week-usable would be very helpful!

    Thanks
    Attached Files Attached Files

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

    Re: Week number format

    Add Date Column from Year and week

    =DATE(2000+A2,1,B2*7)

    then Plot graph from date and Data
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-30-2020
    Location
    London
    MS-Off Ver
    365
    Posts
    46

    Re: Week number format

    Hi Bo_Ry, that's worked perfectly thanks!

    Is there any way to format it though to retain the original format? I.e. on the graph x-axis as 20,1...20,3... or even two separate rows with 20 + 21 and 1, 2, 3...

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

    Re: Week number format

    Maybe try

    =A2+B2/53

    and custom format

    0-0

    /53

    and create a new shape to block the /53 on the Axis
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-30-2020
    Location
    London
    MS-Off Ver
    365
    Posts
    46

    Re: Week number format

    Nice workaround, thanks

    I'm guessing there's no way to keep them spread out as dates is there? - i.e. to keep the equivalent of a 10 week gap between say 20-31 and 20-41?

    You've done more than enough, very much appreciated so this is more a curiosity now

+ 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: 5
    Last Post: 07-04-2019, 05:16 AM
  2. [SOLVED] Custom format for date with week number
    By jdmelgar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-21-2017, 07:47 AM
  3. [SOLVED] Format a cell to display week number starting from a certain date
    By avolkmar in forum Excel General
    Replies: 3
    Last Post: 09-23-2014, 02:34 PM
  4. Replies: 5
    Last Post: 09-01-2014, 03:55 PM
  5. Replies: 1
    Last Post: 07-09-2014, 05:57 AM
  6. Replies: 2
    Last Post: 06-03-2014, 05:56 AM
  7. format date cell with week number
    By excellentexcel in forum Excel General
    Replies: 7
    Last Post: 01-08-2009, 07:57 AM

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