+ Reply to Thread
Results 1 to 8 of 8

Fields updating based on the date

  1. #1
    Registered User
    Join Date
    09-20-2011
    Location
    London, England
    MS-Off Ver
    Excel 365
    Posts
    18

    Fields updating based on the date

    We have a spreadsheet that our Transport manager uses to manage a rota of delivery runs and which of our drivers will be doing them an example of this is attached as Rota.xlsx Rota.xlsx

    What we are trying to achieve is having a 2nd spreadsheet that shows the rotas for the current and the next week. See attached Summary.xlsx Summary.xlsx

    When looking at the spreadsheet the date in cell A1 will update to the start date of the week you are in. Then we would like the data in the rest of the table to update from the rota spreadsheet. The second table should show the rota for the following week, so will need to use the date in A9 to update the rest of the table from the Rota sheet.

    We are trying to automate this process so that the Transport manager only updates the rota spreadsheet and the summary sheet automatically updates. I hope this makes sense, if not feel free to ask questions and I will try to answer them to the best of my ability.

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Fields updating based on the date

    Please remove the stuctured table from the main sheet and empty all cells in Summary and

    try in cell A1:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-20-2011
    Location
    London, England
    MS-Off Ver
    Excel 365
    Posts
    18

    Re: Fields updating based on the date

    Thanks that formula worked great. Do you know if it will work it both files are in OneDrive/Sharepoint?

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Fields updating based on the date

    Thanks for your feedback. Glad to have helped.

    I don't know how Onedrive/Sharepoint is organized or where the connection between the two workbooks can be made.
    You should try.

    Please consider adding reputation to any helpers you think they deserve.
    In that case please click * Add Reputation left below their answers.

  5. #5
    Registered User
    Join Date
    09-20-2011
    Location
    London, England
    MS-Off Ver
    Excel 365
    Posts
    18

    Re: Fields updating based on the date

    Once again thanks for the formula. However, the IF part of the formula doesn't seem to be working now. From what I can gather it doesn't recognise "t". Any suggestions on how I can resolve this?

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,770

    Re: Fields updating based on the date

    The LET function is not supported by the 2016 version of Excel.
    I believe that the formula would have to be written:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  7. #7
    Registered User
    Join Date
    09-20-2011
    Location
    London, England
    MS-Off Ver
    Excel 365
    Posts
    18

    Re: Fields updating based on the date

    Thanks for the formula JeteMC. We are using Excel 365 not Excel 2016, I just forgot to update my profile, for which I apologise.

  8. #8
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Fields updating based on the date

    If you are using Excel 365 then the formula from post #2 should also work.

+ 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: 1
    Last Post: 02-04-2021, 03:28 AM
  2. Replies: 27
    Last Post: 03-29-2019, 10:47 PM
  3. updating a particular value based on the date
    By johnynutrine in forum Excel General
    Replies: 1
    Last Post: 10-16-2015, 07:54 AM
  4. Flagging Overdue date based on two fields
    By tomb242 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-19-2015, 12:11 PM
  5. formular to return date based on two other fields.
    By Jason_C in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-03-2014, 11:06 AM
  6. [SOLVED] Calculated fields based on date difference
    By mrmyr in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 09-20-2012, 04:54 AM
  7. Automatically updating date fields
    By Highoaks in forum Excel General
    Replies: 1
    Last Post: 05-07-2010, 06:01 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