Formatting Issues

How to Add a Prefix to Excel Part Numbers Without Changing Values in WPS Spreadsheets

Steve KSteve K Nov 13, 2026 869 views

Question details

The user wants to add the prefix CF before more than 1,500 part numbers in a spreadsheet while keeping the original stored values and sequence unchanged.

How to Add a Prefix to Excel Part Numbers Without Changing Values in WPS Spreadsheets
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
Formatting or preparing a parts list in a spreadsheet for display, reporting, or further processing without altering the existing data.
Observed behavior
Part numbers display with the CF prefix while the underlying values and original sequence remain unchanged.
Before you start

Open the worksheet containing the 1,500+ part numbers and confirm whether the part numbers are stored as text or numbers; this determines whether to use the "CF"@ or "CF"0 custom format.

Solution 1Recommended

Display a CF Prefix with a Custom Number Format in WPS Spreadsheets

Use this when the underlying part numbers must remain unchanged and you only need the prefix to appear on screen or in print.

A custom number format changes only the displayed text. The actual cell value is not altered, so sorting, filtering, formulas, and the original part-number sequence remain intact.

1
Select the part number cells

Open your workbook in WPS Spreadsheets and select the range containing the 1,500+ part numbers.

2
Open Format Cells

Right-click the selected cells and choose Format Cells, or press Ctrl+1.

3
Apply the custom format

Go to the Number tab, select Custom, enter "CF"@ in the Type box, and click OK.

Display a CF Prefix with a Custom Number Format in WPS Spreadsheets
Prefix applied without value change: The cells now display the CF prefix while their actual values remain unchanged. Use the formula bar to verify the original value is still stored.
WPS Spreadsheets formatting solution

Keep Original Values Intact While Showing the CF Prefix in WPS Spreadsheets

Use WPS Spreadsheets' custom number format or a helper-column formula to display CF before 1,500+ part numbers without overwriting the existing data.

  1. 1. Open your workbook in WPS Spreadsheets: Launch WPS Office, open the Excel-compatible workbook containing your part numbers, and arrange the data in a single column.
  2. 2. Select the part number range: Click the top cell and press Ctrl+Shift+Down to select all 1,500+ entries.
  3. 3. Apply a custom display format: Press Ctrl+1, choose Custom under the Number tab, type "CF"@, and click OK.
  4. 4. Optional: create a prefixed helper column: In an empty column enter ="CF"&A3, press Enter, and drag the fill handle down through the entire list.
  5. 5. Check the original sequence remains intact: Review the list and use the formula bar to confirm the stored cell values do not include the prefix where custom formatting was applied.
Non-destructively displays the CF prefix so original part numbers remain unchanged.Works with .xlsx, .xls, and .csv files for Microsoft Excel format compatibility.Free to use with a familiar spreadsheet interface and no specialized add-in required.Process large part-number lists quickly with custom formatting and the fill handle.
microsoft office alternative - wps office

Frequently Asked Questions

Will the custom number format change my original part number values?

No. A custom format such as "CF"@ changes only how the cell appears. The stored value remains unchanged, so sorting, filtering, and formulas continue to work with the original data.

How do I remove the CF prefix later if I used a custom format?

Select the cells, press Ctrl+1, and set the format back to General or the original number format. The underlying values will not be affected.

Can I use this on numbers only, or also text part numbers?

The custom format "CF"@ is for text values. If your part numbers are stored as numbers, use the custom format "CF"0, or use the formula method to create prefixed text.

Will using the formula method affect sorting or filtering?

No. The original column remains unchanged, so sorting and filtering still work normally. The helper column updates if the original values change.