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

ShadowRider

New Member
Joined
Sep 23, 2010
Messages
27
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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
You should be able to do something like:

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

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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