A
A
andushik2021-06-27 22:02:04
Google Sheets
andushik, 2021-06-27 22:02:04

Google spreadsheet. How to configure data exchange to a specific column?

I have 2 tables
1st Main table where the data will be loaded and changed and added
2nd Secondary table - in which, when the data changes, it will be transferred to the main one

60d8c994bfb5e205030276.png
60d8c998c1e69500622087.png

. But if you add a new product
60d8ca005034c726438062.png
, then all the values ​​that are pulled up from another table do not shift by one line , but remain in their places
60d8ca69d3d37653523941.png

How it should work:
When adding a new product, an empty row is added to another table
60d8caed3503c479738636.png
60d8caf79d661091365332.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Grigory Boev, 2021-06-27
@ProgrammerForever

It's not a good idea to mix the "view-only" data provided by IMPORTRANGE with manually entered dynamic data. But if you really want to , then you can do this:
1) Put triggers to edit and change data about the second table
2) In these triggers, take the data from the second table and replace the data from the first table with them
3) Simple triggers will not help here (there is an appeal to another table) , it is necessary to do two high-grade trigger. For editing and modification.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question