To show measurements in inches in Excel, type the value with a double-quote suffix (for example 12") for a label, but store real measurements as plain numbers and apply a custom number format so the inch mark appears without turning the cell into text. The key rule: keep the number, add the unit via formatting. That way SUM, AVERAGE, sorting and formulas keep working. Below is the full method, from a quick cell-by-cell approach to converting centimetres and millimetres.
What You'll Need
- Excel on Windows, Mac, or Excel for the web (labels may differ slightly by version, device or region)
- A spreadsheet with your measurements, ideally one column per dimension (Length, Width, Height)
- Basic knowledge of which cells you want to calculate versus which are pure labels
Step-by-Step
- Decide the role of each column. If you plan to sum, average or sort the numbers, the inch mark must come from formatting, not from typing the quote character. If a cell only labels something (a note like "12 inch board"), a text label is fine. Mixing the two in one column is the usual source of broken totals.
- Enter the numbers plainly. Type
12,3.5or0.75with no unit. Fractions like 3/4 can be typed as=3/4and will display as 0.75, or as0 3/4if the cell is formatted as a fraction. - Apply a custom number format for the inch mark. Select the cells, press
Ctrl+1(Windows) orCmd+1(Mac) to open Format Cells. Pick Custom in the category list. In the Type box, enter0.00"for two decimal places, or0"for whole inches. Because the double-quote wraps text inside a number format, Excel treats the quote as a literal character while keeping the cell numeric. - Check that it still calculates. Click a formatted cell and look at the formula bar: it should show the bare number, not
12". Enter a quick=SUM(range)below the column to confirm it adds up. - Use a fraction format if you work in eighths or sixteenths. In Format Cells, choose Fraction and pick Up to two digits (eighths) or As sixteenths. A value of 0.75 then shows as 3/4. This is the closest Excel gets to tape-measure notation without a helper column.
- Convert centimetres or millimetres to inches. Put the cm value in one column and in the next enter
=A2/2.54. To go the other way, multiply:=B2*2.54. Copy the formula down, then format the result column with your inch format. If Excel shows something like####or#VALUE!, the source cell likely contains text (for example30 cm) instead of a number. - Strip units from imported data when needed. If a supplier list arrives with values like
24"stored as text, do not retype everything. The formula=VALUE(SUBSTITUTE(A2,"""",""))removes the quote mark and converts the remainder to a real number. Copy it down, then paste the results back over the original column using Paste Special > Values. - Show a combined label when you need feet and inches. Use the custom format
0" ft" 0" in"only with care, because it applies the same unit to every value and does not split 30 into 2 ft 6 in. For true feet-and-inches output, build it with=INT(A2/12)&" ft "&MOD(A2,12)&" in". That result is text and will not calculate further, so keep the numeric column alongside it. - Set column widths and alignment. Formatted numbers that spill or show
####simply need a wider column: double-click the boundary between the column headers to auto-fit. - Lock the format for new entries. Format an entire column before entering data (click the column header, then
Ctrl+1), so every new row inherits the inch display automatically.
Common Mistakes
- Typing the inch mark into the value.
12"entered directly becomes text, is left-aligned, is ignored by SUM and will not sort numerically. - Mixing text and numbers in one column. Half your cells add up, half silently do not. Excel's status bar total only counts the numeric ones.
- Using commas or foot marks incorrectly. In some locales the comma is the decimal separator, so 3,5 means three and a half. Check the file's regional settings before trusting converted values.
- Rounding too early. A 2.54 conversion rounded to whole inches before multiplying by a length produces noticeably wrong totals. Keep decimals in the underlying values and round only the display.
- Forgetting that text formulas break maths. Anything built with
&is a string. Keep a clean numeric column next to every label column.
Tips
- Save the custom format by naming it in the Format Cells dialog so you can find it again quickly.
- Add a unit note in the column header, such as "Length (in)", so readers know what the number means without opening the cell.
- Use data validation to restrict a column to decimal numbers between sensible limits, which catches stray text entries as they are typed.
- For product work, keep one source column in your preferred unit and derive the rest with formulas; editing one place beats updating two.
- If you reuse the sheet often, save it as a template so the formats travel with it.
Troubleshooting
The inch mark disappears or shows as a wrong character
The cell is probably General-formatted, or the quote character was pasted from a document using curly quotes. Retype the format as a straight double quote inside the Type box.
The cell shows #### instead of the number
The column is too narrow. Widen it or auto-fit.
SUM returns zero or ignores rows
Those cells are text. Click one and check the formula bar and alignment. Use VALUE with SUBSTITUTE to clean them, then paste results back as values.
Converted values look wrong by a small amount
Conversion factors are correct at 2.54 cm per inch; the difference is usually rounding in the source data or a locale using a comma decimal separator. Check both.
A copied format does not apply on another computer
Number formats travel inside the workbook, but regional settings can change what separators display. Confirm the decimal symbol in the operating system's region settings.
Frequently Asked Questions
Can Excel show something as 12" while still using it in formulas?
Yes. Store 12 as a number and apply the custom format 0". The formula bar shows 12 and calculations work normally.
How do I convert inches to centimetres in Excel?
Multiply by 2.54, for example =A2*2.54. To go the other way, divide by 2.54.
Why does my inch symbol turn the cell into text?
Typing the quote as part of the value always does that. Put the unit in the number format instead of the cell content.
Can I display eighths or sixteenths?
Yes, use the Fraction category in Format Cells and pick up to two digits or sixteenths.
How do I show feet and inches together?
Use a formula with INT and MOD to split the value, accepting that the result is text and cannot be summed.
Does this work in Excel for the web?
Custom number formats and the conversion formulas work there; the dialog layout differs from the desktop app.