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

How to get the newest value of column E and display the value in A1?

$
0
0

I need help to make Google spreadsheet 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 the below code, 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 9782

Trending Articles



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