Find the last row number of a named range in google sheets

ShadowRider

New Member
Joined
Sep 23, 2010
Messages
23
Office Version
  1. 365
Platform
  1. MacOS
  2. Web
In excel, I can create a table and find the first and last row of said table with functions like =min(row(table1)), =max(row(table1)).

I'm trying to emulate the functionality in google sheets and I thought a named range would be the appropriate way for this. For first row, this works: =min(row(named range)). (Actually, just =row(namedrange) works which is why): =max(row(named range)) does not work. Is there a simple way to get the last row in a named range regardless if it contains any data?

Is there a better approach to achieve this excel table-esque capability in google sheets?

Thanks,
-Eric
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
You should be able to do something like:

Excel Formula:
=row(named range)+rows(named range)-1
 
Upvote 0
Solution

Forum statistics

Threads
1,215,068
Messages
6,122,950
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top