Function Problems

Extract a Tire Size from Variable-Length Text in Excel

Kushani NimanthikaKushani Nimanthika Dec 2, 2026 868 views

Question details

Extract a tire size from a cell when the surrounding text varies in length.

Extract a Tire Size from Variable-Length Text in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet contains tire descriptions with sizes such as 285/45R19 or P185/60R15 in different positions.
Observed behavior
The desired result is the tire size without the surrounding text, including the P prefix when present.
Before you start

Check that the tire size contains the first slash in each cell and that three digits immediately precede it. Note that 285/45R19 has nine characters, while P185/60R15 has ten.

Solution 1Recommended

Extract a nine-character tire size with MID and FIND

Use this formula when the required size starts with three digits and does not need a P prefix.

1
Select an output cell

If the source text is in A2, click B2 or another empty cell.

2
Enter the formula

Type =MID(A2,FIND("/",A2)-3,9) and press Enter. FIND locates the first slash, and MID returns nine characters starting three positions before it.

3
Fill the formula down

Drag the fill handle at the bottom-right corner of B2 down the column, then check the results against several source cells.

Extract a nine-character tire size with MID and FIND
P prefixes are not included: For P185/60R15, this formula returns 185/60R15. Use the next solution if the P is part of the required result.
Extract tire sizes in WPS Spreadsheets

Extract tire sizes with formulas in WPS Spreadsheets

Use MID and FIND in WPS Spreadsheets to extract a tire size from variable-length text, then fill the formula down your worksheet.

  1. 1. Open the worksheet: Open WPS Spreadsheets and use Open to select the workbook containing your tire descriptions.
  2. 2. Choose an output cell: If the first description is in A2, click an empty cell such as B2.
  3. 3. Enter a formula: For a nine-character size, enter =MID(A2,FIND("/",A2)-3,9) and press Enter. To retain an optional P prefix, use the prefix-aware formula in the second solution above.
  4. 4. Fill and check: Drag the fill handle down from B2 and check the extracted sizes against the source text.
Extract nine-character tire sizes using a familiar spreadsheet formulaInclude an optional P prefix with a prefix-aware formulaOpen and edit Microsoft Excel XLSX and XLS filesWork in a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does the formula remove the P from P185/60R15?

The nine-character formula starts three positions before the slash, at the first digit. P185/60R15 is ten characters long, so use the prefix-aware formula in the second solution to include P.

What happens if the cell contains another slash before the tire size?

FIND("/",A2) locates the first slash, so the formula may extract the wrong text. Remove or account for earlier slashes before using these formulas.

Why does the nine-character formula return an error?

FIND returns an error if A2 has no slash. Check the source cell for a slash and confirm that at least three characters precede it.

Can I apply the formula to an entire column?

Enter the formula in B2, then drag its fill handle down alongside the source cells. Excel adjusts the A2 reference for each row.