In Google Sheets I\'m collecting data dynamically using the IMPORTHTML function, and one element from that data set is currently copied in cell C1.
In another sheet
You need a script that copies the entry from sheet1!C1 into sheet2!columnB row(where columnA=today()).
Replace sheet1, sheet2 with your sheet names.
Within your spreadsheet goto
File>spreadsheet settings
Set your local and time zone, then set the recalculation onChange and every hour.
goto sheet2!
I am assuming your columnA has the dates running from A1 to A# in date format. We are going to need a cell to hold a value, I am choosing C1. in C1 put this
=MATCH(today(),A:A)
This will give you a number, it should be the row holding today's date.
Then goto
tools>script editor
create a script for spreadsheets. This will give you some sample script, delete this.
code is
function scorekeeper(){
var sheet1 = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("sheet1");
var sheet2 = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("sheet2");
var score = sheet1.getRange("C1").getValue(); // we want to store this
var row = sheet2.getRange("C1").getValue(); // this is our row
sheet2.getRange(row, 2).setValue(score );
}
You can test this by going to Run and selecting the function name. You may have to save the script first and give the app permission.
Let's make this run at midnight
goto
Resources>Current project's triggers.
Add a trigger.
Select; scorekeeper() Time-driven Day timer Midnight to 1:00 a.m.
And you are good to go.