<!DOCTYPE html> <html lang="en-US"> <head> <base href="../../../../"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Naming Cells</title> <link rel="shortcut icon" href="media/navigation/favicon.ico"> <link type="text/css" href="normalize.css" rel="Stylesheet"> <link type="text/css" href="default.css" rel="Stylesheet"> <link type="text/css" href="prism.css" rel="Stylesheet"> <script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="fuzzysort.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="en-US/langnames.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1"> </head> <body itemscope="true" itemtype="http://schema.org/TechArticle"> <div class="header-extrawurst"> <header><div class="logo-container"><a class="logo" href="en-US/text/shared/05/new_help.html"><div class="symbol"></div> <p>LibreOffice 6.4 Help</p></a></div></header><div class="modules"> <button type="button" data-a11y-toggle="modules-nav" id="modules" onclick="setupModules('', 'en-US');">Module</button><nav id="modules-nav"></nav> </div> </div> <aside class="rightside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1">Contents</label><div id="Contents" class="contents-treeview"></div></aside><aside class="leftside"><div id="Index"> <div class="index-label">Index 🔎︎ </div> <div id="Bookmarks"> <input id="search-bar" type="text" class="search" placeholder="Search in chosen module"><nav class="index"></nav> </div> </div></aside><div id="DisplayArea" itemprop="articleBody"> <a name="bm_id3147434"></a><meta itemprop="keywords" content="cells, defining names"> <meta itemprop="keywords" content="names, defining for cells"> <meta itemprop="keywords" content="values, defining names"> <meta itemprop="keywords" content="constants definition"> <meta itemprop="keywords" content="variables, defining names"> <meta itemprop="keywords" content="cell ranges, defining names"> <meta itemprop="keywords" content="defining,names for cell ranges"> <meta itemprop="keywords" content="formulas, defining names"> <meta itemprop="keywords" content="addressing, by defined names"> <meta itemprop="keywords" content="cell names, defining/addressing"> <meta itemprop="keywords" content="references, by defined names"> <meta itemprop="keywords" content="allowed cell names"> <meta itemprop="keywords" content="renaming,cells"> <h1 itemprop="articleSection" id="hd_id3147434"> <a name="value_with_name"></a>Naming Cells </h1> <h2 itemprop="articleSection" id="hd_id4391918">Allowed names</h2> <p id="par_id2129581" class="paragraph">Names in Calc can contain letters, numeric characters, and some special characters. Names must start with a letter or an underline character.</p> <p id="par_id1120029" class="paragraph">Allowed special characters:</p> <ul> <li> <p id="par_id3362224" class="paragraph">underline (_) </p> </li> <li> <p id="par_id4891506" class="paragraph">period (.) - allowed within a name, but not as first or last character</p> </li> <li> <p id="par_id2816553" class="paragraph">blank ( ) - allowed within a name, but not as first or last character, and not for a cell range</p> </li> </ul> <p id="par_id328989" class="paragraph">Names must not be the same as cell references. For example, the name A1 is invalid because A1 is a cell reference to the top left cell.</p> <p id="par_id32898987" class="paragraph">Names must not start with the letter R followed by a number. See the ADDRESS function for more information.</p> <p id="par_id4769737" class="paragraph">Names for cell ranges must not include blanks. Blanks are allowed within names for single cells, sheets and documents.</p> <h2 itemprop="articleSection" id="hd_id1226233">Naming cells and formulas</h2> <p id="par_id5489364" class="paragraph">A good way of making the references to cells and cell ranges in formulas legible is to give the ranges names. For example, you can name the range A1:B2 <span class="emph">Start</span>. You can then write a formula such as "=SUM(Start)". Even after you insert or delete rows or columns, LibreOffice still correctly assigns the ranges identified by name. Range names must not contain any spaces.</p> <p id="par_id953398" class="paragraph">For example, it is much easier to read a formula for sales tax if you can write "= Amount * Tax_rate" instead of "= A5 * B12". In this case, you would name cell A5 "Amount" and cell B12 "Tax_rate."</p> <p id="par_id4889675" class="paragraph">Use the <span class="emph">Define Names</span> dialog to define names for formulas or parts of formulas you need more often. In order to specify range names,</p> <ol> <li> <p id="par_id3153954" class="listitem">Select a cell or range of cells, then choose <span class="emph">Sheet - Named Ranges and Expressions - Define</span>. The <span class="emph">Define Names</span> dialog appears.</p> </li> <li> <p id="par_id3156283" class="listitem">Type the name of the selected area in the <span class="emph">Name</span> field. Click <span class="emph">Add</span>. The newly defined name appears in the list below. Click OK to close the dialog.</p> </li> </ol> <p id="par_id5774101" class="paragraph">You can also name other cell ranges in this dialog by entering the name in the field and then selecting the respective cells.</p> <p id="par_id3154942" class="paragraph">If you type the name in a formula, after the first few characters entered you will see the entire name as a tip.</p> <ul> <li> <p id="par_id3154510" class="listitem">Press the Enter key in order to accept the name from the tip.</p> </li> <li> <p id="par_id3150749" class="listitem">If more than one name starts with the same characters, you can scroll forward through all the names using the Ctrl + Tab keys and backward using the Shift + Ctrl + Tab keys.</p> </li> </ul> <a name="relatedtopics"></a><div class="relatedtopics"> <p class="related" itemprop="mentions"><a name="related"></a><span class="emph">Related Topics</span> </p> <div class="relatedbody" itemprop="mentions"> <p id="par_id3153711" class="paragraph"><a target="_top" href="en-US/text/scalc/01/04070100.html">Sheet - Named Ranges and Expressions - Define</a></p> <div class="embedded"><p class="embedded"><a name="goalseek"></a><a target="_top" href="en-US/text/scalc/guide/goalseek.html">Applying Goal Seek</a> </p></div> <div class="embedded"><p class="embedded"><a name="relativ_absolut_ref"></a><a target="_top" href="en-US/text/scalc/guide/relativ_absolut_ref.html">Addresses and References, Absolute and Relative</a> </p></div> <div class="embedded"><p class="embedded"><a name="address_auto"></a><a target="_top" href="en-US/text/scalc/guide/address_auto.html">Recognizing Names as Addressing</a></p></div> </div> </div> </div> <div class="search-frame"></div> <div class="donation-frame"></div> <footer><div id="DEBUG" class="debug"> <h3 class="bug">Help content debug info:</h3> <p>This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/scalc/guide/value_with_name.xhp" target="_blank">/text/scalc/guide/value_with_name.xhp</a></p> <p>Title is: Naming Cells</p> <p id="bm_module"></p> <p id="bm_system"></p> <p id="bm_HID"></p> </div></footer> </body> </html>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
address_auto.html | File | 6.34 KB | 0644 |
|
auto_off.html | File | 6.82 KB | 0644 |
|
autofilter.html | File | 6.93 KB | 0644 |
|
autoformat.html | File | 5.89 KB | 0644 |
|
background.html | File | 5.48 KB | 0644 |
|
borders.html | File | 13.91 KB | 0644 |
|
calc_date.html | File | 5.68 KB | 0644 |
|
calc_series.html | File | 7.9 KB | 0644 |
|
calc_timevalues.html | File | 3.88 KB | 0644 |
|
calculate.html | File | 4.83 KB | 0644 |
|
cell_enter.html | File | 5.78 KB | 0644 |
|
cell_protect.html | File | 8.4 KB | 0644 |
|
cell_unprotect.html | File | 4.05 KB | 0644 |
|
cellcopy.html | File | 6 KB | 0644 |
|
cellreference_dragdrop.html | File | 5.55 KB | 0644 |
|
cellreferences.html | File | 7.89 KB | 0644 |
|
cellreferences_url.html | File | 5.8 KB | 0644 |
|
cellstyle_by_formula.html | File | 5.69 KB | 0644 |
|
cellstyle_conditional.html | File | 11.13 KB | 0644 |
|
cellstyle_minusvalue.html | File | 4.84 KB | 0644 |
|
consolidate.html | File | 7.86 KB | 0644 |
|
csv_files.html | File | 8.52 KB | 0644 |
|
csv_formula.html | File | 7.83 KB | 0644 |
|
currency_format.html | File | 6.4 KB | 0644 |
|
database_define.html | File | 5.14 KB | 0644 |
|
database_filter.html | File | 6.94 KB | 0644 |
|
database_sort.html | File | 4.46 KB | 0644 |
|
datapilot.html | File | 4.93 KB | 0644 |
|
datapilot_createtable.html | File | 7.93 KB | 0644 |
|
datapilot_deletetable.html | File | 5 KB | 0644 |
|
datapilot_edittable.html | File | 6.43 KB | 0644 |
|
datapilot_filtertable.html | File | 7.52 KB | 0644 |
|
datapilot_grouping.html | File | 5.42 KB | 0644 |
|
datapilot_tipps.html | File | 5.58 KB | 0644 |
|
datapilot_updatetable.html | File | 4.96 KB | 0644 |
|
dbase_files.html | File | 7.72 KB | 0644 |
|
design.html | File | 6 KB | 0644 |
|
edit_multitables.html | File | 4.92 KB | 0644 |
|
filters.html | File | 5.96 KB | 0644 |
|
finding.html | File | 7.59 KB | 0644 |
|
format_table.html | File | 6.51 KB | 0644 |
|
format_value.html | File | 6.08 KB | 0644 |
|
format_value_userdef.html | File | 7.56 KB | 0644 |
|
formula_copy.html | File | 5.33 KB | 0644 |
|
formula_enter.html | File | 6.79 KB | 0644 |
|
formula_value.html | File | 4.36 KB | 0644 |
|
formulas.html | File | 6.45 KB | 0644 |
|
fraction_enter.html | File | 4.39 KB | 0644 |
|
goalseek.html | File | 6.14 KB | 0644 |
|
html_doc.html | File | 5.91 KB | 0644 |
|
integer_leading_zero.html | File | 6.08 KB | 0644 |
|
keyboard.html | File | 7.85 KB | 0644 |
|
line_fix.html | File | 5.72 KB | 0644 |
|
main.html | File | 22.58 KB | 0644 |
|
mark_cells.html | File | 6.82 KB | 0644 |
|
matrixformula.html | File | 4.72 KB | 0644 |
|
move_dragdrop.html | File | 9.4 KB | 0644 |
|
multi_tables.html | File | 4.51 KB | 0644 |
|
multioperation.html | File | 9.26 KB | 0644 |
|
multitables.html | File | 5.97 KB | 0644 |
|
note_insert.html | File | 5.34 KB | 0644 |
|
numbers_text.html | File | 9.54 KB | 0644 |
|
pivotchart.html | File | 4.91 KB | 0644 |
|
pivotchart_create.html | File | 5.76 KB | 0644 |
|
pivotchart_delete.html | File | 4.77 KB | 0644 |
|
pivotchart_edit.html | File | 7.79 KB | 0644 |
|
pivotchart_filter.html | File | 5.41 KB | 0644 |
|
pivotchart_update.html | File | 4.56 KB | 0644 |
|
print_details.html | File | 5.24 KB | 0644 |
|
print_exact.html | File | 4.84 KB | 0644 |
|
print_landscape.html | File | 6.95 KB | 0644 |
|
print_title_row.html | File | 6.4 KB | 0644 |
|
printranges.html | File | 7.71 KB | 0644 |
|
relativ_absolut_ref.html | File | 7.76 KB | 0644 |
|
rename_table.html | File | 7.49 KB | 0644 |
|
rounding_numbers.html | File | 5.81 KB | 0644 |
|
row_height.html | File | 5.25 KB | 0644 |
|
scenario.html | File | 6.81 KB | 0644 |
|
sorted_list.html | File | 5.1 KB | 0644 |
|
specialfilter.html | File | 11.25 KB | 0644 |
|
super_subscript.html | File | 4.19 KB | 0644 |
|
table_cellmerge.html | File | 4.88 KB | 0644 |
|
table_rotate.html | File | 4.28 KB | 0644 |
|
table_view.html | File | 4.65 KB | 0644 |
|
text_numbers.html | File | 5.23 KB | 0644 |
|
text_rotate.html | File | 4.05 KB | 0644 |
|
text_wrap.html | File | 4.12 KB | 0644 |
|
userdefined_function.html | File | 8.33 KB | 0644 |
|
validity.html | File | 7.79 KB | 0644 |
|
value_with_name.html | File | 7.99 KB | 0644 |
|
webquery.html | File | 7.11 KB | 0644 |
|
year2000.html | File | 4.12 KB | 0644 |
|