<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Tech Product Blog]]></title><description><![CDATA[Product Lead, Product Operations Manager, Product Owner, Technical Architect, Software Engineer]]></description><link>https://blog.kcarlile.com</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 08:54:52 GMT</lastBuildDate><atom:link href="https://blog.kcarlile.com/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Google Sheets - Get A1 Notation for Range of Named Range]]></title><description><![CDATA[If you've used Named Ranges in Google Sheets, you likely know the power of being able to refer to a range of cells with a static name without having to update the formulas in multiple cells. However, sometimes you may want to get the A1 notation (e.g...]]></description><link>https://blog.kcarlile.com/google-sheets-get-a1-notation-for-range-of-named-range</link><guid isPermaLink="true">https://blog.kcarlile.com/google-sheets-get-a1-notation-for-range-of-named-range</guid><category><![CDATA[google sheets]]></category><category><![CDATA[product operations]]></category><dc:creator><![CDATA[Kenny Carlile]]></dc:creator><pubDate>Wed, 12 Jul 2023 03:46:07 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1689224219417/7e25152f-7041-4f04-83c2-c7afb050e4ad.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>If you've used <a target="_blank" href="https://support.google.com/docs/answer/63175?hl=en&amp;co=GENIE.Platform%3DDesktop">Named Ranges in Google Sheets</a>, you likely know the power of being able to refer to a range of cells with a static name without having to update the formulas in multiple cells. However, sometimes you may want to get the A1 notation (e.g. <code>B2:C5</code>) for that named range without looking it up in the menus.</p>
<h2 id="heading-formula">Formula</h2>
<p>The following formula will provide the A1 notation for a named range where <code>named_range</code> is the string name of a named range (without quotes):</p>
<pre><code class="lang-plaintext">=ADDRESS(
  ROW(
    named_range
  ),
  COLUMN(
    named_range
  ),
  4,
  TRUE
)
&amp;":"&amp;
ADDRESS(
  ROW(
    named_range
  )+
  ROWS(
    named_range
  )-1,
  COLUMN(
    named_range
  )+COLUMNS(
    named_range
  )-1,
  4,
  TRUE
)
</code></pre>
<p>Or, in one line:</p>
<pre><code class="lang-plaintext">'=ADDRESS(ROW(named_range),COLUMN(named_range),4,TRUE)&amp;":"&amp;ADDRESS(ROW(named_range)+ROWS(named_range)-1,COLUMN(named_range)+COLUMNS(named_range)-1,4,TRUE)
</code></pre>
<h2 id="heading-how-it-works">How it Works</h2>
<p>So what's happening here and how does this work? Let's assume the following simple spreadsheet:</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1689224086973/078bf05f-8db2-4738-bbfe-7303d3990d26.png" alt class="image--center mx-auto" /></p>
<p>The cells <code>A6:C10</code> are defined as a named range called <em>TheGang</em>. For the semi-complex formula shown above, I've created a Named Function called <code>GETNAMEDRANGEA1NOTATION()</code> and passed in the named range as a parameter (see <code>B4</code> in the screenshot above). That function returns the A1 notation for the named range <em>TheGang</em>, which is <code>A7:C11</code>.</p>
<p>Going back to the formula, let's break down what is happening. First, let's look at the components of the formula:</p>
<ul>
<li><p><code>ADDRESS()</code>: The <a target="_blank" href="https://support.google.com/docs/answer/3093308?hl=en&amp;sjid=17981813745758026002-NA">ADDRESS function</a> returns a reference to the cell passed to the formula.</p>
</li>
<li><p><code>ROW()</code>: The <a target="_blank" href="https://support.google.com/docs/answer/3093316?hl=en&amp;ref_topic=3105472&amp;sjid=17981813745758026002-NA">ROW function</a> returns the row number of a given range.</p>
</li>
<li><p><code>ROWS()</code>: The <a target="_blank" href="https://support.google.com/docs/answer/3093382?hl=en&amp;ref_topic=3105472&amp;sjid=17981813745758026002-NA">ROWS function</a> returns the number of rows in a given range.</p>
</li>
<li><p><code>COLUMN()</code>: The <a target="_blank" href="https://support.google.com/docs/answer/3093373?hl=en&amp;ref_topic=3105472&amp;sjid=17981813745758026002-NA">COLUMN function</a> returns the column number of a given cell.</p>
</li>
<li><p><code>COLUMNS()</code>: The <a target="_blank" href="https://support.google.com/docs/answer/3093374?hl=en&amp;ref_topic=3105472&amp;sjid=17981813745758026002-NA">COLUMNS function</a> returns the number of columns in a given range.</p>
</li>
</ul>
<p>Now, let's replace those functions with pseudocode to understand what is happening in the formula:</p>
<pre><code class="lang-plaintext">=GET_A1_NOTATION(
  NAMED_RANGE_STARTING_ROW,
  NAMED_RANGE_STARTING_COLUMN
)
&amp;":"&amp;
GET_A1_NOTATION(
  (NAMED_RANGE_STARTING_ROW + NAMED_RANGE_ROW_COUNT - 1),
  (NAMED_RANGE_STARTING_COLUMN + NAMED_RANGE_COLUMN_COUNT - 1
)
</code></pre>
<p>To simplify this formula even further, this is what is happening:</p>
<pre><code class="lang-plaintext">=GET_THE_A1_NOTATION_FOR_TOP_LEFT_CELL_IN_NAMED_RANGE +
":" +
GET_THE_A1_NOTATION_FOR_BOTTOM_RIGHT_CELL_IN_NAMED_RANGE
</code></pre>
<h2 id="heading-try-it-out">Try It Out</h2>
<p>You can view my sample spreadsheet at the link below and you can even <a target="_blank" href="https://support.google.com/docs/answer/12504534?hl=en">import the named function</a> (`<code>GETNAMEDRANGEA1NOTATION()` </code>) that I created from this sheet into your own.</p>
<p><a target="_blank" href="https://docs.google.com/spreadsheets/d/1MBu5Kdf2KbKcHZjgjmacxx56K537K_cPcV8r59lB-mY/edit?usp=sharing">Example spreadsheet with named function GETNAMEDRANGEA1NOTATION()</a></p>
]]></content:encoded></item></channel></rss>