+ Reply to Thread
Results 1 to 4 of 4

Update Row values using sheet ID

  1. #1
    Registered User
    Join Date
    02-16-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    52

    Update Row values using sheet ID

    Hi! Hope someone can assist me. I have two separate google sheets for my Document Tracker. The 1st one ("source") is for data entry while the 2nd one ("target") derives data using filter and import range.

    There is a certain field trigged by UPDATE button which I want to be reflected on the "source" data but my code doesn't seem to work. Based on the lookup value which is range "D4" of the target sheet, it will update accordingly range "H11" on the source data. Thanks!

    Sharing the script below:

    Please Login or Register  to view this content.


    Also, can the code include timestamp of the update in the following format e.g. "01/ 08/2024 | 6:52 PM" aside from the values typed by the user.

    I am sharing access of both google sheets.


    source (1st sheet):
    https://docs.google.com/spreadsheets...it?usp=sharing


    target (2nd sheet):
    https://docs.google.com/spreadsheets...it?usp=sharing


    I appreciate the assistance and thank you in advance for the help.

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

    Re: Update Row values using sheet ID

    The apps script found in Update.gs that is bound to the "target" file does not match the script you have given above.

    Does this mean that you have found a solution already?
    As a gesture off appreciation, you can click * Add Reputation at the foot of any of the posts of members who helped you reach a solution.

    And finally, was your problem solved? if so, please click Thread Tools above the first post of your enquiry, then select [Solved]

  3. #3
    Registered User
    Join Date
    02-16-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: Update Row values using sheet ID

    Quote Originally Posted by janmorris View Post
    The apps script found in Update.gs that is bound to the "target" file does not match the script you have given above.

    Does this mean that you have found a solution already?
    Sorry, I was tinkering with the code... revert it to the original as posted. Thanks!

  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: Update Row values using sheet ID

    Based on the lookup value which is range "D4" of the target sheet, it will update accordingly range "H11" on the source data.
    This script will do that:

    Please Login or Register  to view this content.

+ 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: 2
    Last Post: 11-14-2022, 10:05 AM
  2. Sheet tab color update based of range on values on sheet 1
    By Prascena in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-11-2021, 10:37 AM
  3. Update Values to an Existing Sheet from every new Sheet created by Macro
    By DespitePain in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-06-2018, 02:50 AM
  4. [SOLVED] Update values on 1 sheet with values from multiple source sheets
    By Jean Claude Baptiste in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-04-2017, 04:56 PM
  5. Update link (Update values) on a protected sheet excel 2010
    By sonu1975 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-03-2014, 09:49 AM
  6. Replies: 1
    Last Post: 10-22-2012, 01:16 PM
  7. Replies: 2
    Last Post: 06-04-2012, 06:57 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