Similar answer to caligari’s answer, but we can tidy it up by just specifying the full column range:
=INDEX(G2:G, COUNT(G2:G))
More Related Contents:
- Is there a custom function or script that returns gid of a specific sheet in Google Sheets?
- How to create INDIRECT array string of multiple sheet references in Google Sheets?
- Refresh data retrieved by a custom function in Google Sheet
- Is there a way to evaluate a formula that is stored in a cell?
- ultimate short custom number formatting – K, M, B, T, etc., Q, D, Googol
- ArrayFormula is breaking the getLastRow() funtion. Possible workarounds?
- No permission to call msgBox in Google Apps Scripting
- Custom functions intermittently hang with “Error – Loading Data”
- Apps Script: how to get hyperlink from a cell where there is no formula
- Periodically refresh IMPORTXML() spreadsheet function
- Using built-in spreadsheet functions in a script
- Custom function throws a “You do not have the permission required to setValue” error
- Refresh data retrieved by a custom function in Google Sheet
- How to evaluate a spreadsheet formula within a custom function?
- Google Sheet use Importxml error could not fetch url [duplicate]
- TypeError: Cannot read property ‘getRange’ of null (line 6, file “Code”) in google sheet script [duplicate]
- .setFormula() and received error missing ) argument list
- Custom Functions and Recalculation
- Passing cell references to spreadsheet functions
- How to protect the Apps Script code in a Google spreadsheet?
- ArrayFormula of Average on Infinite Truly Dynamic Range in Google Sheets
- How would I import YouTube Likes and Dislikes and a ratio from YouTube onto Google Sheets? [closed]
- You do not have permission to call openById
- Google Apps Script, copy one spreadsheet to another spreadsheet with formatting
- copy data from one sheet to another in google app script and append a row, one small issue
- Google App Scripts cannot be given Authorization or Permission
- How to extract the link from a cell now that links are not reflected as HYPERLINK?
- Increment Cell value by one by clicking
- Google Sheets Formula for Extracting Domain From Website?
- How can I merge multiple tabs in a Google Spreadsheet using Google App Script?