How to Use the LEFTB Function in WPS on Windows

Last updated:July 20, 2026

This how-to guide includes 4 operation topics, all available without membership; use the How-to Index to jump to the task you need and follow the entry path and steps.

How-to Index

How-to Guide

1. Enter the LEFTB function

Entry path: Formulas tab → formula bar

  1. Open WPS Spreadsheet and select the cell where you want the result to appear.
  2. Type = in the formula bar or directly in the cell.
  3. Continue by typing LEFTB(.
  4. Check the syntax prompt to confirm that the function entry has started.

Success Criteria

  • Interface result: =LEFTB( appears in the formula bar.
  • Next action available: You can continue entering the text argument and the byte-count argument.

Tips While Using

  • Common mistake: If you do not start with an equal sign, the content is treated as plain text.
  • Environment note: Make sure the selected cell is editable.

2. Fill in parameters based on the syntax

Entry path: Current cell → formula bar

  1. After LEFTB(, enter the text to process or a cell reference.
  2. Type a comma to separate the arguments.
  3. Enter the number of bytes to return.
  4. Type the closing parenthesis ) to complete the formula.

Success Criteria

  • Interface result: The formula structure is complete, such as =LEFTB(A2,2).
  • Next action available: You can press Enter to run the calculation.

Tips While Using

  • Common mistake: A missing closing parenthesis or missing separator can cause a formula error.
  • Environment note: Enter the byte count according to the actual text-processing requirement.

3. Use cell references to calculate results

Entry path: Result cell → formula bar

  1. Select the result cell.
  2. Enter a complete formula such as =LEFTB(A2,2).
  3. Press Enter to confirm.
  4. Check whether the returned result appears in the current cell.

Success Criteria

  • Interface result: The cell shows the extracted text result.
  • Next action available: You can adjust the parameters or copy the formula to other cells.

Tips While Using

  • Common mistake: Referencing the wrong source cell can return an unexpected result.
  • Environment note: When the source cell changes, the result updates automatically.

4. Fill down the formula for batch results

Entry path: Cell with completed formula → fill handle

  1. Complete the LEFTB formula in the first result cell.
  2. Move the pointer to the fill handle at the lower-right corner of the cell.
  3. Drag downward across the target range.
  4. Release the mouse and check whether each row now shows a result.

Success Criteria

  • Interface result: The target range shows LEFTB results row by row.
  • Next action available: You can continue with filtering, sorting, or later calculations.

Tips While Using

  • Common mistake: If the source data range contains blank rows, the filled results may be discontinuous.
  • Environment note: Check the referenced column before batch processing.