1<?xml version="1.0" encoding="UTF-8"?> 2 3<!--*********************************************************** 4 * 5 * Licensed to the Apache Software Foundation (ASF) under one 6 * or more contributor license agreements. See the NOTICE file 7 * distributed with this work for additional information 8 * regarding copyright ownership. The ASF licenses this file 9 * to you under the Apache License, Version 2.0 (the 10 * "License"); you may not use this file except in compliance 11 * with the License. You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, 16 * software distributed under the License is distributed on an 17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 * KIND, either express or implied. See the License for the 19 * specific language governing permissions and limitations 20 * under the License. 21 * 22 ***********************************************************--> 23 24<helpdocument version="1.0"> 25<meta> 26<topic id="textscalc0104060104xml" indexer="include"> 27<title id="tit" xml-lang="en-US">Information Functions</title> 28<filename>/text/scalc/01/04060104.xhp</filename> 29</topic> 30</meta> 31<body> 32<bookmark xml-lang="en-US" branch="index" id="bm_id3147247"> 33<bookmark_value>information functions</bookmark_value> 34<bookmark_value>Function Wizard; information</bookmark_value> 35<bookmark_value>functions; information functions</bookmark_value> 36</bookmark> 37<paragraph role="heading" id="hd_id3147247" xml-lang="en-US" level="1" l10n="U">Information Functions</paragraph> 38<paragraph role="paragraph" id="par_id3147499" xml-lang="en-US" l10n="CHG"><variable id="informationtext">This category contains the <emph>Information</emph> functions. 39</variable></paragraph> 40<section id="howtoget"> 41<embed href="text/scalc/00/00000404.xhp#eikain"/> 42</section> 43<paragraph role="paragraph" id="par_id3159128" xml-lang="en-US" l10n="U">The data in the following table serves as the basis for some of the examples in the function descriptions:</paragraph> 44<table id="tbl_id3157876"> 45<tablerow> 46<tablecell> 47</tablecell> 48<tablecell> 49<paragraph role="tablehead" id="par_id3146885" xml-lang="en-US" l10n="U">C</paragraph> 50</tablecell> 51<tablecell> 52<paragraph role="tablehead" id="par_id3149944" xml-lang="en-US" l10n="U">D</paragraph> 53</tablecell> 54</tablerow> 55<tablerow> 56<tablecell> 57<paragraph role="tablecontent" id="par_id3150457" xml-lang="en-US" l10n="U"><emph>2</emph></paragraph> 58</tablecell> 59<tablecell> 60<paragraph role="tablecontent" id="par_id3150024" xml-lang="en-US" l10n="U">x <item type="input">value</item></paragraph> 61</tablecell> 62<tablecell> 63<paragraph role="tablecontent" id="par_id3148725" xml-lang="en-US" l10n="U">y <item type="input">value</item></paragraph> 64</tablecell> 65</tablerow> 66<tablerow> 67<tablecell> 68<paragraph role="tablecontent" id="par_id3150480" xml-lang="en-US" l10n="U"><emph>3</emph></paragraph> 69</tablecell> 70<tablecell> 71<paragraph role="tablecontent" id="par_id3148440" xml-lang="en-US" l10n="U"><item type="input">-5</item></paragraph> 72</tablecell> 73<tablecell> 74<paragraph role="tablecontent" id="par_id3148888" xml-lang="en-US" l10n="U"><item type="input">-3</item></paragraph> 75</tablecell> 76</tablerow> 77<tablerow> 78<tablecell> 79<paragraph role="tablecontent" id="par_id3153034" xml-lang="en-US" l10n="U"><emph>4</emph></paragraph> 80</tablecell> 81<tablecell> 82<paragraph role="tablecontent" id="par_id3150139" xml-lang="en-US" l10n="U"><item type="input">-2</item></paragraph> 83</tablecell> 84<tablecell> 85<paragraph role="tablecontent" id="par_id3149542" xml-lang="en-US" l10n="U"><item type="input">0</item></paragraph> 86</tablecell> 87</tablerow> 88<tablerow> 89<tablecell> 90<paragraph role="tablecontent" id="par_id3149188" xml-lang="en-US" l10n="U"><emph>5</emph></paragraph> 91</tablecell> 92<tablecell> 93<paragraph role="tablecontent" id="par_id3153329" xml-lang="en-US" l10n="U"><item type="input">-1</item></paragraph> 94</tablecell> 95<tablecell> 96<paragraph role="tablecontent" id="par_id3155257" xml-lang="en-US" l10n="U"><item type="input">1</item></paragraph> 97</tablecell> 98</tablerow> 99<tablerow> 100<tablecell> 101<paragraph role="tablecontent" id="par_id3145142" xml-lang="en-US" l10n="U"><emph>6</emph></paragraph> 102</tablecell> 103<tablecell> 104<paragraph role="tablecontent" id="par_id3149956" xml-lang="en-US" l10n="U"><item type="input">0</item></paragraph> 105</tablecell> 106<tablecell> 107<paragraph role="tablecontent" id="par_id3145594" xml-lang="en-US" l10n="U"><item type="input">3</item></paragraph> 108</tablecell> 109</tablerow> 110<tablerow> 111<tablecell> 112<paragraph role="tablecontent" id="par_id3153113" xml-lang="en-US" l10n="U"><emph>7</emph></paragraph> 113</tablecell> 114<tablecell> 115<paragraph role="tablecontent" id="par_id3148573" xml-lang="en-US" l10n="U"><item type="input">2</item></paragraph> 116</tablecell> 117<tablecell> 118<paragraph role="tablecontent" id="par_id3145166" xml-lang="en-US" l10n="U"><item type="input">4</item></paragraph> 119</tablecell> 120</tablerow> 121<tablerow> 122<tablecell> 123<paragraph role="tablecontent" id="par_id3157998" xml-lang="en-US" l10n="U"><emph>8</emph></paragraph> 124</tablecell> 125<tablecell> 126<paragraph role="tablecontent" id="par_id3150018" xml-lang="en-US" l10n="U"><item type="input">4</item></paragraph> 127</tablecell> 128<tablecell> 129<paragraph role="tablecontent" id="par_id3150129" xml-lang="en-US" l10n="U"><item type="input">6</item></paragraph> 130</tablecell> 131</tablerow> 132<tablerow> 133<tablecell> 134<paragraph role="tablecontent" id="par_id3145245" xml-lang="en-US" l10n="U"><emph>9</emph></paragraph> 135</tablecell> 136<tablecell> 137<paragraph role="tablecontent" id="par_id3148389" xml-lang="en-US" l10n="U"><item type="input">6</item></paragraph> 138</tablecell> 139<tablecell> 140<paragraph role="tablecontent" id="par_id3156068" xml-lang="en-US" l10n="U"><item type="input">8</item></paragraph> 141</tablecell> 142</tablerow> 143</table> 144<sort order="asc"> 145<section id="info"> 146<bookmark xml-lang="en-US" branch="index" id="bm_id3691824"> 147<bookmark_value>INFO function</bookmark_value> 148</bookmark> 149<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_INFO" id="bm_id5369426" localize="false"/> 150<paragraph role="heading" id="hd_id5787224" xml-lang="en-US" level="2" l10n="NEW">INFO</paragraph> 151<paragraph role="paragraph" id="par_id1507309" xml-lang="en-US" l10n="NEW">Returns specific information about the current working environment. The function receives a single text argument and returns data depending on that parameter.</paragraph> 152<paragraph role="heading" id="hd_id7693411" xml-lang="en-US" level="3" l10n="NEW">Syntax</paragraph> 153<paragraph role="code" id="par_id3928952" xml-lang="en-US" l10n="NEW">INFO("Type")</paragraph> 154<paragraph role="paragraph" id="par_id5206762" xml-lang="en-US" l10n="NEW">The following table lists the values for the text parameter <item type="literal">Type</item> and the return values of the INFO function.</paragraph> 155<table id="tbl_id1342204"> 156<tablerow> 157<tablecell> 158<paragraph role="tablehead" id="par_id5735953" xml-lang="en-US" l10n="NEW">Value for "Type"<comment>Do not translate the text values in this column below</comment></paragraph> 159</tablecell> 160<tablecell> 161<paragraph role="tablehead" id="par_id8360850" xml-lang="en-US" l10n="NEW">Return value</paragraph> 162</tablecell> 163</tablerow> 164<tablerow> 165<tablecell> 166<paragraph role="tablecontent" id="par_id9648731" xml-lang="en-US" l10n="NEW">"osversion"</paragraph> 167</tablecell> 168<tablecell> 169<paragraph role="tablecontent" id="par_id908841" xml-lang="en-US" l10n="NEW">Always "Windows (32-bit) NT 5.01", for compatibility reasons</paragraph> 170</tablecell> 171</tablerow> 172<tablerow> 173<tablecell> 174<paragraph role="tablecontent" id="par_id8193914" xml-lang="en-US" l10n="NEW">"system"</paragraph> 175</tablecell> 176<tablecell> 177<paragraph role="tablecontent" id="par_id9841608" xml-lang="en-US" l10n="NEW">The type of the operating system.<br/>"WNT" for Microsoft Windows<br/>"LINUX" for Linux<br/>"SOLARIS" for Solaris</paragraph> 178</tablecell> 179</tablerow> 180<tablerow> 181<tablecell> 182<paragraph role="tablecontent" id="par_id2701803" xml-lang="en-US" l10n="NEW">"release"</paragraph> 183</tablecell> 184<tablecell> 185<paragraph role="tablecontent" id="par_id2136295" xml-lang="en-US" l10n="NEW">The product release identifier, for example "300m25(Build:9876)"</paragraph> 186</tablecell> 187</tablerow> 188<tablerow> 189<tablecell> 190<paragraph role="tablecontent" id="par_id9200109" xml-lang="en-US" l10n="NEW">"numfile"</paragraph> 191</tablecell> 192<tablecell> 193<paragraph role="tablecontent" id="par_id4186223" xml-lang="en-US" l10n="NEW">Always 1, for compatibility reasons</paragraph> 194</tablecell> 195</tablerow> 196<tablerow> 197<tablecell> 198<paragraph role="tablecontent" id="par_id5766472" xml-lang="en-US" l10n="NEW">"recalc"</paragraph> 199</tablecell> 200<tablecell> 201<paragraph role="tablecontent" id="par_id1491134" xml-lang="en-US" l10n="NEW">Current formula recalculation mode, either "Automatic" or "Manual" (localized into %PRODUCTNAME language)</paragraph> 202</tablecell> 203</tablerow> 204</table> 205<paragraph role="note" id="par_id1161534" xml-lang="en-US" l10n="NEW">Other spreadsheet applications may accept localized values for the <item type="literal">Type</item> parameter, but %PRODUCTNAME Calc will only accept the English values.</paragraph> 206<paragraph role="heading" id="hd_id5459456" xml-lang="en-US" level="3" l10n="NEW">Example</paragraph> 207<paragraph role="paragraph" id="par_id3994567" xml-lang="en-US" l10n="NEW"><item type="input">=INFO("release")</item> returns the product release number of the %PRODUCTNAME in use.<comment>Do not translate "release"</comment></paragraph> 208<paragraph role="paragraph" id="par_id2873622" xml-lang="en-US" l10n="NEW"><item type="input">=INFO(D5)</item> with cell <item type="literal">D5</item> containing a text string <item type="literal">system</item> returns the operating system type.<comment>Do not translate the hlp_literal system</comment></paragraph> 209</section> 210<section id="current"> 211<bookmark xml-lang="en-US" branch="index" id="bm_id3155625"> 212<bookmark_value>CURRENT function</bookmark_value> 213</bookmark> 214<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_AKTUELL" id="bm_id3145295" localize="false"/> 215<paragraph role="heading" id="hd_id3155625" xml-lang="en-US" level="2" l10n="U">CURRENT</paragraph> 216<paragraph role="paragraph" id="par_id3157975" xml-lang="en-US" l10n="CHG"><ahelp hid="HID_FUNC_AKTUELL">This function returns the result to date of evaluating the formula of which it is a part (in other words the result as far as that evaluation has got). Its main use is together with the STYLE() function to apply selected styles to a cell depending on the cell contents.</ahelp></paragraph> 217<paragraph role="heading" id="hd_id3148880" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 218<paragraph role="code" id="par_id3150930" xml-lang="en-US" l10n="U">CURRENT()</paragraph> 219<paragraph role="heading" id="hd_id3145629" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 220<paragraph role="paragraph" id="par_id5919064" xml-lang="en-US" l10n="NEW"><item type="input">=1+2+CURRENT()</item> 221</paragraph> 222<paragraph role="paragraph" id="par_id8751792" xml-lang="en-US" l10n="NEW">The example returns 6. The formula is calculated from left to right as: 1 + 2 equals 3, giving the result to date when CURRENT() is encountered; CURRENT() therefore yields 3, which is added to the original 3 to give 6.</paragraph> 223<paragraph role="paragraph" id="par_id5863826" xml-lang="en-US" l10n="NEW"><item type="input">=A2+B2+STYLE(IF(CURRENT()>10;”Red”;”Default”))</item> 224</paragraph> 225<paragraph role="paragraph" id="par_id7463911" xml-lang="en-US" l10n="NEW">The example returns A2 + B2 (STYLE returns 0 here). If this sum is greater than 10, the style Red is applied to the cell. See the <emph>STYLE</emph> function for more explanation.</paragraph> 226<paragraph role="paragraph" id="par_id7318643" xml-lang="en-US" l10n="NEW"><item type="input">="choo"&CURRENT()</item> 227</paragraph> 228<paragraph role="paragraph" id="par_id6019165" xml-lang="en-US" l10n="NEW">The example returns choochoo.</paragraph> 229</section> 230<section id="formula"> 231<bookmark xml-lang="en-US" branch="index" id="bm_id3150688"> 232<bookmark_value>FORMULA function</bookmark_value> 233<bookmark_value>formula cells;displaying formulas in other cells</bookmark_value> 234<bookmark_value>displaying;formulas at any position</bookmark_value> 235</bookmark><comment>mw added "formula cells;" and "displaying;"</comment> 236<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_FORMEL" id="bm_id3155373" localize="false"/> 237<paragraph role="heading" id="hd_id3150688" xml-lang="en-US" level="2" l10n="U">FORMULA</paragraph> 238<paragraph role="paragraph" id="par_id3158417" xml-lang="en-US" l10n="CHG"><ahelp hid="HID_FUNC_FORMEL">Displays the formula of a formula cell as a text string.</ahelp></paragraph> 239<paragraph role="heading" id="hd_id3154954" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 240<paragraph role="code" id="par_id3147535" xml-lang="en-US" l10n="CHG">FORMULA(Reference)</paragraph> 241<paragraph role="paragraph" id="par_id3014313" xml-lang="en-US" l10n="NEW"> 242<emph>Reference</emph> is a reference to a cell containing a formula.</paragraph> 243<paragraph role="paragraph" id="par_id8857081" xml-lang="en-US" l10n="NEW">An invalid reference or a reference to a cell with no formula results in the error value #N/A.</paragraph> 244<paragraph role="heading" id="hd_id3152820" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 245<paragraph role="paragraph" id="par_id3153179" xml-lang="en-US" l10n="CHG">If cell A8 contains the formula <item type="input">=SUM(1;2;3)</item> then</paragraph> 246<paragraph role="paragraph" id="par_id3153923" xml-lang="en-US" l10n="CHG"><item type="input">=FORMULA(A8)</item> returns the text =SUM(1;2;3).</paragraph> 247</section> 248<section id="isref"> 249<bookmark xml-lang="en-US" branch="index" id="bm_id3155409"> 250<bookmark_value>ISREF function</bookmark_value> 251<bookmark_value>references;testing cell contents</bookmark_value> 252<bookmark_value>cell contents;testing for references</bookmark_value> 253</bookmark><comment>mw added "references;" and "cell contents;"</comment> 254<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTBEZUG" id="bm_id3149774" localize="false"/> 255<paragraph role="heading" id="hd_id3155409" xml-lang="en-US" level="2" l10n="U">ISREF</paragraph> 256<paragraph role="paragraph" id="par_id3153723" xml-lang="en-US" l10n="CHG"><ahelp hid="HID_FUNC_ISTBEZUG">Tests if the argument is a reference.</ahelp> Returns TRUE if the argument is a reference, returns FALSE otherwise. When given a reference this function does not examine the value being referenced.<comment>i82565</comment></paragraph> 257<embed href="text/shared/00/00000001.xhp#wahr"/> 258<paragraph role="heading" id="hd_id3147175" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 259<paragraph role="code" id="par_id3149821" xml-lang="en-US" l10n="U">ISREF(Value)</paragraph> 260<paragraph role="paragraph" id="par_id3146152" xml-lang="en-US" l10n="U"><emph>Value</emph> is the value to be tested, to determine whether it is a reference.</paragraph> 261<paragraph role="heading" id="hd_id3083448" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 262<paragraph role="paragraph" id="par_id3154317" xml-lang="en-US" l10n="CHG"><item type="input">=ISREF(C5)</item> returns the result TRUE because C5 is a valid reference.</paragraph> 263<paragraph role="paragraph" id="par_id9728072" xml-lang="en-US" l10n="CHG"><item type="input">=ISREF("abcdef")</item> returns always FALSE because a text can never be a reference.</paragraph> 264<paragraph role="paragraph" id="par_id2131544" xml-lang="en-US" l10n="NEW"><item type="input">=ISREF(4)</item> returns FALSE.</paragraph> 265<paragraph role="paragraph" id="par_id4295480" xml-lang="en-US" l10n="NEW"><item type="input">=ISREF(INDIRECT("A6"))</item> returns TRUE, because INDIRECT is a function that returns a reference.</paragraph> 266<paragraph role="paragraph" id="par_id3626819" xml-lang="en-US" l10n="NEW"><item type="input">=ISREF(ADDRESS(1; 1; 2;"Sheet2"))</item> returns FALSE, because ADDRESS is a function that returns a text, although it looks like a reference.</paragraph> 267</section> 268<section id="iserr"> 269<bookmark xml-lang="en-US" branch="index" id="bm_id3154812"> 270<bookmark_value>ISERR function</bookmark_value> 271<bookmark_value>error codes;controlling</bookmark_value> 272</bookmark><comment>mw added "error codes,"</comment> 273<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTFEHL" id="bm_id3145081" localize="false"/> 274<paragraph role="heading" id="hd_id3154812" xml-lang="en-US" level="2" l10n="U">ISERR</paragraph> 275<paragraph role="paragraph" id="par_id3149282" xml-lang="en-US" l10n="CHG"><ahelp hid="HID_FUNC_ISTFEHL">Tests for error conditions, except the #N/A error value, and returns TRUE or FALSE.</ahelp></paragraph> 276<embed href="text/shared/00/00000001.xhp#wahr"/> 277<paragraph role="heading" id="hd_id3149450" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 278<paragraph role="code" id="par_id3156312" xml-lang="en-US" l10n="U">ISERR(Value)</paragraph> 279<paragraph role="paragraph" id="par_id3146857" xml-lang="en-US" l10n="CHG"> 280<emph>Value</emph> is any value or expression which is tested to see whether an error value other than #N/A is present.</paragraph> 281<paragraph role="heading" id="hd_id3153212" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 282<paragraph role="paragraph" id="par_id3153276" xml-lang="en-US" l10n="CHG"><item type="input">=ISERR(C8)</item> where cell C8 contains <item type="input">=1/0</item> returns TRUE, because 1/0 is an error.</paragraph> 283<paragraph role="paragraph" id="par_id8456984" xml-lang="en-US" l10n="NEW"><item type="input">=ISERR(C9)</item> where cell C9 contains <item type="input">=NA()</item> returns FALSE, because ISERR() ignores the #N/A error.</paragraph> 284</section> 285<section id="iserror"> 286<bookmark xml-lang="en-US" branch="index" id="bm_id3147081"> 287<bookmark_value>ISERROR function</bookmark_value> 288<bookmark_value>recognizing;general errors</bookmark_value> 289</bookmark><comment>mw added "recognizing;"</comment> 290<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTFEHLER" id="bm_id3145206" localize="false"/> 291<paragraph role="heading" id="hd_id3147081" xml-lang="en-US" level="2" l10n="U">ISERROR</paragraph> 292<paragraph role="paragraph" id="par_id3156316" xml-lang="en-US" l10n="CHG"><ahelp hid="HID_FUNC_ISTFEHLER">Tests for error conditions, including the #N/A error value, and returns TRUE or FALSE.</ahelp></paragraph> 293<embed href="text/shared/00/00000001.xhp#wahr"/> 294<paragraph role="heading" id="hd_id3147569" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 295<paragraph role="code" id="par_id3153155" xml-lang="en-US" l10n="U">ISERROR(Value)</paragraph> 296<paragraph role="paragraph" id="par_id3154047" xml-lang="en-US" l10n="CHG"> 297<emph>Value</emph> is or refers to the value to be tested. ISERROR() returns TRUE if there is an error and FALSE if not.</paragraph> 298<paragraph role="heading" id="hd_id3155994" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 299<paragraph role="paragraph" id="par_id3150256" xml-lang="en-US" l10n="CHG"><item type="input">=ISERROR(C8)</item> where cell C8 contains <item type="input">=1/0</item> returns TRUE, because 1/0 is an error.</paragraph> 300<paragraph role="paragraph" id="par_id1889095" xml-lang="en-US" l10n="NEW"><item type="input">=ISERROR(C9)</item> where cell C9 contains <item type="input">=NA()</item> returns TRUE.</paragraph> 301</section> 302<section id="isformula"> 303<bookmark xml-lang="en-US" branch="index" id="bm_id3153618"> 304<bookmark_value>ISFORMULA function</bookmark_value> 305<bookmark_value>recognizing formula cells</bookmark_value> 306<bookmark_value>formula cells;recognizing</bookmark_value> 307</bookmark><comment>mw inserted "recognizing..." and "formula cells;"</comment> 308<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTFORMEL" id="bm_id3154740" localize="false"/> 309<paragraph role="heading" id="hd_id3153618" xml-lang="en-US" level="2" l10n="U">ISFORMULA</paragraph> 310<paragraph role="paragraph" id="par_id3149138" xml-lang="en-US" l10n="U"><ahelp hid="HID_FUNC_ISTFORMEL">Returns TRUE if a cell is a formula cell.</ahelp></paragraph> 311<embed href="text/shared/00/00000001.xhp#wahr"/> 312<paragraph role="heading" id="hd_id3155100" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 313<paragraph role="code" id="par_id3143230" xml-lang="en-US" l10n="U">ISFORMULA(Reference)</paragraph> 314<paragraph role="paragraph" id="par_id3150150" xml-lang="en-US" l10n="U"><emph>Reference</emph> indicates the reference to a cell in which a test will be performed to determine if it contains a formula.</paragraph> 315<paragraph role="heading" id="hd_id3147491" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 316<paragraph role="paragraph" id="par_id3159182" xml-lang="en-US" l10n="CHG"><item type="input">=ISFORMULA(C4)</item> returns FALSE if the cell C4 contains the number <item type="input">5</item>.</paragraph> 317</section> 318<section id="iseven_add"> 319<bookmark xml-lang="en-US" branch="index" id="bm_id3149760"> 320<bookmark_value>ISEVEN_ADD function</bookmark_value> 321</bookmark> 322<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ISEVEN" id="bm_id3146094" localize="false"/> 323<paragraph role="heading" id="hd_id3149760" xml-lang="en-US" level="2">ISEVEN_ADD</paragraph> 324<paragraph role="paragraph" id="par_id3147253" xml-lang="en-US" l10n="CHG"><ahelp hid="HID_AAI_FUNC_ISEVEN">Tests for even numbers. Returns 1 if the number divided by 2 returns a whole number.</ahelp></paragraph> 325<embed href="text/scalc/01/04060102.xhp#ADD_note"/> 326<paragraph role="heading" id="hd_id3152799" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 327<paragraph role="code" id="par_id3149202" xml-lang="en-US" l10n="U">ISEVEN_ADD(Number)</paragraph> 328<paragraph role="paragraph" id="par_id3151168" xml-lang="en-US" l10n="CHG"><emph>Number</emph> is the number to be tested.</paragraph> 329<paragraph role="heading" id="hd_id3150115" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 330<paragraph role="paragraph" id="par_id3153904" xml-lang="en-US" l10n="U"><item type="input">=ISEVEN_ADD(5)</item> returns 0.</paragraph> 331<paragraph role="paragraph" id="par_id6238308" xml-lang="en-US" l10n="NEW"><item type="input">=ISEVEN_ADD(A1)</item> returns 1 if cell A1 contains the number <item type="input">2</item>.</paragraph> 332</section> 333<section id="isnontext"> 334<bookmark xml-lang="en-US" branch="index" id="bm_id3154692"> 335<bookmark_value>ISNONTEXT function</bookmark_value> 336<bookmark_value>cell contents;no text</bookmark_value> 337</bookmark><comment>mw added "cell contents;"</comment> 338<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTKTEXT" id="bm_id3159342" localize="false"/> 339<paragraph role="heading" id="hd_id3154692" xml-lang="en-US" level="2" l10n="U">ISNONTEXT</paragraph> 340<paragraph role="paragraph" id="par_id3155330" xml-lang="en-US" l10n="U"><ahelp hid="HID_FUNC_ISTKTEXT">Tests if the cell contents are text or numbers, and returns FALSE if the contents are text.</ahelp></paragraph> 341<paragraph role="paragraph" id="par_id5719779" xml-lang="en-US" l10n="NEW">If an error occurs, the function returns TRUE.</paragraph> 342<paragraph role="heading" id="hd_id3154931" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 343<paragraph role="code" id="par_id3148829" xml-lang="en-US" l10n="U">ISNONTEXT(Value)</paragraph> 344<paragraph role="paragraph" id="par_id3146992" xml-lang="en-US" l10n="U"><emph>Value</emph> is any value or expression where a test is performed to determine whether it is a text or numbers or a Boolean value.</paragraph> 345<paragraph role="heading" id="hd_id3150525" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 346<paragraph role="paragraph" id="par_id3149906" xml-lang="en-US" l10n="CHG"><item type="input">=ISNONTEXT(D2)</item> returns FALSE if cell D2 contains the text <item type="input">abcdef</item>.</paragraph> 347<paragraph role="paragraph" id="par_id3150777" xml-lang="en-US" l10n="CHG"><item type="input">=ISNONTEXT(D9)</item> returns TRUE if cell D9 contains the number <item type="input">8</item>.</paragraph> 348</section> 349<section id="isblank"> 350<bookmark xml-lang="en-US" branch="index" id="bm_id3159148"> 351<bookmark_value>ISBLANK function</bookmark_value> 352<bookmark_value>blank cell contents</bookmark_value> 353<bookmark_value>empty cells; recognizing</bookmark_value> 354</bookmark><comment>mw added "blank..." and "empty cells;"</comment> 355<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTLEER" id="bm_id3148940" localize="false"/> 356<paragraph role="heading" id="hd_id3159148" xml-lang="en-US" level="2" l10n="U">ISBLANK</paragraph> 357<paragraph role="paragraph" id="par_id3148800" xml-lang="en-US" l10n="U"><ahelp hid="HID_FUNC_ISTLEER">Returns TRUE if the reference to a cell is blank.</ahelp> This function is used to determine if the content of a cell is empty. A cell with a formula inside is not empty.</paragraph> 358<embed href="text/shared/00/00000001.xhp#wahr"/> 359<paragraph role="heading" id="hd_id3159162" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 360<paragraph role="code" id="par_id3158406" xml-lang="en-US" l10n="U">ISBLANK(Value)</paragraph> 361<paragraph role="paragraph" id="par_id3154212" xml-lang="en-US" l10n="U"><emph>Value</emph> is the content to be tested.</paragraph> 362<paragraph role="heading" id="hd_id3147508" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 363<paragraph role="paragraph" id="par_id3147234" xml-lang="en-US" l10n="U"><item type="input">=ISBLANK(D2)</item> returns FALSE as a result.</paragraph> 364</section> 365<section id="islogical"> 366<bookmark xml-lang="en-US" branch="index" id="bm_id3155356"> 367<bookmark_value>ISLOGICAL function</bookmark_value> 368<bookmark_value>number formats;logical</bookmark_value> 369<bookmark_value>logical number formats</bookmark_value> 370</bookmark><comment>mw added "number formats;" and "logical..."</comment> 371<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTLOG" id="bm_id3158424" localize="false"/> 372<paragraph role="heading" id="hd_id3155356" xml-lang="en-US" level="2" l10n="U">ISLOGICAL</paragraph> 373<paragraph role="paragraph" id="par_id3148926" xml-lang="en-US" l10n="CHG"><ahelp hid="HID_FUNC_ISTLOG">Tests for a logical value (TRUE or FALSE).</ahelp></paragraph> 374<paragraph role="paragraph" id="par_id3541062" xml-lang="en-US" l10n="NEW">If an error occurs, the function returns FALSE.</paragraph> 375<paragraph role="heading" id="hd_id3149162" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 376<paragraph role="code" id="par_id3148918" xml-lang="en-US" l10n="U">ISLOGICAL(Value)</paragraph> 377<paragraph role="paragraph" id="par_id3146946" xml-lang="en-US" l10n="CHG">Returns TRUE if <emph>Value</emph> is a logical value (TRUE or FALSE), and returns FALSE otherwise.</paragraph> 378<paragraph role="heading" id="hd_id3150709" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 379<paragraph role="paragraph" id="par_id3166442" xml-lang="en-US" l10n="CHG"><item type="input">=ISLOGICAL(99)</item> returns FALSE, because 99 is a number, not a logical value.</paragraph> 380<paragraph role="paragraph" id="par_id3556016" xml-lang="en-US" l10n="NEW"><item type="input">=ISLOGICAL(ISNA(D4))</item> returns TRUE whatever the contents of cell D4, because ISNA() returns a logical value.</paragraph> 381</section> 382<section id="isna"> 383<bookmark xml-lang="en-US" branch="index" id="bm_id3153685"> 384<bookmark_value>ISNA function</bookmark_value> 385<bookmark_value>#N/A error;recognizing</bookmark_value> 386</bookmark><comment>mw added "#N/A ..."</comment> 387<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTNV" id="bm_id3159273" localize="false"/> 388<paragraph role="heading" id="hd_id3153685" xml-lang="en-US" level="2" l10n="U">ISNA</paragraph> 389<paragraph role="paragraph" id="par_id3149105" xml-lang="en-US" l10n="U"><ahelp hid="HID_FUNC_ISTNV">Returns TRUE if a cell contains the #N/A (value not available) error value.</ahelp></paragraph> 390<paragraph role="paragraph" id="par_id6018860" xml-lang="en-US" l10n="NEW">If an error occurs, the function returns FALSE.</paragraph> 391<paragraph role="heading" id="hd_id3152947" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 392<paragraph role="code" id="par_id3153748" xml-lang="en-US" l10n="U">ISNA(Value)</paragraph> 393<paragraph role="paragraph" id="par_id3152884" xml-lang="en-US" l10n="U"><emph>Value</emph> is the value or expression to be tested.</paragraph> 394<paragraph role="heading" id="hd_id3149964" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 395<paragraph role="paragraph" id="par_id3154852" xml-lang="en-US" l10n="U"><item type="input">=ISNA(D3)</item> returns FALSE as a result.</paragraph> 396</section> 397<section id="istext"> 398<bookmark xml-lang="en-US" branch="index" id="bm_id3149426"> 399<bookmark_value>ISTEXT function</bookmark_value> 400<bookmark_value>cell contents;text</bookmark_value> 401</bookmark> 402<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTTEXT" id="bm_id3148468" localize="false"/> 403<paragraph role="heading" id="hd_id3149426" xml-lang="en-US" level="2" l10n="U">ISTEXT</paragraph> 404<paragraph role="paragraph" id="par_id3145368" xml-lang="en-US" l10n="U"><ahelp hid="HID_FUNC_ISTTEXT">Returns TRUE if the cell contents refer to text.</ahelp></paragraph> 405<paragraph role="paragraph" id="par_id6779686" xml-lang="en-US" l10n="NEW">If an error occurs, the function returns FALSE.</paragraph> 406<paragraph role="heading" id="hd_id3154332" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 407<paragraph role="code" id="par_id3148649" xml-lang="en-US" l10n="U">ISTEXT(Value)</paragraph> 408<paragraph role="paragraph" id="par_id3150417" xml-lang="en-US" l10n="U"><emph>Value</emph> is a value, number, Boolean value, or an error value to be tested.</paragraph> 409<paragraph role="heading" id="hd_id3149239" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 410<paragraph role="paragraph" id="par_id3144756" xml-lang="en-US" l10n="CHG"><item type="input">=ISTEXT(D9)</item> returns TRUE if cell D9 contains the text <item type="input">abcdef</item>.</paragraph> 411<paragraph role="paragraph" id="par_id3148416" xml-lang="en-US" l10n="CHG"><item type="input">=ISTEXT(C3)</item> returns FALSE if cell C3 contains the number <item type="input">3</item>.</paragraph> 412</section> 413<section id="isodd_add"> 414<bookmark xml-lang="en-US" branch="index" id="bm_id3153939"> 415<bookmark_value>ISODD_ADD function</bookmark_value> 416</bookmark> 417<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ISODD" id="bm_id3149927" localize="false"/> 418<paragraph role="heading" id="hd_id3153939" xml-lang="en-US" level="2">ISODD_ADD</paragraph> 419<paragraph role="paragraph" id="par_id3153538" xml-lang="en-US" l10n="U"><ahelp hid="HID_AAI_FUNC_ISODD">Returns TRUE (1) if the number does not return a whole number when divided by 2.</ahelp></paragraph> 420<embed href="text/scalc/01/04060102.xhp#ADD_note"/> 421<paragraph role="heading" id="hd_id3145601" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 422<paragraph role="code" id="par_id3149485" xml-lang="en-US" l10n="U">ISODD_ADD(Number)</paragraph> 423<paragraph role="paragraph" id="par_id3153315" xml-lang="en-US" l10n="U"><emph>Number</emph> is the number to be tested.</paragraph> 424<paragraph role="heading" id="hd_id3143274" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 425<paragraph role="paragraph" id="par_id3154793" xml-lang="en-US" l10n="U"><item type="input">=ISODD_ADD(5)</item> returns 1.</paragraph> 426</section> 427<section id="isnumber"> 428<bookmark xml-lang="en-US" branch="index" id="bm_id3148688"> 429<bookmark_value>ISNUMBER function</bookmark_value> 430<bookmark_value>cell contents;numbers</bookmark_value> 431</bookmark><comment>mw added "cell contents;"</comment> 432<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISTZAHL" id="bm_id3149587" localize="false"/> 433<paragraph role="heading" id="hd_id3148688" xml-lang="en-US" level="2" l10n="U">ISNUMBER</paragraph> 434<paragraph role="paragraph" id="par_id3154618" xml-lang="en-US" l10n="U"><ahelp hid="HID_FUNC_ISTZAHL">Returns TRUE if the value refers to a number.</ahelp></paragraph> 435<embed href="text/shared/00/00000001.xhp#wahr"/> 436<paragraph role="heading" id="hd_id3152769" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 437<paragraph role="code" id="par_id3150595" xml-lang="en-US" l10n="U">ISNUMBER(Value)</paragraph> 438<paragraph role="paragraph" id="par_id3150351" xml-lang="en-US" l10n="U"><emph>Value</emph> is any expression to be tested to determine whether it is a number or text.</paragraph> 439<paragraph role="heading" id="hd_id3146793" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 440<paragraph role="paragraph" id="par_id3155614" xml-lang="en-US" l10n="CHG"><item type="input">=ISNUMBER(C3)</item> returns TRUE if the cell C3 contains the number <item type="input">4</item>.</paragraph> 441<paragraph role="paragraph" id="par_id3154417" xml-lang="en-US" l10n="CHG"><item type="input">=ISNUMBER(C2)</item> returns FALSE if the cell C2 contains the text <item type="input">abcdef</item>.</paragraph> 442</section> 443<section id="n"> 444<bookmark xml-lang="en-US" branch="index" id="bm_id3153694"> 445<bookmark_value>N function</bookmark_value> 446</bookmark> 447<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_N" id="bm_id3153786" localize="false"/> 448<paragraph role="heading" id="hd_id3153694" xml-lang="en-US" level="2" l10n="U">N</paragraph> 449<paragraph role="paragraph" id="par_id3150405" xml-lang="en-US" l10n="CHG"><ahelp hid="HID_FUNC_N">Returns the numeric value of the given parameter. Returns 0 if parameter is text, FALSE or #NA.</ahelp></paragraph> 450<paragraph role="paragraph" id="par_id9115573" xml-lang="en-US" l10n="NEW">If an error occurs, other than #NA, the function returns the error value.</paragraph> 451<paragraph role="heading" id="hd_id3145774" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 452<paragraph role="code" id="par_id3153883" xml-lang="en-US" l10n="U">N(Value)</paragraph> 453<paragraph role="paragraph" id="par_id3151101" xml-lang="en-US" l10n="CHG"> 454<emph>Value</emph> is the parameter to be converted into a number. N() returns the numeric value if it can. It returns the logical values TRUE and FALSE as 1 and 0 respectively. It returns text and errors as 0.</paragraph> 455<paragraph role="heading" id="hd_id3147097" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 456<paragraph role="paragraph" id="par_id3154117" xml-lang="en-US" l10n="CHG"><item type="input">=N(123)</item> returns 123</paragraph> 457<paragraph role="paragraph" id="par_id2337717" xml-lang="en-US" l10n="NEW"><item type="input">=N(TRUE)</item> returns 1</paragraph> 458<paragraph role="paragraph" id="par_id3153781" xml-lang="en-US" l10n="U"><item type="input">=N(FALSE)</item> returns 0</paragraph> 459<paragraph role="paragraph" id="par_id3154670" xml-lang="en-US" l10n="U"><item type="input">=N("abc")</item> returns 0</paragraph> 460<paragraph role="paragraph" id="par_id3519089" xml-lang="en-US" l10n="NEW">=N(1/0) returns #DIV/0!</paragraph> 461</section> 462<section id="na"> 463<bookmark xml-lang="en-US" branch="index" id="bm_id3156275"> 464<bookmark_value>NA function</bookmark_value> 465<bookmark_value>#N/A error;assigning to a cell</bookmark_value> 466</bookmark><comment>mw added "#N/A error;"</comment> 467<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_NV" id="bm_id3154569" localize="false"/> 468<paragraph role="heading" id="hd_id3156275" xml-lang="en-US" level="2" l10n="U">NA</paragraph> 469<paragraph role="paragraph" id="par_id3156161" xml-lang="en-US" l10n="U"><ahelp hid="HID_FUNC_NV">Returns the error value #N/A.</ahelp></paragraph> 470<paragraph role="heading" id="hd_id3147532" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 471<paragraph role="code" id="par_id3149563" xml-lang="en-US" l10n="U">NA()</paragraph> 472<paragraph role="heading" id="hd_id3155128" xml-lang="en-US" level="3" l10n="U">Example</paragraph> 473<paragraph role="paragraph" id="par_id3154481" xml-lang="en-US" l10n="U"><item type="input">=NA()</item> converts the contents of the cell into #N/A.</paragraph> 474</section> 475<section id="type"> 476<bookmark xml-lang="en-US" branch="index" id="bm_id3151255"> 477<bookmark_value>TYPE function</bookmark_value> 478</bookmark> 479<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_TYP" id="bm_id3146127" localize="false"/> 480<paragraph role="heading" id="hd_id3151255" xml-lang="en-US" level="2" l10n="U">TYPE</paragraph> 481<paragraph role="paragraph" id="par_id3155900" xml-lang="en-US" l10n="U"><ahelp hid="HID_FUNC_TYP">Returns the type of value, where 1 = number, 2 = text, 4 = Boolean value, 8 = formula, 16 = error value, 64 = array.</ahelp></paragraph> 482<embed href="text/shared/00/00000001.xhp#wahr"/> 483<paragraph role="heading" id="hd_id3149992" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 484<paragraph role="code" id="par_id3148400" xml-lang="en-US" l10n="U">TYPE(Value)</paragraph> 485<paragraph role="paragraph" id="par_id3150830" xml-lang="en-US" l10n="U"><emph>Value</emph> is a specific value for which the data type is determined.</paragraph> 486<paragraph role="heading" id="hd_id3154363" xml-lang="en-US" level="3" l10n="U">Example (see example table above)</paragraph> 487<paragraph role="paragraph" id="par_id3153357" xml-lang="en-US" l10n="U"><item type="input">=TYPE(C2)</item> returns 2 as a result.</paragraph> 488<paragraph role="paragraph" id="par_id3148980" xml-lang="en-US" l10n="U"><item type="input">=TYPE(D9)</item> returns 1 as a result.</paragraph> 489</section> 490<section id="cell"> 491<bookmark xml-lang="en-US" branch="index" id="bm_id3155509"> 492<bookmark_value>CELL function</bookmark_value> 493<bookmark_value>cell information</bookmark_value> 494<bookmark_value>information on cells</bookmark_value> 495</bookmark><comment>mw added two entries</comment> 496<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ZELLE" id="bm_id3159412" localize="false"/> 497<paragraph role="heading" id="hd_id3155509" xml-lang="en-US" level="2" l10n="U">CELL</paragraph> 498<paragraph role="paragraph" id="par_id3153196" xml-lang="en-US" l10n="U"><ahelp hid="HID_FUNC_ZELLE">Returns information on address, formatting or contents of a cell.</ahelp></paragraph> 499<paragraph role="heading" id="hd_id3149323" xml-lang="en-US" level="3" l10n="U">Syntax</paragraph> 500<paragraph role="code" id="par_id3147355" xml-lang="en-US" l10n="U">CELL("InfoType"; Reference)</paragraph> 501<paragraph role="paragraph" id="par_id3154716" xml-lang="en-US" l10n="U"><emph>InfoType</emph> is the character string that specifies the type of information. The character string is always in English. Upper or lower case is optional.</paragraph> 502<table id="tbl_id3152470"> 503<tablerow> 504<tablecell> 505<paragraph role="tablehead" id="par_id3150636" xml-lang="en-US" l10n="U">InfoType</paragraph> 506</tablecell> 507<tablecell> 508<paragraph role="tablehead" id="par_id3149344" xml-lang="en-US" l10n="U">Meaning</paragraph> 509</tablecell> 510</tablerow> 511<tablerow> 512<tablecell> 513<paragraph role="code" id="par_id3153266" xml-lang="en-US" l10n="U">COL</paragraph> 514</tablecell> 515<tablecell> 516<paragraph role="tablecontent" id="par_id3156204" xml-lang="en-US" l10n="U">Returns the number of the referenced column.</paragraph> 517<paragraph role="tablecontent" id="par_id3150094" xml-lang="en-US" l10n="U"><item type="input">=CELL("COL";D2)</item> returns 4.</paragraph> 518</tablecell> 519</tablerow> 520<tablerow> 521<tablecell> 522<paragraph role="code" id="par_id3151276" xml-lang="en-US" l10n="U">ROW</paragraph> 523</tablecell> 524<tablecell> 525<paragraph role="tablecontent" id="par_id3147583" xml-lang="en-US" l10n="U">Returns the number of the referenced row.</paragraph> 526<paragraph role="tablecontent" id="par_id3151222" xml-lang="en-US" l10n="U"><item type="input">=CELL("ROW";D2)</item> returns 2.</paragraph> 527</tablecell> 528</tablerow> 529<tablerow> 530<tablecell> 531<paragraph role="code" id="par_id3159217" xml-lang="en-US" l10n="U">SHEET</paragraph> 532</tablecell> 533<tablecell> 534<paragraph role="tablecontent" id="par_id3151201" xml-lang="en-US" l10n="U">Returns the number of the referenced sheet.</paragraph> 535<paragraph role="tablecontent" id="par_id3149169" xml-lang="en-US" l10n="U"><item type="input">=CELL("Sheet";Sheet3.D2)</item> returns 3.</paragraph> 536</tablecell> 537</tablerow> 538<tablerow> 539<tablecell> 540<paragraph role="code" id="par_id3149431" xml-lang="en-US" l10n="U">ADDRESS</paragraph> 541</tablecell> 542<tablecell> 543<paragraph role="tablecontent" id="par_id3156054" xml-lang="en-US" l10n="U">Returns the absolute address of the referenced cell.</paragraph> 544<paragraph role="tablecontent" id="par_id3154136" xml-lang="en-US" l10n="U"><item type="input">=CELL("ADDRESS";D2)</item> returns $D$2.</paragraph> 545<paragraph role="tablecontent" id="par_id3159198" xml-lang="en-US" l10n="U"><item type="input">=CELL("ADDRESS";Sheet3.D2)</item> returns $Sheet3.$D$2.</paragraph> 546<paragraph role="tablecontent" id="par_id3150245" xml-lang="en-US" l10n="U"><item type="input">=CELL("ADDRESS";'X:\dr\test.ods'#$Sheet1.D2)</item> returns 'file:///X:/dr/test.ods'#$Sheet1.$D$2.</paragraph> 547</tablecell> 548</tablerow> 549<tablerow> 550<tablecell> 551<paragraph role="code" id="par_id3146811" xml-lang="en-US" l10n="U">FILENAME</paragraph> 552</tablecell> 553<tablecell> 554<paragraph role="tablecontent" id="par_id3151328" xml-lang="en-US" l10n="U">Returns the file name and the sheet number of the referenced cell.</paragraph> 555<paragraph role="tablecontent" id="par_id3148896" xml-lang="en-US" l10n="U"><item type="input">=CELL("FILENAME";D2)</item> returns 'file:///X:/dr/own.ods'#$Sheet1, if the formula in the current document X:\dr\own.ods is located in Sheet1.</paragraph> 556<paragraph role="tablecontent" id="par_id3155144" xml-lang="en-US" l10n="U"><item type="input">=CELL("FILENAME";'X:\dr\test.ods'#$Sheet1.D2)</item> returns 'file:///X:/dr/test.ods'#$Sheet1.</paragraph> 557</tablecell> 558</tablerow> 559<tablerow> 560<tablecell> 561<paragraph role="code" id="par_id3151381" xml-lang="en-US" l10n="U">COORD</paragraph> 562</tablecell> 563<tablecell> 564<paragraph role="tablecontent" id="par_id3151004" xml-lang="en-US" l10n="U">Returns the complete cell address in Lotus(TM) notation.</paragraph> 565<paragraph role="tablecontent" id="par_id3159104" xml-lang="en-US" l10n="U"><item type="input">=CELL("COORD"; D2)</item> returns $A:$D$2.</paragraph> 566<paragraph role="tablecontent" id="par_id3163720" xml-lang="en-US" l10n="U"><item type="input">=CELL("COORD"; Sheet3.D2)</item> returns $C:$D$2.</paragraph> 567</tablecell> 568</tablerow> 569<tablerow> 570<tablecell> 571<paragraph role="code" id="par_id3155910" xml-lang="en-US" l10n="U">CONTENTS</paragraph> 572</tablecell> 573<tablecell> 574<paragraph role="tablecontent" id="par_id3156041" xml-lang="en-US" l10n="U">Returns the contents of the referenced cell, without any formatting.</paragraph> 575</tablecell> 576</tablerow> 577<tablerow> 578<tablecell> 579<paragraph role="code" id="par_id3151069" xml-lang="en-US" l10n="U">TYPE</paragraph> 580</tablecell> 581<tablecell> 582<paragraph role="tablecontent" id="par_id3155344" xml-lang="en-US" l10n="U">Returns the type of cell contents.</paragraph> 583<paragraph role="tablecontent" id="par_id3145217" xml-lang="en-US" l10n="U">b = blank. empty cell</paragraph> 584<paragraph role="tablecontent" id="par_id3155176" xml-lang="en-US" l10n="U">l = label. Text, result of a formula as text</paragraph> 585<paragraph role="tablecontent" id="par_id3147280" xml-lang="en-US" l10n="U">v = value. Value, result of a formula as a number</paragraph> 586</tablecell> 587</tablerow> 588<tablerow> 589<tablecell> 590<paragraph role="code" id="par_id3156348" xml-lang="en-US" l10n="U">WIDTH</paragraph> 591</tablecell> 592<tablecell> 593<paragraph role="tablecontent" id="par_id3154920" xml-lang="en-US" l10n="U">Returns the width of the referenced column. The unit is the number of zeros (0) that fit into the column in the default text and the default size.</paragraph> 594</tablecell> 595</tablerow> 596<tablerow> 597<tablecell> 598<paragraph role="code" id="par_id3152355" xml-lang="en-US" l10n="U">PREFIX</paragraph> 599</tablecell> 600<tablecell> 601<paragraph role="tablecontent" id="par_id3154230" xml-lang="en-US" l10n="U">Returns the alignment of the referenced cell.</paragraph> 602<paragraph role="tablecontent" id="par_id3155946" xml-lang="en-US" l10n="U">' = align left or left-justified</paragraph> 603<paragraph role="tablecontent" id="par_id3147220" xml-lang="en-US" l10n="U">" = align right</paragraph> 604<paragraph role="tablecontent" id="par_id3149038" xml-lang="en-US" l10n="U">^ = centered</paragraph> 605<paragraph role="tablecontent" id="par_id3153129" xml-lang="en-US" l10n="U">\ = repeating (currently inactive)</paragraph> 606</tablecell> 607</tablerow> 608<tablerow> 609<tablecell> 610<paragraph role="code" id="par_id3154406" xml-lang="en-US" l10n="U">PROTECT</paragraph> 611</tablecell> 612<tablecell> 613<paragraph role="tablecontent" id="par_id3145127" xml-lang="en-US" l10n="U">Returns the status of the cell protection for the cell.</paragraph> 614<paragraph role="tablecontent" id="par_id3155794" xml-lang="en-US" l10n="U">1 = cell is protected</paragraph> 615<paragraph role="tablecontent" id="par_id3155072" xml-lang="en-US" l10n="U">0 = cell is not protected</paragraph> 616</tablecell> 617</tablerow> 618<tablerow> 619<tablecell> 620<paragraph role="code" id="par_id3156178" xml-lang="en-US" l10n="U">FORMAT</paragraph> 621</tablecell> 622<tablecell> 623<paragraph role="tablecontent" id="par_id3150220" xml-lang="en-US" l10n="U">Returns a character string that indicates the number format.</paragraph> 624<paragraph role="tablecontent" id="par_id3153824" xml-lang="en-US" l10n="U">, = number with thousands separator</paragraph> 625<paragraph role="tablecontent" id="par_id3153837" xml-lang="en-US" l10n="U">F = number without thousands separator</paragraph> 626<paragraph role="tablecontent" id="par_id3150318" xml-lang="en-US" l10n="U">C = currency format</paragraph> 627<paragraph role="tablecontent" id="par_id3153168" xml-lang="en-US" l10n="U">S = exponential representation, for example, 1.234+E56</paragraph> 628<paragraph role="tablecontent" id="par_id3153515" xml-lang="en-US" l10n="U">P = percentage</paragraph> 629<paragraph role="tablecontent" id="par_id3154375" xml-lang="en-US" l10n="U">In the above formats, the number of decimal places after the decimal separator is given as a number. Example: the number format #,##0.0 returns ,1 and the number format 00.000% returns P3</paragraph> 630<paragraph role="tablecontent" id="par_id3150575" xml-lang="en-US" l10n="U">D1 = MMM-D-YY, MM-D-YY and similar formats</paragraph> 631<paragraph role="tablecontent" id="par_id3150589" xml-lang="en-US" l10n="U">D2 = DD-MM</paragraph> 632<paragraph role="tablecontent" id="par_id3151034" xml-lang="en-US" l10n="U">D3 = MM-YY</paragraph> 633<paragraph role="tablecontent" id="par_id3156371" xml-lang="en-US" l10n="U">D4 = DD-MM-YYYY HH:MM:SS</paragraph> 634<paragraph role="tablecontent" id="par_id3157881" xml-lang="en-US" l10n="U">D5 = MM-DD</paragraph> 635<paragraph role="tablecontent" id="par_id3157894" xml-lang="en-US" l10n="U">D6 = HH:MM:SS AM/PM</paragraph> 636<paragraph role="tablecontent" id="par_id3154068" xml-lang="en-US" l10n="U">D7 = HH:MM AM/PM</paragraph> 637<paragraph role="tablecontent" id="par_id3150286" xml-lang="en-US" l10n="U">D8 = HH:MM:SS</paragraph> 638<paragraph role="tablecontent" id="par_id3145756" xml-lang="en-US" l10n="U">D9 = HH:MM</paragraph> 639<paragraph role="tablecontent" id="par_id3145768" xml-lang="en-US" l10n="U">G = All other formats</paragraph> 640<paragraph role="tablecontent" id="par_id3153375" xml-lang="en-US" l10n="U">- (Minus) at the end = negative numbers are formatted in color</paragraph> 641<paragraph role="tablecontent" id="par_id3155545" xml-lang="en-US" l10n="U">() (brackets) at the end = there is an opening bracket in the format code</paragraph> 642</tablecell> 643</tablerow> 644<tablerow> 645<tablecell> 646<paragraph role="code" id="par_id3154594" xml-lang="en-US" l10n="U">COLOR</paragraph> 647</tablecell> 648<tablecell> 649<paragraph role="tablecontent" id="par_id3152922" xml-lang="en-US" l10n="U">Returns 1, if negative values have been formatted in color, otherwise 0.</paragraph> 650</tablecell> 651</tablerow> 652<tablerow> 653<tablecell> 654<paragraph role="code" id="par_id3145563" xml-lang="en-US" l10n="U">PARENTHESES</paragraph> 655</tablecell> 656<tablecell> 657<paragraph role="tablecontent" id="par_id3156072" xml-lang="en-US" l10n="U">Returns 1 if the format code contains an opening bracket (, otherwise 0.</paragraph> 658</tablecell> 659</tablerow> 660</table> 661<paragraph role="paragraph" id="par_id3156090" xml-lang="en-US" l10n="U"><emph>Reference</emph> (list of options) is the position of the cell to be examined. If <emph>Reference</emph> is a range, the cell moves to the top left of the range. If <emph>Reference</emph> is missing, $[officename] Calc uses the position of the cell in which this formula is located. Microsoft Excel uses the reference of the cell in which the cursor is positioned.</paragraph> 662</section> 663</sort> 664<section id="relatedtopics"> 665<embed href="text/scalc/01/04060100.xhp#drking"/> 666</section> 667</body> 668</helpdocument> 669