Skip to Content

RIGHTB

Returns the specified number of characters from the end of a text string, based on the number of bytes

Syntax

RIGHTB(text, [num_bytes])

Parameters

  • text: Required. The text string containing the bytes you want to extract
  • num_bytes: Optional. The number of bytes to extract (default 1)

Example

=RIGHTB("Sale Price", 5)
Returns: StringSince: Excel 2003