Testu-funtzioak

Atal honek Testua funtzioen deskribapenak ditu.

Komando hau erabiltzeko...

Txertatu - Funtzioa - Testua kategoria


Komatxo bikoitzak erabiltzea formuletan

Formula batean testu-kate bat sartzeko, kokatu katea komatxo bikoitzen artean ("). Calc aplikazioak kateko karaktereak bere hartan hartuko ditu, interpretatzen saiatu gabe. Adibidez, ="Kaixo mundua!" formulak Kaixo mundua! testu-katea erakutsiko du gelaxkan, komatxo bikoitzik gabe.

=CONCATENATE("Bizitza sinplea da, "; "baina konplexu bihurtzen saiatzen gara "; "(Konfuzio).") formula konplexuenak komatxo bikoitza artean dauden hiru kate kateatzen ditu. Irteera honakoa izango da: Bizitza sinplea da, baina konplexu bihurtzen saiatzen gara (Konfuzio).

Formula bateko kate batean komatxo bikoitz literalak kokatzeko, bi metodo erabili daitezke:

  1. Komatxo bikoitzek "ihes egin dezaten", komatxo bikoitz gehigarri bat erabili daiteke. Calc aplikazioak balio literaltzat hartuko du ihes egindako komatxo bikoitza. Adibidez, ="Nire izena ""Jon Etxebarria"" da." formulak Nire izena "Jon Etxebarria" da. katea emango du. Beste adibide sinple bat =UNICODE("""") da: horrek 34 itzuliko du, komatxoaren Unicode karakterearen balio hamartarra (U+0022) alegia — adibide horretan lehen eta laugarren komatxo bikoitzek katearen hasiera eta amaiera adierazten dute, eta bigarren komatxo bikoitza hirugarrenak ihes egin dezan erabili da.

  2. CHAR funtzioa edo UNICHAR funtzioa erabili daiteke komatxo bikoitzak txertatzeko. Adibidez, =UNICHAR(34) & "Narrazioak" & UNICHAR(34) & " Joseba Sarrionandiaren liburu ezaguna da ." formulak "Narrazioak" Joseba Sarrionandiaren liburu ezaguna da. katea erakutsiko du.

Kontuan izan Calc aplikazioak funtzioak automatikoki zuzentzeko duen funtzionaltasunak komatxo bikoitiak aldatu ditzakeela. Autozuzenketak ez lituzke komatxo bikoitiak aldatu beharko formula-gelaxketan, baina testua duten eta formula ez dutenetan bai aldatu ditzakeela. Adibidez, komatxo bikoitien beste forma tipografikoren batez inguratuta dagoen kate bat kopiatzen bada eta formula-gelaxka batean itsasten bada, errore bat gertatu daiteke. Kasu horretakoak dira ezkerreko komatxo bikoitia (U+201C) eta eskuineko komatxo bikoitia (U+201D). Ireki Tresnak - Autozuzenketa-aukerak - Lokalizatutako aukerak elkarrizketa-koadroko Komatxo bikoitzak area eta ezarri hasierako eta amaierako komatxo bikoitz tipografikoak automatikoki zuzentzeko erabiliko diren karaktereak. Desaktibatu Ordeztu botoia eginbide hori desgaitzeko.

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.

ARABIC

Testu gisa adierazita dagoen zenbaki erromatar bati dagokion zenbakizko balioa itzuliko du.

ASC

Byte bikoitzeko (zabalera osoko) karaktereak byte bakarreko (zabalera erdiko) ASCII eta katakana karaktere bihurtzen ditu.

BAHTTEXT

Converts a number to Thai text, including the Thai currency names.

BASE

Converts a positive integer to a specified base into a text from the numbering system. The digits 0-9 and the letters A-Z are used.

CHAR

Converts a number into a character according to the current code table. The number can be a two-digit or three-digit integer number.

CLEAN

All non-printing characters are removed from the string.

CODE

Returns a numeric code for the first character in a text string.

CONCATENATE

Combines several text strings into one string.

DECIMAL

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.

DOLLAR

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.

EXACT

Compares two text strings and returns TRUE if they are identical. This function is case-sensitive.

FIND

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.

FIXED

Returns a number as text with a specified number of decimal places and optional thousands separators.

JIS

Byte bakarreko (zabalera erdiko) ASCII edo katakana karaktereak byte bikoitzeko (zabalera osoko) karaktere bihurtzen ditu.

LEFT

Returns the first character or characters of a text.

LEFTB

Returns the first characters of a DBCS text.

LEN

Returns the length of a string including spaces.

LENB

For double-byte character set (DBCS) languages, returns the number of bytes used to represent the characters in a text string.

LOWER

Converts all uppercase letters in a text string to lowercase.

MID

Returns a text string of a text. The parameters specify the starting position and the number of characters.

MIDB

Returns a text string of a DBCS text. The parameters specify the starting position and the number of characters.

PROPER

Capitalizes the first letter in all words of a text string.

REGEX

Bat etortzeak eta erauzteak egiten ditu, edo aukeran ordezteak egiten ditu, adierazpen erregularrak erabilita.

REPLACE

Replaces part of a text string with a different text string. This function can be used to replace both characters and numbers (which are automatically converted to text). The result of the function is always displayed as text. If you intend to perform further calculations with a number which has been replaced by text, you will need to convert it back to a number using the VALUE function.

REPT

Repeats a character string by the given number of copies.

RIGHT

Returns the last character or characters of a text.

RIGHTB

Returns the last character or characters of a text with double bytes characters sets (DBCS).

ROMAN

Zenbaki bat zenbaki erromatar bihurtzen du. Balio-barrutia 0 eta 3999 artekoa da. Sinplifikazio-modu bat zehaztu daiteke 0 eta 4 arteko barrutian.

SEARCH

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).

SUBSTITUTE

Substitutes new text for old text in a string.

T

This function returns the target text, or a blank text string if the target is not text.

TEXT

Converts a value into text according to a given format.

TRIM

Removes spaces from a string, leaving only a single space character between words.

UNICHAR

Converts a code number into a Unicode character or letter.

UNICODE

Returns the numeric code for the first Unicode character in a text string.

UPPER

Converts the string specified in the text field to uppercase.

VALUE

Zenbaki baten kate-irudikapena bere zenbakizko formara bihurtzen du. Emandako katea baliozko data, ordu eta data-ordua bada, hari dagokion data-ordu serieko zenbakia itzuliko da.

WEBSERVICE

Web-edukia URI batetik eskuratzea.

FILTERXML

Aplikatu XPath adierazpen bat XML dokumentu bati.

ENCODEURL

URL kodetuko kate bat itzultzen du.

Emaguzu laguntza!