I am currently consolidating tables from various sheets into one on Google Sheets. My goal is to create a function onedit(e)
that can be paired with a loop function to execute this task.
=index($G$2:$G$8,match($A10&$I$1,arrayformula($B$2:$B$8&$E2:$E8),0),"").
As I am new to Google Script, I have been experimenting with formulas. However, the formula updates all adjacent cells, whereas I want it to match and remain static so that when column G
is updated, the result is added to B10
without overwriting A10
. (The cell I1 has the formula =today() for reference, but if the code can simply match with the date, that would be ideal!)
If you would like to see firsthand what I am referring to, here is the link to the sheet: https://docs.google.com/spreadsheets/d/1jviYYhI1V_bL8TMVvijR9vo_7sBFfktbhgblGNcYfrQ/edit?usp=sharing
The drop-down options in Column B2:B8
are linked to the list in A10:A18
, just in case that makes a difference. Any assistance would be highly appreciated as I've been searching for a solution for three days now.