This section contains descriptions of the Text functions.
Ennek a parancsnak az eléréséhez...
Válassza a Beszúrás - Függvény - Kategória: Szöveg lehetőséget.
Using double quotation marks in formulas
To include a text string in a formula, place the text string between two double quotation marks (") and Calc takes the characters in the string without attempting to interpret them. For example, the formula ="Hello world!" displays the text string Hello world! in the cell, with no surrounding double quotation marks.
The more complex formula =CONCATENATE("Life is really simple, "; "but we insist on making it complicated "; "(Confucius).") concatenates three individual strings in double quotation marks, outputting Life is really simple, but we insist on making it complicated (Confucius).
To place a literal double quotation mark within a string inside a formula, two methods can be used:
A kettős idézőjelet egy további kettős idézőjellel "szöktetheti", és a Calc a kikerült kettős idézőjelet szó szerinti értékként kezeli. Például a ="My name is ""John Doe""." függvény a My name is "John Doe". karakterláncot adja ki. Egy másik egyszerű példa a =UNICODE("""") függvény, amely 34, a Unicode idézőjel karakter (U+0022) decimális értékét adja vissza - itt az első és a negyedik idézőjel a karakterlánc elejét és végét jelzi, míg a második idézőjel "szökteti" a harmadikat.
You can use the CHAR function or the UNICHAR function to insert a double quotation mark. For example, the formula =UNICHAR(34) & "The Catcher in the Rye" & UNICHAR(34) & " is a famous book by J. D. Salinger." displays the string "The Catcher in the Rye" is a famous book by J. D. Salinger.
Ne feledje, hogy a Calc automatikus javítás funkciója módosíthatja a dupla idézőjeleket. Az automatikus javítás funkció nem módosíthatja a képletcellákon belüli idézőjeleket, de a szöveget tartalmazó, nem képletcellákban használt idézőjeleket módosíthatja. Ha például másol egy olyan karakterláncot, amelyet más tipográfiai dupla idézőjelek vesznek körül, például a bal oldali dupla idézőjel (U+201C) és a jobb oldali dupla idézőjel (U+201D), majd beilleszti egy képletcellába, hiba léphet fel. Nyissa meg az Eszközök - Automatikus javítás beállításai - Nyelvfüggő beállítások párbeszédablak Dupla idézőjelek területét a kezdő és vég tipográfiai dupla idézőjelek automatikus javításához használt karakterek beállításához. A funkció kikapcsolásához vegye ki a jelölést a Csere gombból.
Empty string and blank cells
Cells with the empty string ("") are not equivalent to blank cells. When searching or calculating with text, the empty string "" is the text with length zero.
For example, when the formula in A1 returns the empty string "", the following applies:
=ISBLANK(A1) returns FALSE. The cell is not blank.
=ISFORMULA(A1) returns TRUE. The cell is a formula.
=ISLOGICAL(A1) returns FALSE. Not a logical value.
=ISNONTEXT(A1) returns FALSE. The cell has the empty string.
=ISNUMBER(A1) returns FALSE. Not a number.
=ISTEXT(A1) returns TRUE. The cell has the empty string, calculated by a formula.
=LEN(A1) returns 0. The length of the empty string is 0.
Converts text that represents a number in a numeral system with the given base radix to a positive integer. The radix must be in the range 2 to 36. Spaces and tabs are ignored. The Text field is not case-sensitive.
Converts a number to a string representing the amount in the currency format, rounded to a specified decimal places, using the decimal separator that corresponds to the current locale setting. In the Value field enter the number to be converted. Optionally, you may enter the number of decimal places in the Decimals field. If no value is specified, all numbers in currency format will be displayed with two decimal places.
Returns the position of a string of text within another string.You can also define where to begin the search. The search term can be a number or any string of characters. The search is case-sensitive.
Eredményül egy kétbájtos karakterkészlettel írt szöveg egy darabját adja vissza. A kezdőpozíciót, illetve a karakterek számát a paraméterek határozzák meg.
Kicseréli egy karakterlánc részét egy másik karakterláncra. A függvény használható mind karakterek, mind pedig számok cseréjére (az utóbbi esetben a számok automatikusan szöveggé konvertálódnak). A függvény eredménye mindig szövegformátumban kerül megjelenítésre. Ha további számításokat kíván végezni a szövegre cserélt számmal, akkor azt vissza kell konvertálnia szám formátumba az ÉRTÉK függvény segítségével.
Returns the position of a text segment within a character string. You can set the start of the search as an option. The search text can be a number or any sequence of characters. The search is not case-sensitive. If the text is not found, returns error 519 (#VALUE).
Converts the string representation of a number to numeric form. If the supplied string is a valid date, time, or date-time, the corresponding date-time serial number is returned.