+ Reply to Thread
Results 1 to 7 of 7

Updating week number, start date of the week, and year from a column date that's populated

  1. #1
    Forum Contributor
    Join Date
    10-30-2014
    Location
    Pretoria, South Africa
    MS-Off Ver
    Office 365
    Posts
    111

    Updating week number, start date of the week, and year from a column date that's populated

    Good Day,

    I hope this question finds you well.

    I have a sheet with some columns that needs to be populated by people in my team. Once a person changes a value in any cells for columns A, E, F, G, H it should populate the updated date and username automatically (this seems to work but not always for some reason).

    From this updated date in Column I, I would like the year, week number, and the date for that particular week (starting on a Monday) to be populated each time. With that said, once this update occurs based on the original date value in column I, it should not change the values in Column I or J. I hope this makes sense.

    I have read a few article on forums, but can not find something that works for me as I am not an vba expert.

    Basically column I and J is populated once anything changes in certain columns and then column I (green) is used to populate the yellow columns without changing the exiting column I and J again.

    I have even tried the more basic WEEKNUM, but then nothing works column I and J. I would rather have everything running from vba to be automatic without dragging or adjusting formulas in sheets when data row entries increases over time.

    Attached is a example file.

    I thank you in advance.

    Kind Regards,

    Ray
    Attached Files Attached Files

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,235

    Re: Updating week number, start date of the week, and year from a column date that's popul

    Hi Ray

    Is this what you are wanting?
    Please Login or Register  to view this content.
    Edit...Wanted Start Monday date....
    Last edited by sintek; 04-28-2020 at 07:18 AM.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Forum Contributor
    Join Date
    10-30-2014
    Location
    Pretoria, South Africa
    MS-Off Ver
    Office 365
    Posts
    111

    Re: Updating week number, start date of the week, and year from a column date that's popul

    Hi Sintek,

    Thank you very much for your fast reply and the perfect short solution to my question and problem. Thanks a million.

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,235

    Re: Updating week number, start date of the week, and year from a column date that's popul

    ..........................
    Image 1.gif

  5. #5
    Forum Contributor
    Join Date
    10-30-2014
    Location
    Pretoria, South Africa
    MS-Off Ver
    Office 365
    Posts
    111

    Re: Updating week number, start date of the week, and year from a column date that's popul

    Hi Sintek,

    As per your advise, here is the new file. I was wondering, if I would like to add dates manually for deliverable's how would the vba code look like to populate the year, week, week start date (Monday for that week).

    So basically if I add in Column D (green) a manual date it should populate columns E, F, G (yellow).

    Thanks once again for your help.

    Attached the example file.
    Attached Files Attached Files

  6. #6
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,235

    Re: Updating week number, start date of the week, and year from a column date that's popul

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    10-30-2014
    Location
    Pretoria, South Africa
    MS-Off Ver
    Office 365
    Posts
    111

    Re: Updating week number, start date of the week, and year from a column date that's popul

    Thank you once again you are the best! Have a good one!

+ 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. Merge entire rows with same date based on column O and put week number of the year
    By fabian_76 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-21-2017, 11:09 AM
  2. Replies: 5
    Last Post: 04-11-2017, 09:23 AM
  3. Year and Week number but I need to convert to the date of that weeks start
    By darrenj1471 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-07-2017, 09:57 AM
  4. [SOLVED] Get the date of saturday in a week from a week number / year
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-18-2015, 06:56 PM
  5. [SOLVED] Determine Week Start Date From Year And Number
    By SalientAnimal in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-23-2013, 07:51 AM
  6. week start date and end date based on week number
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2009, 12:39 PM
  7. [SOLVED] Calculating a Date Based on Year, Week Number and Day of the Week
    By amy in forum Tips and Tutorials
    Replies: 1
    Last Post: 08-23-2005, 11:42 AM

Tags for this Thread

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