How to Use

Last updated:July 8, 2026

Use CODE with 3 how-to topics, including inserting the function, typing the formula directly, and checking syntax guidance; 3 items are available without membership and 0 are membership-related.

How-to Index

How-to Guide

1. Enter the function through the Insert Function dialog box

Entry point: Formula tab → Insert Function button

  1. Select the cell where you want to enter the formula.
  2. Click the fx button in the formula bar, or click Insert Function on the Formula tab.
  3. Search for CODE in the Insert Function dialog box.
  4. Select the function, then click OK.
  5. Enter each parameter in the Function Arguments dialog box.
  6. Click OK to finish entering the function.

Success Criteria

  • The current cell now contains the CODE function.
  • The formula structure is visible in the formula bar.
  • The cell is ready for further calculation or editing.

Tips While Using

  • Check the function name with uppercase CODE when searching.
  • Finish entering the parameters before clicking OK to avoid unexpected results from empty inputs.

2. Type the formula directly in a cell

Entry point: Cell → Formula bar

  1. Select the cell where you want to enter the formula.
  2. Type =CODE(...) directly in the cell or in the formula bar.
  3. Press Enter to confirm.
  4. If you want to review parameter guidance, type =CODE( and press F1 to view syntax guidance.

Success Criteria

  • The cell accepts the formula input.
  • After you press Enter, the result or active formula state appears.
  • The full formula remains visible in the formula bar for later editing.

Tips While Using

  • Use English commas to separate parameters. Full-width punctuation can cause formula errors.
  • If you need to apply the formula to more cells, use the fill handle or copy and paste after entering it once.

3. Check function syntax and parameter guidance

Entry point: Formula tab → Insert Function button

  1. Click Insert Function on the Formula tab.
  2. Enter CODE in the search box.
  3. Select the function and review the syntax display: CODE(...).
  4. Click Help on this function to open more details.

Success Criteria

  • The CODE function is located in the function list.
  • The syntax display area is visible.
  • You can continue to open the help content for parameter details.

Tips While Using

  • An internet connection is required when opening the help link.
  • After reviewing the help content, you can return to the function dialog box and continue entering the formula.