<!DOCTYPE html> <html lang="en-US"> <head> <base href="../../../../"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Validity of Cell Contents</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_id3156442"></a><meta itemprop="keywords" content="values, limiting on input"> <meta itemprop="keywords" content="limits, specifying value limits on input"> <meta itemprop="keywords" content="permitted cell contents"> <meta itemprop="keywords" content="data validity"> <meta itemprop="keywords" content="validity"> <meta itemprop="keywords" content="cells, validity"> <meta itemprop="keywords" content="error messages, defining for incorrect input"> <meta itemprop="keywords" content="actions in case of incorrect input"> <meta itemprop="keywords" content="Help tips, defining text for cell input"> <meta itemprop="keywords" content="comments,help text for cells"> <meta itemprop="keywords" content="cells, defining input help"> <meta itemprop="keywords" content="macros, running when incorrect input"> <meta itemprop="keywords" content="data, validity check"> <h1 itemprop="articleSection" id="hd_id3156442"> <a name="validity"></a>Validity of Cell Contents </h1> <p id="par_id3156283" class="paragraph">For each cell, you can define entries to be valid. Invalid entries to a cell will be rejected.</p> <div class="warning"> <div class="noteicon"><img src="media/icon-themes/res/helpimg/warning.svg" alt="Warning Icon " title="Warning Icon " style="width:40px;height:40px;"></div> <div class="notetext"><p>The validity rule is activated when a new value is entered. If an invalid value has already been inserted into the cell, or if you insert a value in the cell either with drag-and-drop or by copying and pasting, the validity rule will not take effect.</p></div> </div> <br> <div class="note"> <div class="noteicon"><img src="media/icon-themes/res/helpimg/note.svg" alt="Note Icon " title="Note Icon " style="width:40px;height:40px;"></div> <div class="notetext"><p>You can choose <span class="emph">Tools - Detective</span> at any time and choose the command <a target="_top" href="en-US/text/scalc/01/06030800.html"><span class="emph">Mark Invalid Data</span></a> to display which cells contain invalid values.</p></div> </div> <br> <h2 itemprop="articleSection" id="hd_id3155603">Using Cell Contents Validity</h2> <ol> <li> <p id="par_id3155959" class="paragraph">Select the cells for which you want to define a new validity rule.</p> </li> <li> <p id="par_id3148837" class="paragraph">Choose <span class="menuitem">Data - Validity</span>. </p> </li> <li> <p id="par_id3156020" class="paragraph">On the <span class="emph">Criteria</span> tab page, enter the conditions for new values entered into cells. </p> </li> <li> <p id="par_id3159208" class="paragraph">In the <span class="emph">Allow</span> field, select an option.</p> </li> <li> <p id="par_id3153011" class="paragraph">If you select "Whole Numbers", values such as "12.5" are not allowed. Choosing "Date" allows date information both in the local date format as well as in the form of a <a target="_top" href="en-US/text/sbasic/shared/03030101.html">serial date</a>. Similarly, the "Time" condition permits time values such as "12:00" or serial time numbers. "Text Length" stipulates that cells are allowed to contain text only.</p> <p id="par_id9224829" class="paragraph">Select "List" to enter a list of valid entries.</p> </li> <li> <p id="par_id3149317" class="paragraph">Select the next condition under <span class="emph">Data</span>. According to what you choose, additional options will be selectable.</p> </li> </ol> <p id="par_id3151389" class="paragraph">After you have determined the conditions for cell validity, you can use the other two tab pages to create message boxes:</p> <ul> <li> <p id="par_id3159261" class="listitem">On the <span class="emph">Input Help</span> tab page, enter the title and the text of the tip, which will then be displayed if the cell is selected.</p> </li> <li> <p id="par_id3156396" class="listitem">On the <span class="emph">Error Alert</span> tab page, select the action to be carried out in the event of an error.</p> <p id="par_id3147416" class="listitem">If you select "Stop" as the action, invalid entries are not accepted, and the previous cell contents are retained.</p> <p id="par_id3150033" class="listitem">Select "Warning" or "Information" to display a dialog in which the entry can either be canceled or accepted.</p> <p id="par_id3149947" class="listitem">If you select "Macro", then by using the <span class="emph">Browse</span> button you can specify a macro to be run in the event of an error.</p> </li> </ul> <p id="par_id3149011" class="paragraph">To display the error message, select <a target="_top" href="en-US/text/scalc/01/12120300.html">Show error message when invalid values are entered</a>.</p> <div class="note"> <div class="noteicon"><img src="media/icon-themes/res/helpimg/note.svg" alt="Note Icon " title="Note Icon " style="width:40px;height:40px;"></div> <div class="notetext"><p>After changing the action for a cell on the <span class="emph">Error Alert</span> tab page and closing the dialog with OK, you must first select another cell before the change takes effect.</p></div> </div> <br> <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_id3154805" class="paragraph"><a target="_top" href="en-US/text/scalc/01/12120000.html">Data - Validity</a></p> </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/validity.xhp" target="_blank">/text/scalc/guide/validity.xhp</a></p> <p>Title is: Validity of Cell Contents</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 |
|