REPLACE

Anstataŭigas parton de teksto per alia teksto. Ĉi tiu funkcio estas uzebla por anstataŭigi kaj signojn kaj ciferojn (kiujn ĝi aŭtomate konvertas al teksto). La rezulto de la funkcio ĉiam vidiĝas kiel teksto. Se vi intencas fari pluajn kalkulojn al numero jam anstataŭigita de teksto, necesas rekonverti ĝin al numero per la funkcio VALORO.

Teksto kiu enhavas ciferojn devas esti en citiloj se vi ne deziras ke la funkcio interpretu ĝin kiel numeron kaj aŭtomate konverti ĝin al teksto.

Sintakso

REPLACE("Text"; Position; Length; "NewText")

Teksto estas la teksto, de kiu parto estas anstataŭigota.

Position refers to the position within the text where the replacement will begin.

Length is the number of characters in Text to be replaced.

NewText refers to the text which replaces Text.

Ekzemplo

=REPLACE("1234567";1;1;"444") returns "444234567". One character at position 1 is replaced by the complete NewText.

Bonvolu subteni nin!