Function Problems

How to Add a Number to an Excel Value That Starts With a Letter in WPS Office

Tauseeq MagsiTauseeq Magsi Nov 13, 2026 869 views

Question details

The user needs to add a numeric quantity to a serial number that starts with a leading letter and display the updated alphanumeric serial number in WPS Spreadsheets.

How to Add a Number to an Excel Value That Starts With a Letter in WPS Office
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
A user has serial numbers such as G1850388 in one column and quantities in another, and needs to increase the numeric portion by the quantity while preserving the leading letter.
Observed behavior
Because the leading letter makes the cell text, direct arithmetic does not calculate the intended serial number.
Before you start

Confirm that the serial number is in A1, the quantity is in B1, and that the value starts with exactly one letter followed by digits. If your prefix length differs, use the adjusted formula after checking your data.

Solution 1Recommended

Use LEFT, MID, and VALUE to Add the Number and Keep the Letter

Best for serial numbers that start with exactly one letter followed by digits; it performs the addition in one Excel-compatible formula.

This formula reads the leading letter with LEFT, extracts the numeric portion with MID, converts it to a number with VALUE, adds the quantity, and joins the letter back with &.

1
Select the result cell

Click the cell where you want the updated serial number to appear, such as C1.

2
Enter the formula

Type =LEFT(A1,1)&(VALUE(MID(A1,2,LEN(A1)-1))+B1) and press Enter. Replace A1 with the serial number cell and B1 with the quantity cell.

3
Verify the calculation

Confirm that an input such as G1850388 in A1 and 146 in B1 returns G1850534.

Use LEFT, MID, and VALUE to Add the Number and Keep the Letter
Formula result: The leading letter is preserved and the numeric portion is incremented by the quantity.

Calculate Alphanumeric Serial Numbers Directly in WPS Spreadsheets

WPS Office Spreadsheets can complete this task with the same Excel-compatible LEFT, MID, and VALUE formula. Open your .xlsx workbook, enter the formula, and WPS updates the serial number while keeping the leading letter intact.

  1. 1. Open your workbook in WPS Office: Launch WPS Spreadsheets and open the .xlsx file that contains the serial numbers and quantities.
  2. 2. Select the result cell: Click the cell where you want the calculated value to appear, such as C1.
  3. 3. Enter the Excel-compatible formula: Type =LEFT(A1,1)&(VALUE(MID(A1,2,LEN(A1)-1))+B1) and press Enter.
  4. 4. Fill the formula down: Drag the fill handle at the lower-right corner of the result cell down through the remaining rows.
  5. 5. Save the updated workbook: Press Ctrl+S to save the file in .xlsx format for continued use in WPS Office or Microsoft Excel.
Uses standard Excel functions such as LEFT, MID, and VALUE without conversionPreserves alphanumeric serial numbers during row-by-row calculationsOpens and saves .xlsx files with full Microsoft Excel format compatibilityProvides a free, lightweight spreadsheet editor with a familiar ribbon
microsoft office alternative - wps office

Frequently Asked Questions

Why does adding a number to G1850388 fail or show #VALUE!?

Because G1850388 is stored as text due to the leading letter. Use =LEFT(A1,1)&(VALUE(MID(A1,2,LEN(A1)-1))+B1) to extract the numeric part, add the quantity, and reattach the letter.

Can I use this formula when the serial number has two leading letters?

The basic formula assumes one leading letter. For two leading letters, use =LEFT(A1,2)&(VALUE(MID(A1,3,LEN(A1)-2))+B1). Adjust the LEFT length and MID start position for additional prefix letters.

How do I apply the formula to every row in WPS Spreadsheets?

Enter the formula in the first result cell, then drag the fill handle at the bottom-right corner down through your data, or double-click the fill handle to fill adjacent rows automatically.

Does this formula remain compatible if I later open the file in Microsoft Excel?

Yes. The formula uses standard Excel functions and remains compatible when the workbook is saved in .xlsx format.

What if the serial number has letters after the numbers as well?

This solution targets values that begin with letters and end with numbers. For mixed patterns, you need to locate the numeric segment with additional text functions before adding the quantity.