How to Use the LEFT and RIGHT Functions in Microsoft Excel

See Microsoft Excel: Tips and Tricks for similar articles.

The LEFT and RIGHT functions are used to return characters from the start or end of a string. The following explains how to select these functions and some possible uses.

This feature works the same in all modern versions of Microsoft Excel: 2010, 2013, and 2016.

To use the LEFT and RIGHT functions in Excel:

  1. On the Formulas tab, in the Function Library group, click the Insert Function command. Insert Function Command
  2. In the Insert Function dialog box:
    1. Search on "LEFT" or "RIGHT" or, in the Or select a category drop-down box, select Text.
    2. Under Select a function, select LEFT or RIGHT.
    3. Click OK. Insert Function Dialog Box
  3. In the Function Arguments dialog box:
    1. In the Text field, enter the cell containing the text string from which you wish to return characters.
    2. In the Num_Chars field, enter the number of characters you want to return.
    3. Click OK. Function Arguments Dialog Box

You could use the LEFT and RIGHT functions to:

  1. Return the area codes from a list of phone numbers (if the phone numbers are formatted as 315-333-4444, you would use the LEFT function to return the first three characters).
  2. Return the zip codes from a list of addresses (if the addresses are formatted as Syracuse, NY 13210, you would use the RIGHT function to return the last five characters).
  3. Return a piece of an identifying ID (if you have a list of IDs in which the first four digits represent a product, the next six digits represent the date, and the last three digits represent the store the product was sold from, you could use the LEFT function to return the four digits representing the product or the RIGHT function to return the three digits representing the store the product was sold from).

Related Articles

  1. Use Excel 365 to create a Sorting Hat and House Point Scoreboard
  2. How to Use the VLOOKUP Function in Microsoft Excel
  3. How to Group and Ungroup Data in a List in Microsoft Excel
  4. How to Use the Fill Handle in Microsoft Excel
  5. How to Record a Macro in Microsoft Excel
  6. How to Use the Quick Analysis Tool in Microsoft Excel
  7. How to Format Numbers in Microsoft Excel
  8. How to Add Shapes in Microsoft Excel
  9. How to Quickly Name Multiple Single Cells in Microsoft Excel
  10. How to Insert a Slicer in a Pivot Table in Microsoft Excel
  11. How to Create a Pivot Table Timeline in Microsoft Excel
  12. How to Insert a Chart in Microsoft Excel
  13. How to Set Locale in Microsoft Excel
  14. How to Convert a List to a Table in Microsoft Excel
  15. How to Use the LEFT and RIGHT Functions in Microsoft Excel (this article)
  16. How to Add a Macro to the Quick Access Toolbar in Microsoft Excel
  17. How to Insert Clip Art in a Microsoft Excel Worksheet
  18. How to Select a Range of Cells in Microsoft Excel
  19. How to Use Smart Lookup in Microsoft Excel
  20. How to Split the Worksheet Window in Microsoft Excel
  21. Microsoft Excel 2016 Isn't Much Different from Excel 2013 or Excel 2010
  22. How to Accept and Reject Changes in Microsoft Excel
  23. How to Insert a Pivot Table in Microsoft Excel
  24. How to Use Ink Equations in Microsoft Excel
  25. How to Create a Formula That Spans Multiple Microsoft Excel Worksheets
  26. How to Use the CONCATENATE Function in Microsoft Excel
  27. How to Set Tracking Options in Microsoft Excel
  28. How to List Day Names in Excel without Dates
  29. How to Freeze Panes in Microsoft Excel