+ Reply to Thread
Results 1 to 4 of 4

Automating each days date in Google Sheets

  1. #1
    Registered User
    Join Date
    11-06-2021
    Location
    tasmania
    MS-Off Ver
    google sheets
    Posts
    6

    Automating each days date in Google Sheets

    I have a few hundred google sheets that each day need to have data updated to them. Now I have a column (c) to my right with daily data that gets imported to it and column to my left (a) where I have to type each days date. ("Or command ;")
    What I would like to do is have a static date (todays date at the time) appear in column (a) anytime data is put in the same row in column (c). I'm not sure if something like this is possible without using some kind of complicated script that will go over my head to use. (I'm very much at the basic formula stage of my google docs journey). But yes, anyone that can at least tell me how difficult this would be to achieve or where to start would help me. It would save hours from each of my days.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Automating each days date in Google Sheets

    You can hold down the CTRL key and press the semicolon ( ; ) and then the Enter key to put a date stamp into a cell which will not change.

    Hope this helps.

    Pete

  3. #3
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Automating each days date in Google Sheets

    is the data imported physically by you, or is it imported automatically by another script?

    if done automatically by another script then you will need to consider making some changes, such as either:
    editing the existing script to add a timestamp when it imports the data,
    OR having a copy of EVERY existing tab and then finding a way of identifying if there was a change between the copy and the new version which would prompt the timestamp.

    if imported manually, then it will be relatively simple to use an onEdit script.

    if imported manually, do you require solution that ONLY monitors column C, and puts the date in column A... for EVERY tab in the workbook, or are there other columns to monitor, or are there certain tabs to exclude?
    Last edited by janmorris; 11-10-2021 at 05:00 AM.

  4. #4
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Automating each days date in Google Sheets

    heres a possible solution using an ArrayFormula, which if not already done will require you to allow Iterative calculations.

    so, lets make sure thats set up first...
    1. open your G-sheet
    2. go to File > Settings > Calculation
    3. switch "Iterative calculation" ON
    4. set "Max number of iterations" = 1
    5. click "Save Settings"

    next, select column A, and change the format to a Date format.. this makes sure you get dates and not numbers.
    you could use date and time if you prefer that kind of result.

    now for the formula.
    this assumes you have a header row and you start data in row 2.

    put this into cell A2:
    Please Login or Register  to view this content.
    put that formula into A2 of every sheet, yea its gonna take a while to do a few hundred sheets, but its way better than doing the dates manually with Command ;

    now whenever data is added into a cell in column C, the static date timestamp will appear in the same row in column A, and if data is removed from the cell in column C, then the static date timestamp will also be removed form column A.
    Last edited by janmorris; 11-10-2021 at 10:31 AM.

+ 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. Google Sheets: formula that averages out total sums divided by input days.
    By dav1nc1 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 6
    Last Post: 07-29-2021, 02:02 AM
  2. Google sheets - change cell color based on days past date in another cell
    By Coffey80 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 03-10-2021, 03:20 PM
  3. Google Sheets Master Sheet that pulls in data from other sheets with the last edit date
    By Badvgood in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 12-19-2020, 12:04 PM
  4. [SOLVED] Google Sheets Days Function with Pre-1900 years
    By profess in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 10
    Last Post: 01-15-2020, 07:13 PM
  5. Google Sheets Days Function with Pre-1900 years
    By profess in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-10-2020, 07:36 PM
  6. Google Apps Script for Google Sheets Pulling Formulas from Master to Several Slave Sheets
    By excelroofing in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 08-22-2018, 02:06 AM
  7. Automating a date calendar to include business days
    By Gti182 in forum Excel General
    Replies: 4
    Last Post: 11-04-2010, 07: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