+ Reply to Thread
Results 1 to 17 of 17

Google Sheets: How to keep time stamp unchanged if any changes in the the other data cell?

  1. #1
    Registered User
    Join Date
    02-19-2020
    Location
    Libya
    MS-Off Ver
    2019
    Posts
    13

    Google Sheets: How to keep time stamp unchanged if any changes in the the other data cell?

    For more details when inserting a row, the time stamp in "time out" col. must be static, for any changes in "status" col. , and also for "time in" col., if "name" col. changes
    what is the script please
    Last edited by azar3; 07-28-2020 at 03:58 PM. Reason: add link for my question, cause instructiom from "excel help"

  2. #2
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    27,184

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    Hi and welcome to the forum.

    A workbook would have helped with a before and after example of what you expect to see. Would you upload it please.
    We really need to understand what it looks like and how you use it in order to suggest an optimum solution

    For instance is your data in a table?
    Are you inserting a row at the row below an existing range of data or between existing rows?
    Does the time stamp need to be added to the new row BEFORE you add any other information or after?
    Richard Buttrey

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    02-19-2020
    Location
    Libya
    MS-Off Ver
    2019
    Posts
    13

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    hi richard brother
    thanks for the note, and i am sorry for late reply cause i fixed my device
    I put my link in "link icon for edit post" and a message appear " You are not allowed to post any kinds of links, images or videos until you post a few times"
    please help me what to do should i post many questions i don't understand

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    42,129

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  5. #5
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,336

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    How are you currently adding the time stamp?

    Here's a sample script for adding a timestamp in Google Sheets.
    Please Login or Register  to view this content.
    Last edited by Norie; 07-28-2020 at 07:09 AM.
    If posting code please use code tags, see here.

  6. #6
    Registered User
    Join Date
    02-19-2020
    Location
    Libya
    MS-Off Ver
    2019
    Posts
    13

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    sorry my english is weak, cause "post word" give me many meaning, i read the rules and search in google, and what i understand that if i give 10 support or answer that gives me ability to put a link to my (free) question for is that correct.
    Last edited by azar3; 07-29-2020 at 11:10 AM.

  7. #7
    Registered User
    Join Date
    02-19-2020
    Location
    Libya
    MS-Off Ver
    2019
    Posts
    13

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    Thanks brother norie for replyig - According to your comment , (D&H columns) were renamed to (CASE 2 & 7) -and spread name is Sheet1 as mentioned-and the script did not work please any idea for that
    Last edited by azar3; 07-29-2020 at 11:18 AM.

  8. #8
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,336

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    What I posted was an untested example of the code you could use to add time stamps in column C and H.

    This code has been tested and seems to work.
    Please Login or Register  to view this content.
    Last edited by Norie; 07-30-2020 at 10:48 AM.

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    42,129

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    Quote Originally Posted by azar3 View Post
    sorry my english is weak, cause "post word" give me many meaning, i read the rules and search in google, and what i understand that if i give 10 support or answer that gives me ability to put a link to my (free) question for is that correct.
    There are instructions at the top of this page telling you how anybody can attach a workbook.

    Will you please attach a small sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    Instructions (Please Read Carefully):

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment (it hasn't worked for years, and despite our repeatedly asking the technical team who own the forum to fix it, they can't be bothered to do so), so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.

  10. #10
    Registered User
    Join Date
    02-19-2020
    Location
    Libya
    MS-Off Ver
    2019
    Posts
    13

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    that's what i need all is ok’ thak's I hope we meet again And you are at best

  11. #11
    Registered User
    Join Date
    02-19-2020
    Location
    Libya
    MS-Off Ver
    2019
    Posts
    13

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    One of the rules to attach files is "Post a small Excel sheet" - and I noticed from the forum that the links are Excel -so next time I will send an Excel link and not Google Sheet link -thank you very much fo helping. and i will learn more about this forum

  12. #12
    Registered User
    Join Date
    02-19-2020
    Location
    Libya
    MS-Off Ver
    2019
    Posts
    13

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    how to delete my post
    Last edited by azar3; 08-07-2020 at 07:14 AM.

  13. #13
    Registered User
    Join Date
    02-19-2020
    Location
    Libya
    MS-Off Ver
    2019
    Posts
    13

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    Hello nice to meet you again
    I was trying to move the script for case 2 (2 spaces) and I cant
    please if its possible that if we filled cell B , stamp time appear in D - with keeping case 7 as it is

  14. #14
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,336

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    Perhaps.
    Please Login or Register  to view this content.

  15. #15
    Registered User
    Join Date
    02-19-2020
    Location
    Libya
    MS-Off Ver
    2019
    Posts
    13

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    All is ok, just one point remaining, if its possible to cancel time appearing in C , so if we fill B, time appear only in D
    Thank's in advance and previously

  16. #16
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,336

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    The code I posted won't put anything in column C.

  17. #17
    Registered User
    Join Date
    02-19-2020
    Location
    Libya
    MS-Off Ver
    2019
    Posts
    13

    Re: Google Sheets: How to keep time stamp unchanged if any changes in the the other data c

    Sorry for the inconvenience,I tried all my attempts, I open'd also a new Google account to prevent any script interference, but I failed, Please advise me cause the time steel appear in column c, and this is an image

    Attachment 690107Attachment 690105
    Last edited by azar3; 08-10-2020 at 03:59 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: Cell changes color based on current time
    By TimRodriguez in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 04-15-2020, 06:48 AM
  2. Google Spreadsheet having problem in Time Stamp Formula
    By Syed Faizan Ali in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 03-23-2020, 05:41 AM
  3. Google Spreadsheet having problem in Time Stamp Formula
    By Syed Faizan Ali in forum Office 365
    Replies: 0
    Last Post: 03-23-2020, 05:41 AM
  4. Migrate VBA that sets time stamp to Google Sheets
    By marko737 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 8
    Last Post: 12-15-2019, 03:03 PM
  5. Migrate VBA that sets time stamp to Google Sheets
    By marko737 in forum Excel General
    Replies: 6
    Last Post: 12-15-2019, 02:32 AM
  6. Time Stamp Active Cells and Record a History of Time Stamp and Active Cell Value
    By harishangaran in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-22-2017, 12:41 PM
  7. email row contents based on cell values (google sheets populated by google forms)
    By reedg in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 01-13-2016, 02:55 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