TX Sheet Control

RIGHT Function

Function

Take characters from the end of a text. text is the text and num_chars the number of characters to return (1 when omitted); a num_chars greater than the length returns the whole text, and 0 returns empty text. A negative num_chars returns #VALUE!.

Syntax

RIGHT(text, num_chars)

Category: Text. Minimum arguments: 1. Maximum arguments: 2.

Available for supported offline calculation.

Examples

=RIGHT("Spreadsheet",5)

The formula returns sheet.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also