To handle inches and feet in Excel, you must decide whether you want the cells to be used for calculations (numbers only) or for display (text with symbols). For calculations, store measurements as decimals (e.g., 5.5 for 5 feet 6 inches) and use the CONVERT function or basic math to switch units. For display, use Custom Number Formatting to add symbols like "'" and "\"" without breaking the cell's ability to be summed or averaged.
What You'll Need
- A computer with Microsoft Excel installed (any version from 2010 onwards).
- A dataset of measurements (either as total inches, total feet, or a mix of both).
- Basic knowledge of how to enter formulas into a cell.
Step-by-Step
Method 1: Converting Total Inches to Feet and Inches
If you have a list of measurements in total inches (e.g., 66 inches) and want to display them as feet and inches (e.g., 5' 6"), follow these steps. This method uses a formula to split the total into two parts.
- Enter your total inches in column A (e.g., cell A2 contains 66).
- In cell B2, enter the following formula to find the feet:
=INT(A2/12). The INT function rounds down to the nearest whole number, giving you the total number of full feet. - In cell C2, enter the following formula to find the remaining inches:
=MOD(A2,12). The MOD function returns the remainder after dividing by 12. - To combine these into a single readable cell, use the concatenation formula:
=INT(A2/12) & "' " & MOD(A2,12) & "\"". This will output 5' 6". - Drag the fill handle (the small square at the bottom-right of the cell) down to apply this to all your data.
Method 2: Converting Feet to Inches (and Vice Versa)
Excel has a built-in function called CONVERT that handles the math for you, eliminating the need to remember that there are 12 inches in a foot.
- To convert feet to inches: Select a cell and type
=CONVERT(A2, "ft", "in"), where A2 is the cell containing the feet measurement. - To convert inches to feet: Select a cell and type
=CONVERT(A2, "in", "ft"), where A2 is the cell containing the inches measurement. - Press Enter. Excel will provide the precise decimal value.
Method 3: Using Custom Number Formatting for Display
If you want to enter a number like 5 and have Excel automatically show it as 5', without turning the cell into text (which would prevent you from using SUM or AVERAGE), use custom formatting.
- Select the cells you want to format.
- Right-click the selected cells and choose Format Cells (or press Ctrl + 1).
- In the Number tab, select Custom from the list on the left.
- In the Type box, delete what is there and enter
0'for feet or0"for inches. - Click OK. Now, whenever you type a number in those cells, Excel will add the symbol automatically, but the underlying value remains a number.
Method 4: Calculating Area from Feet and Inches
Calculating square footage when your measurements are in feet and inches requires converting everything to a single unit (usually decimal feet) first.
- If your length is in cell A2 (feet) and B2 (inches), and your width is in C2 (feet) and D2 (inches), first convert both to decimal feet.
- Create a helper column for Total Length:
=A2 + (B2/12). - Create a helper column for Total Width:
=C2 + (D2/12). - Multiply these two helper cells together:
=LengthCell * WidthCell. The result is the total square footage.
Common Mistakes
- Typing symbols manually: If you type "5' 6\"" directly into a cell, Excel treats it as text. You cannot add, subtract, or multiply text. Always keep your raw data as numbers in one cell and use formulas or formatting for the symbols.
- Confusion between MOD and INT: Users often swap these. Remember: INT is for the "big" part (feet) and MOD is for the "leftover" part (inches).
- Incorrect CONVERT syntax: The unit codes in the CONVERT function must be in quotation marks (e.g., "ft", not ft). If you omit the quotes, Excel will return a #NAME? error.
- Forgetting the double-quote escape: In a concatenation formula, to get a double-quote symbol (\ยป) to appear, you often have to use four double-quotes (
"""") or the CHAR(34) function because Excel uses double-quotes to define the start and end of a text string.
Tips
- Use Named Ranges: If you are doing a lot of conversions, name your input cells (e.g., name cell A2 "TotalInches"). Your formula becomes
=INT(TotalInches/12), which is much easier to read. - Data Validation: To prevent users from entering text into your measurement columns, go to the Data tab > Data Validation and set the criteria to "Decimal" or "Whole Number".
- Rounding: When converting inches to feet, you often get long decimals (e.g., 5.33333). Wrap your formula in the ROUND function:
=ROUND(CONVERT(A2, "in", "ft"), 2)to limit the result to two decimal places. - Table Formatting: Convert your data range into an official Excel Table (Ctrl + T). This ensures that when you add a new row of measurements, your conversion formulas are automatically copied down.
Troubleshooting
If your formulas are not working as expected, check these common issues:
- #VALUE! Error: This usually happens because one of the cells you are referencing contains text instead of a number. Check for hidden spaces or manually typed symbols (like ' or ") in your source data.
- #NAME? Error: This typically means there is a typo in the function name (e.g., typing CONVRT instead of CONVERT) or you forgot the quotation marks around the unit codes "ft" or "in".
- Wrong Calculation Result: If your feet/inches split is wrong, ensure you are dividing by 12. A common error is dividing by 10 or 100 by habit from metric conversions.
- Symbols Not Appearing: If you used Custom Formatting but the symbols aren't showing, ensure the cell is actually formatted as a number. If the cell is formatted as "Text", the custom number format will be ignored.
Frequently Asked Questions
How do I sum a column of feet and inches?
You cannot sum cells that look like "5' 6\"" because they are text. The best way is to keep a hidden column that converts everything to total inches. Sum the total inches column, then convert that final sum back into feet and inches using the INT and MOD formulas.
Can I use a formula to convert fractions of an inch (e.g., 5 1/2")?
Yes, but you must enter the fraction correctly. If you type 5 1/2 into a cell formatted as a fraction, Excel stores it as 5.5. You can then use the standard CONVERT or math formulas on that 5.5 value.
Is there a way to quickly convert a whole column of feet to inches?
The fastest way is to use the CONVERT function in an adjacent column. Once the calculations are done, you can copy the results and use Paste Special > Values to replace the original feet measurements with the new inch measurements.
Why does my custom format 0" not work for inches?
The double-quote symbol is a special character in Excel. To make it appear in a custom format, you may need to use a backslash to "escape" the character. Try entering 0\" in the Custom Format box.
How do I convert decimal feet (e.g., 5.75 ft) to feet and inches?
First, extract the whole number for feet using =INT(A2). Then, take the decimal remainder and multiply it by 12 to get the inches: =(A2-INT(A2))*12. For 5.75, this would give you 5 feet and 9 inches.