2-Way Sync: Row-aligned ID

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

Комментарии • 33

  • @agrofamily1986
    @agrofamily1986 3 года назад

    This is completely awesome !!!

  • @delannaleonard1600
    @delannaleonard1600 2 года назад

    thank you SOOO MUCH for this!!

  • @prosharmarketing9905
    @prosharmarketing9905 Год назад

    Agin thanks for a great work.
    I have a sheet named 'Main Data' then i have created another sheet named 'Clint1' which is sync with Main Data.
    Now i use Data validation in Clint1 sheet. in my case data validation is date input only. when I input a date in Clint1 sheet, It returns the value in Main Data but not that formate, it return a garbage value. is there any solution For data validation from client 1 sheet to Main Data sheet?

    • @SpencerFarris
      @SpencerFarris  Год назад +1

      It's not "garbage value," it's the serial date shown as the sheet actually stores it. Dates, as far as the spreadsheet is concerned, are just numbers. Change the formatting on the column and it should work fine.

  • @prisylj6621
    @prisylj6621 2 года назад +1

    Hello! could you help me understand the script, from the code i understand that it only updates new edits to the "Database" spreadsheet, however when i try your example sheet it actually really works both ways from the database to the other sheets and vice-versa. When i try to copy the scipt and paste it to another sheet however it doesnt work both ways. is there something i am missing out?

    • @prisylj6621
      @prisylj6621 2 года назад

      Oh i see the reason why, im duplicating the original sheet and filtering them using the filter to create the new sheets but yours uses something else, may i know how do you create your additional filtered sheets?

    • @prisylj6621
      @prisylj6621 2 года назад +1

      oh my gosh i figured it out, thankyou!

    • @SpencerFarris
      @SpencerFarris  2 года назад

      @@prisylj6621 So glad!

  • @AgendaBioBioCL
    @AgendaBioBioCL 3 года назад

    Excellent, I always thought this issue has no solution.

    • @SpencerFarris
      @SpencerFarris  3 года назад +1

      Hopefully Google someday supports it directly. But until then, apps script hack!

  • @RunninMiles37
    @RunninMiles37 Год назад

    Thanks for this video Spencer. Is there a way to allow adding info in additional rows to propagate back to the database? For example, if Mary had another student join her class. Is there a way to make it so that if she were to add the student in a new row in her tab, this new student would show up in the database tab and assign an ID to the row?

    • @SpencerFarris
      @SpencerFarris  Год назад

      Yes, I've set it up before where if there is no ID it adds a new row.

  • @delannaleonard1600
    @delannaleonard1600 2 года назад

    How do you edit the code to specify which sheets you want this code to run on

    • @SpencerFarris
      @SpencerFarris  2 года назад

      I just specify in the IF statement that if the sheet name isn't correct, stop running. IF(src.getName() != "sheet name") return;

  • @candymabaquiao4445
    @candymabaquiao4445 2 года назад

    Hi Spencer. Thank you for making this video. The 2-way sync works but whenever I use the filter feature on my queried sheet, my filtered data disappears. I'm just new to app scripts and I've been trying to figure out what should be added to the script. Can you please help me?

    • @SpencerFarris
      @SpencerFarris  2 года назад

      Interesting. Can you make me an editor on the sheet?

    • @candymabaquiao4445
      @candymabaquiao4445 2 года назад

      @@SpencerFarris yes. What's your email ? thank you so much.

    • @SpencerFarris
      @SpencerFarris  2 года назад

      @@candymabaquiao4445 spencer.farris@gmail.com

  • @prosharmarketing9905
    @prosharmarketing9905 Год назад

    What a great tutorial.
    is it possible to sync two way for comment?
    when i make a comment in one sheet this comment is not shifted in my database sheet.

    • @SpencerFarris
      @SpencerFarris  Год назад +1

      No. Apps script has no access to comments in any way

    • @prosharmarketing9905
      @prosharmarketing9905 Год назад +1

      @@SpencerFarris Thanks dear. I am glad for your fast response.

    • @prosharmarketing9905
      @prosharmarketing9905 Год назад

      @@SpencerFarris Your script working well but when i create new tab in the same sheet just for general purpose(Which is not linked with previous) , this new sheet don't take any value. is there any issue?

  • @filingbee
    @filingbee Год назад

    How do you make the refresh rate faster 😅

    • @SpencerFarris
      @SpencerFarris  Год назад

      Like how quickly the script runs? I don't think there's anything we can do about that

    • @filingbee
      @filingbee Год назад

      ​@@SpencerFarris Hmm Cool. I need help with the following too .
      1) Formulas in Cells Does Not Work Sample (="hi"&A3&"the amount due is "&C3&".Kindly make the payment")
      2) Please share the Code with Sample to exclude certain tabs(sheets)

    • @SpencerFarris
      @SpencerFarris  Год назад

      ​@@filingbee 1) Remove the parenthesis
      2) I already did - this video shows the code and it's in the description. In this case it excludes "Database"

    • @filingbee
      @filingbee Год назад

      @@SpencerFarris 1) Removed-Not Working

    • @SpencerFarris
      @SpencerFarris  Год назад

      @@filingbee Want to share your sheet with me? spencer.farris@gmail.com

  • @sosyalfang
    @sosyalfang 2 года назад

    Hi Spencer. Thank you again for making another version of the 2 way sync row aligned ver. I am wondering, is it possible to have 2 or more databases in a single workbook or worksheet?

    • @SpencerFarris
      @SpencerFarris  2 года назад +2

      Sure! You would have to do some IF() checks to make sure things are referencing the correct databases, but yah

    • @seabreezebeach93
      @seabreezebeach93 2 года назад +1

      @@SpencerFarris Thanks man!

  • @myrumahbaru
    @myrumahbaru 2 года назад

    Hi Spencer, thank you for the excellent explanation however i can't seem to get it to work in my sheets. I currently have a Master List Worksheet and a separate Worksheet for the other team members and i can't seem to get it to work so that whenever my team members edit their worksheet the new data will overwrite the existing data and appear in the Master List while corresponding to the unique ID :(

    • @SpencerFarris
      @SpencerFarris  2 года назад

      I can't do much off an explanation that "it's not working." Can you share the sheet with me?