Advertisements

Excel RIGHT Until space

Excel RIGHT until space is used to extract text after last space, and text can be extracted by using the combination of RIGHTLEN, and FIND. The Excel RIGHT function extracts given number of characters from the right side of a text string, based on the number of characters users specify. In other words, Excel RIGHT Function returns last character or characters from a text string. For example, =RIGHT(“Excel”, 2) returns “Ex”.

Example 1: Extract text after last space:

Advertisements

To extract after last space, the formula is =RIGHT(SUBSTITUTE(C6,” “,REPT(” “,LEN(C6))),LEN(C6)), which returns the text after the last space.

Excel RIGHT After space

Example 2: Extract text after last comma:

To extract text after last comma, the formula is =TRIM(RIGHT(SUBSTITUTE(C6,”,”,REPT(” “,LEN(C6))),LEN(C6))), which returns text after the last comma.

Excel RIGHT After comma

Example 3: Extract number after certain character:

To extract number, the formula is

Excel RIGHT Function to extract number.

More related readings:

  1. MS Office post on RIGHT Function
  2. Extract first Name in excel (3 practical examples)
  3. Extract Middle names (3 practical examples)
  4. Excel ARRAYTOTEXT Function
  5. Excel CLEAN Function with practical examples
  6. Excel CONCAT Function to join text
  7. Excel REPLACE Function to replace text
  8. Excel TRIM Function with Practical Examples
  9. Get Name from email address

6 Responses

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertisements