+ Reply to Thread
Results 1 to 15 of 15

Change Cell Values @ 12:01AM Each Monday

  1. #1
    Registered User
    Join Date
    09-20-2021
    Location
    USA
    MS-Off Ver
    Microsoft 365 Apps for business
    Posts
    8

    Change Cell Values @ 12:01AM Each Monday

    Hello Everyone,

    I have an employee who will be checking that a certain task was completed during the previous week. They will enter "Yes" or "No" on a spreadsheet.
    I have the dates in an adjacent column set to update automatically when a new week begins, but I haven't found a way to make it so the Yes/No cells are cleared (blank, no value) every Monday before we come to work. Thoughts?

    Thanks!

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,968

    Re: Change Cell Values @ 12:01AM Each Monday

    It requires a macro. For us to provide code that will work in your file, we need to see the file. Can you attach it, with any private data removed? Please see yellow banner at the top of the page.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    09-20-2021
    Location
    USA
    MS-Off Ver
    Microsoft 365 Apps for business
    Posts
    8

    Re: Change Cell Values @ 12:01AM Each Monday

    Here's the example. The dates on the right section are set to update with the Monday/Friday dates of the previous week, but if the Yes/No/Incomplete values remain it could cause confusion and lead people to believe that the work was already completed.
    Attached Files Attached Files

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,968

    Re: Change Cell Values @ 12:01AM Each Monday

    Is this is shared workbook, or does only the employee who does the checks have access? Do you use desktop Excel, or the browser version?

  5. #5
    Registered User
    Join Date
    09-20-2021
    Location
    USA
    MS-Off Ver
    Microsoft 365 Apps for business
    Posts
    8

    Re: Change Cell Values @ 12:01AM Each Monday

    There are two separate people performing two different types of checks within the workbook each week, but another 10-ish people will be viewing it on a regular basis (it's supposed to act as an inspection tracker for all of the equipment at our facility).

    I use desktop Excel, and I imagine that the people updating it also use Excel. The document does exist within SharePoint so there is a chance someone may try to update it through a browser version.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,933

    Re: Change Cell Values @ 12:01AM Each Monday

    Unless you can ensure that nobody uses it in a browser or mobile environment, VBA is a non-starter.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  7. #7
    Registered User
    Join Date
    09-20-2021
    Location
    USA
    MS-Off Ver
    Microsoft 365 Apps for business
    Posts
    8

    Re: Change Cell Values @ 12:01AM Each Monday

    Is there a way that I can use conditional formatting to highlight data that hasn't been updated during the current week? I don't necessarily need the cells to be emptied weekly, I just need to be able to identify when the information within them is outdated.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,933

    Re: Change Cell Values @ 12:01AM Each Monday

    Possibly, but without seeing a representative sample of your data and a bit more detail it’s going to be impossible to say for sure.

  9. #9
    Registered User
    Join Date
    09-20-2021
    Location
    USA
    MS-Off Ver
    Microsoft 365 Apps for business
    Posts
    8

    Re: Change Cell Values @ 12:01AM Each Monday

    Here's a snapshot of what that section currently looks like.
    Attached Files Attached Files

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,933

    Re: Change Cell Values @ 12:01AM Each Monday

    OK.

    Explain what I’m looking at and how you want it to work. It all makes complete sense to you because it’s your data, but to me it means nothing.

  11. #11
    Registered User
    Join Date
    09-20-2021
    Location
    USA
    MS-Off Ver
    Microsoft 365 Apps for business
    Posts
    8

    Re: Change Cell Values @ 12:01AM Each Monday

    My bad, I thought the previous posts made it clear but I'll give more detail.

    We perform weekly inspections on machinery. The forms for the past week get turned in to the office the following Monday.

    I want to make it as hands-off as possible for the people recording whether or not each of the forms was completed last week.
    The "Week Start" and "Week End" columns are set to always display the previous week's Monday and Friday dates.

    The problem with that is, when I come in on Monday morning the dates will be updated, but the Yes/No/Incomplete information from last week will still be there and potentially lead people to believe that the task of inputting that data has already been completed.

    I just need those values to be empty or clearly identifiable as old data every Monday when I come in.

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,933

    Re: Change Cell Values @ 12:01AM Each Monday

    You aren’t going to be able to do this without VBA, and VBA will not run if the file is opened in a browser or mobile environment. I think you may need a radical rethink here.

    I have had issues with files containing VBA getting thoroughly stuffed up by colleagues who ignore or just don’t understand instructions about opening files in the desktop app, so tackling that is not something I’d recommend!

  13. #13
    Registered User
    Join Date
    09-20-2021
    Location
    USA
    MS-Off Ver
    Microsoft 365 Apps for business
    Posts
    8

    Re: Change Cell Values @ 12:01AM Each Monday

    I was hoping there would be a formula solution to say that if today is Sunday, empty the cells. Sounds like it won't be that simple.

    Thanks for your insight everyone!

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,933

    Re: Change Cell Values @ 12:01AM Each Monday

    You can’t empty cells with formulae.

  15. #15
    Registered User
    Join Date
    09-20-2021
    Location
    USA
    MS-Off Ver
    Microsoft 365 Apps for business
    Posts
    8

    Re: Change Cell Values @ 12:01AM Each Monday

    It seems that it's always the simple things that are unattainable. Oh well, I'll just set an alarm to delete the cells manually.

+ 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. Change first day of week from Sunday to Monday
    By Devon van Dam in forum Excel General
    Replies: 1
    Last Post: 06-17-2019, 08:18 AM
  2. Calculate time elapsed or worked during (eg) 12:01am to 6:00am
    By rdy4trvl in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-29-2016, 09:05 PM
  3. [SOLVED] Take Monday value if not (Zero and Blank) then next new date values
    By Sekars in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-20-2016, 01:30 AM
  4. [SOLVED] Change Saturday or Sunday to Monday by date
    By pfulghum in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-05-2016, 09:30 AM
  5. [SOLVED] Add Values From Non-Working Days to Monday Total
    By ddavelarsen in forum Excel General
    Replies: 2
    Last Post: 10-02-2012, 10:15 AM
  6. Help change Friday to following Monday
    By David in forum Excel General
    Replies: 4
    Last Post: 06-21-2006, 08:30 PM
  7. Replies: 1
    Last Post: 04-13-2005, 06:35 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