Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9786

how to get the newest value of column E and display the value in A1 with google app script

$
0
0

I have never used google app script and I need help to make google spread sheet like this.You can input values in column E, and the value of the newest input is displayed in A1.

enter image description here

I tried below coding but it didn't work.

function myFunction() {  var spreadsheet = SpreadsheetApp.getActiveSpreadsheet();  var sheet = spreadsheet.getActiveSheet();  var range = sheet.getRange("E:E");  var inputinE = range;  var colA = sheet.getRange(1, 1);  colA = inputinE.getValues();}myFunction();

Viewing all articles
Browse latest Browse all 9786

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>