The management of sheet names works in the same way as cell addresses.
Whenever you give a cell address (like A3), a copy/paste of the cell to
the next cell to the right will transform A3 into B3. To prevent that,
you place a "$" sign in front of the column address, like: $A3. You can
also make the row address absolute by placing a "$" in front of the
row, like: A$3. And to make the cell reference absolute, you write its
address like this: $A$3.
The same applies to sheet names. To prevent a copy from changing the
referenced name, you place a "$" in front of the sheet address: $'Zip
codes'.$A$2:$B$150. This must be done before the copy is performed.
Please note that because you have blanks in your sheet names, you need
to use the quote (this is probably why your example generated a #REF!
Another way is to use named ranges. You highlight the cells you want to
reference and you give them a name by typing in the name reference zone
to the left of the formula. Once the name is stored, you can use that
name directly in a formula. Names can then be managed from the
selection in the Sheet menu.
I hope this helps.
Le samedi 12 juin 2021 à 17:44 +0900, Thomas Blasejewicz a écrit :
I am probably, again!, too stupid to figure this out by myself,
so I would be grateful for a hint.
I have a file with something like 25 sheets listing the patients who
visited my clinic before
grouped by year. In one sheet I have all names (about 2,000).
To make my work easier I set up a VLOOKUP function to help me enter
In sheet 2021 that formula looks like
and refers to a sheet with the zip codes 3 sheets to the right. This
However, when I copy the data (whenever there is something new) to
"ALL" sheet to the right of 2021,
I get a "N/A", because the formula AGAIN refers to the THIRD sheet to
the right, that does not have any zip codes.
I tried to figure out, how to specify the sheet "Zip codes" as the
like: =VLOOKUP(N76,$zip codes.$a$2$:$zip #REF!.$B$220,2,0)
but so far all attempts (for quite a while now!) at placing those $
marks have resulted in errors.
I am sure, this is something very simple, but being a simpleton I
cannot figure it out.
To unsubscribe e-mail to: email@example.com
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy