<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: LibreOffice Tutorial – Part 5 &#8211; Named range	</title>
	<atom:link href="https://tutolibro.org/2018/10/11/libreoffice-tutorial-part-v-named-range/feed/" rel="self" type="application/rss+xml" />
	<link>https://tutolibro.org/2018/10/11/libreoffice-tutorial-part-v-named-range/</link>
	<description>Free online tutorials</description>
	<lastBuildDate>Tue, 21 Jan 2025 11:11:39 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>
		By: gweno		</title>
		<link>https://tutolibro.org/2018/10/11/libreoffice-tutorial-part-v-named-range/#comment-126</link>

		<dc:creator><![CDATA[gweno]]></dc:creator>
		<pubDate>Fri, 29 Sep 2023 23:50:01 +0000</pubDate>
		<guid isPermaLink="false">http://superbusydaddy.com/?p=401#comment-126</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://tutolibro.org/2018/10/11/libreoffice-tutorial-part-v-named-range/#comment-125&quot;&gt;Will vaughn&lt;/a&gt;.

Hi Will, and thanks for your question. As an example I have in Column A: A1:&quot;Fruits&quot;, A2:&quot;Apple&quot;,A3:&quot;Cherry&quot;,A4:&quot;Pear&quot;. In the &#039;Managed Names&#039; Window, click on the &#039;Add&#039; button, then enter as name &#039;fruits&#039;, then in the &#039;Range or formula expression&#039; enter &quot;OFFSET($A$2,0,0,COUNTA($A:$A)-1,1)&quot;(without the quotes).
The COUNTA($A:$A)-1 counts all the cells with a value in the column A, minus 1 to exclude the header in A1 (&quot;Fruits&quot;), if you don&#039;t put any header you can omit the &#039;-1&#039;. The OFFSET here is simply returning a range with a height of n rows, n being the number of values in column A -1, and a width of 1 Column, with the top-left cell being at $A$2 with no offset (0,0).
Now in any other column you can access the elements of the named range with &quot;=INDEX(fruits,2)&quot; -&gt; Cherry. The range will expand when adding e.g. &quot;Banana&quot; in Cell A5.To verify the number of values listed in the range &#039;fruits&#039;, you can do &quot;=COUNTA(fruits)&quot; in any cell and see it growing when you add a new fruit in the list. And as a proof that it is not simply counting the non-empty cells in column A, try in a cell &quot;=INDEX(fruits;5) and you&#039;ll get a &#039;#Ref&#039; error because there is no elements at index 5 of the &#039;fruits&#039; range.
It is confusing because the named range will not appear in the &#039;Name Box&#039; drop down list, but you can still access it. Aso, when selecting the name &#039;fruits&#039; in the &#039;Manage Names&#039; window it will refer to the entire Column A). Another example is to select a cell (outside your range&#039;s column) and go in &quot;Data/Validity&quot;, then select &#039;Cell Range&#039; and enter &#039;fruits&#039; in the name of the cell range. The cell will then be populated with a drop down list bound to your &#039;fruit&#039; named range.
I am calling it a named range, but it is actually only a cell range with a reference hence it not being displayed in the &#039;Name Box&#039; or in the &#039;Range names&#039; section in the Navigator.
Please let me know if that answers you question. Cheers]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://tutolibro.org/2018/10/11/libreoffice-tutorial-part-v-named-range/#comment-125">Will vaughn</a>.</p>
<p>Hi Will, and thanks for your question. As an example I have in Column A: A1:&#8221;Fruits&#8221;, A2:&#8221;Apple&#8221;,A3:&#8221;Cherry&#8221;,A4:&#8221;Pear&#8221;. In the &#8216;Managed Names&#8217; Window, click on the &#8216;Add&#8217; button, then enter as name &#8216;fruits&#8217;, then in the &#8216;Range or formula expression&#8217; enter &#8220;OFFSET($A$2,0,0,COUNTA($A:$A)-1,1)&#8221;(without the quotes).<br />
The COUNTA($A:$A)-1 counts all the cells with a value in the column A, minus 1 to exclude the header in A1 (&#8220;Fruits&#8221;), if you don&#8217;t put any header you can omit the &#8216;-1&#8217;. The OFFSET here is simply returning a range with a height of n rows, n being the number of values in column A -1, and a width of 1 Column, with the top-left cell being at $A$2 with no offset (0,0).<br />
Now in any other column you can access the elements of the named range with &#8220;=INDEX(fruits,2)&#8221; -> Cherry. The range will expand when adding e.g. &#8220;Banana&#8221; in Cell A5.To verify the number of values listed in the range &#8216;fruits&#8217;, you can do &#8220;=COUNTA(fruits)&#8221; in any cell and see it growing when you add a new fruit in the list. And as a proof that it is not simply counting the non-empty cells in column A, try in a cell &#8220;=INDEX(fruits;5) and you&#8217;ll get a &#8216;#Ref&#8217; error because there is no elements at index 5 of the &#8216;fruits&#8217; range.<br />
It is confusing because the named range will not appear in the &#8216;Name Box&#8217; drop down list, but you can still access it. Aso, when selecting the name &#8216;fruits&#8217; in the &#8216;Manage Names&#8217; window it will refer to the entire Column A). Another example is to select a cell (outside your range&#8217;s column) and go in &#8220;Data/Validity&#8221;, then select &#8216;Cell Range&#8217; and enter &#8216;fruits&#8217; in the name of the cell range. The cell will then be populated with a drop down list bound to your &#8216;fruit&#8217; named range.<br />
I am calling it a named range, but it is actually only a cell range with a reference hence it not being displayed in the &#8216;Name Box&#8217; or in the &#8216;Range names&#8217; section in the Navigator.<br />
Please let me know if that answers you question. Cheers</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Will vaughn		</title>
		<link>https://tutolibro.org/2018/10/11/libreoffice-tutorial-part-v-named-range/#comment-125</link>

		<dc:creator><![CDATA[Will vaughn]]></dc:creator>
		<pubDate>Thu, 28 Sep 2023 23:15:08 +0000</pubDate>
		<guid isPermaLink="false">http://superbusydaddy.com/?p=401#comment-125</guid>

					<description><![CDATA[Please help!
How do i do a dynamic name range in libre office calc spreedsheet.
I have been unable to the offset function to work.
I have been working on this for a mothh. A solution will be greatly appreciated.
The number of rows in column A increases with new entries. I need the name range to increase also.]]></description>
			<content:encoded><![CDATA[<p>Please help!<br />
How do i do a dynamic name range in libre office calc spreedsheet.<br />
I have been unable to the offset function to work.<br />
I have been working on this for a mothh. A solution will be greatly appreciated.<br />
The number of rows in column A increases with new entries. I need the name range to increase also.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
