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