To handle feet and inches in Excel, you must decide whether you need the data for visual presentation or for mathematical calculations. If you only need it to look like "5' 10"", use a Custom Number Format; if you need to perform math, you must store the values as decimals (total inches or total feet) in one cell and use a formula to convert them into a readable feet-and-inches string. Excel does not have a built-in "Feet/Inches" data type, so treating these values as text will prevent you from using SUM or AVERAGE functions.

What You'll Need

  • A computer with Microsoft Excel installed (works across Windows and macOS versions).
  • A dataset of measurements (either as total inches or separated into two columns).
  • Basic familiarity with entering formulas into a cell.

Step-by-Step

Depending on your goal, choose one of the following three methods. Method 1 is for visual labeling, Method 2 is for converting total inches to a readable format, and Method 3 is for combining separate columns.

Method 1: Using Custom Formatting (Visual Only)

Use this method if you are entering numbers that already represent feet and you simply want the symbol to appear automatically without typing it every time. Note: This does not convert inches; it only adds a label to the number.

  1. Select the cells you want to format.
  2. Right-click the selection and choose Format Cells... (or press Ctrl + 1 on Windows).
  3. In the Number tab, select Custom from the Category list on the left.
  4. In the Type input box, delete the existing text and type: 0' (for feet) or 0" (for inches).
  5. Click OK. Now, when you type "5", Excel will display "5'".

Method 2: Converting Total Inches to Feet and Inches

This is the most professional way to handle measurements. You store the raw data as total inches (e.g., 70) in Column A, and use a formula in Column B to display it as "5' 10".

  1. Enter your total inches in cell A2 (e.g., 70).
  2. In cell B2, enter the following formula: =INT(A2/12) & "' " & MOD(A2,12) & "\""
  3. Press Enter.
  4. Breakdown of this formula:
    • INT(A2/12): This divides the total inches by 12 and keeps only the whole number (the feet).
    • & "' " &: This appends the foot symbol and a space.
    • MOD(A2,12): This finds the remainder after dividing by 12 (the remaining inches).
    • & "\"": This appends the inch symbol. Because the double quote is a special character in Excel formulas, you must use four double quotes or a specific escape sequence to make one appear.
  5. Click and drag the fill handle (the small square at the bottom-right of the cell) down to apply the formula to other rows.

Method 3: Combining Separate Feet and Inch Columns

If your data is already split into two columns (Column A for feet and Column B for inches), use this method to merge them into one readable string.

  1. Ensure Column A contains the feet and Column B contains the inches.
  2. In cell C2, enter the formula: =A2 & "' " & B2 & "\""
  3. Press Enter. This simply joins the two numbers with the appropriate symbols.
  4. If you have empty cells in the inch column and don't want it to show "5' 0", use an IF statement: =A2 & "' " & IF(B2=0, "", B2 & "\"").

Common Mistakes

The most frequent error users make is typing "5' 10"" directly into a cell. When you include symbols like the apostrophe or quote mark, Excel automatically converts the cell format to Text. Once a cell is formatted as text, you cannot use it in any mathematical calculations. For example, if you try to sum a column of text-based measurements, Excel will return 0 or an error because it cannot "add" a symbol.

Another common mistake is forgetting the INT function when calculating feet. If you simply divide by 12 (e.g., 70/12), Excel will return 5.833. While mathematically correct, this is not how feet and inches are expressed in construction or design. You must separate the whole number from the remainder using INT and MOD.

Users also often struggle with the double-quote symbol in formulas. Since Excel uses double quotes to define the start and end of a text string, putting a single double-quote inside that string confuses the software. To get a single " symbol to appear in the result, you must use "\"" or the CHAR(34) function.

Tips

For those who need to do heavy calculations, the best practice is to create a "Calculation Column" and a "Display Column." Keep your raw data in total inches. This allows you to easily calculate totals, averages, or differences. Then, use the formula from Method 2 to create a display column that is human-readable. You can then hide the calculation column so the final spreadsheet looks clean.

If you are working with fractions of an inch (e.g., 5' 10 1/2"), the MOD function will return a decimal (e.g., 10.5). To convert that decimal into a fraction, you can wrap the MOD part of the formula in a TEXT function. For example: =INT(A2/12) & "' " & TEXT(MOD(A2,12), "# #/##") & "\"". This will automatically convert 10.5 into "10 1/2".

To make your data entry faster, consider using Data Validation. If you have a separate column for inches, set a validation rule that prevents users from entering a number greater than 11. This forces the user to move the excess into the feet column, keeping your data standardized.

Troubleshooting

The formula returns #VALUE!
This usually happens because one of the cells you are referencing contains text instead of a number. Check your source cells for accidental spaces or symbols (like typing "12in" instead of "12"). Ensure the cells are formatted as General or Number.

The double quote symbol isn't appearing
If your formula is resulting in "5' 10" without the inch mark, check your closing quotes. The correct syntax to produce a quote mark is & "\"". Alternatively, try using & CHAR(34), which is the ASCII code for a double quote and is often easier to read in complex formulas.

The result shows 5' 10.3333333
This occurs when you use the MOD function on a number that doesn't divide evenly, and you haven't specified the rounding or fraction format. Use the ROUND function to limit the decimals, such as ROUND(MOD(A2,12), 2), or use the TEXT function mentioned in the Tips section to convert the decimal to a fraction.

I can't sum my feet and inches
If you are trying to use =SUM(B2:B10) on cells that look like "5' 10"", it will not work because those cells are text strings. You must sum the original "Total Inches" column and then convert that final sum back into feet and inches using the conversion formula.

Frequently Asked Questions

Can I use a built-in Excel function for feet and inches?

No, Excel does not have a native unit of measurement for feet and inches. You must use a combination of mathematical functions (INT, MOD) and text concatenation (&) to create this format.

How do I convert feet and inches back into total inches?

If you have feet in cell A2 and inches in cell B2, use the formula =(A2*12)+B2. This multiplies the feet by 12 and adds the remaining inches to give you a single numeric value.

Is there a way to do this without formulas?

Only if you are okay with the data being text. You can manually type the values, but you will lose the ability to perform any math on those cells without first using a complex formula to "strip" the symbols out.

How do I handle negative measurements?

The MOD function can behave unexpectedly with negative numbers. If you are calculating differences that might be negative, it is best to wrap your total inch value in an ABS() function to get the absolute value, and then add a "minus" sign to the front of your final text string using an IF statement.

Will these formulas work in Google Sheets?

Yes, the INT, MOD, and concatenation (&) functions work identically in Google Sheets, making these methods compatible across both platforms.