How to convert between fraction and decimal in Excel?
Have you ever encountered data in Excel formatted as fractions, such as “22/3”? Fractional formats are not commonly used in everyday data analysis, and they may be difficult to interpret or use in calculations or reports that require standard decimal notation. In such cases, converting these fractions to decimals (or vice versa) can enhance readability and computational flexibility. This article provides step-by-step methods for converting between fractions and decimals in Excel, covering both built-in formatting options and practical Excel formula approaches that accommodate special conversion needs in your work.
- Convert fraction to decimal in Excel
- Convert decimal to fraction in Excel
- Display decimal as fraction using the TEXT function with custom format
Convert fraction to decimal in Excel
When dealing with fraction numbers in Excel—such as those entered or imported as 22/3—you may often need to transform them into standard decimal numbers for easier calculation or further data processing. This method is suitable when your data is entered as a recognized fraction cell format. Here’s how you can perform this conversion directly using Excel's built-in format options:
1. Select the cells containing the fraction values you wish to convert. Next, right-click on the selection and choose Format Cells from the context menu. See the screenshot below:
2. In the Format Cells dialog box, go to the Number tab, then select General from the Category list. Click the OK button to confirm.
After clicking OK, all selected fractions will be displayed as decimal numbers. For example, 22/3 will be shown as 2.66666667. See screenshot:
Note: Alternatively, you can perform the same conversion by selecting the cells, then clicking Home > Number Format dropdown > General on the Ribbon. This is particularly convenient for quickly switching formats for multiple cells.
Applicable scenarios: This approach works best when the fractions are already properly recognized by Excel as number-type fractions, not as text.
Tip: If your fraction data is stored as text (e.g., entered as "22/3" but aligned left in the cell), this method will not convert it.
Common issues and troubleshooting: If a cell remains unchanged or you see an error after formatting, confirm whether the original fraction is truly in Excel’s number format and not entered as text. Also, merged cells or protected worksheets can prevent format changes. If needed, unmerge cells or unprotect the worksheet before re-trying the format change.

Unlock Excel Magic with Kutools AI
- Smart Execution: Perform cell operations, analyze data, and create charts—all driven by simple commands.
- Custom Formulas: Generate tailored formulas to streamline your workflows.
- VBA Coding: Write and implement VBA code effortlessly.
- Formula Interpretation: Understand complex formulas with ease.
- Text Translation: Break language barriers within your spreadsheets.
Convert decimal to fraction in Excel
To display standard decimal numbers as fractions in Excel, you can use format settings to change the appearance of the numbers. This is particularly useful when you want to present data in a more familiar or traditional fractional format (for example, for recipes, measurements, or engineering data). Here’s how to perform this conversion:
1. Select the decimal numbers in your worksheet that you wish to convert. Right-click the selection and choose Format Cells from the context menu. See this screenshot:
2. In the Format Cells dialog box under the Number tab, click to highlight Fraction in the Category list. Choose a fraction type in the Type list box based on your needs, then click the OK button.
Once completed, Excel will format your decimals as fraction numbers according to your chosen style. See screenshot:
Tip: As an alternative, you can use Home > Number Format dropdown > Fraction for quick conversion without opening a dialog.
Display decimal as fraction using the TEXT function with custom format
To programmatically display a decimal as a fraction in a new cell, you can use the TEXT function with a custom number format, such as "# ?/?". This is helpful if you want to convert values dynamically with formulas for reporting or data processing purposes, rather than changing the original cell’s number format.
1. Suppose your decimal value is in cell A1. Enter the following formula into your target cell (for example, B1):
=TEXT(A1,"# ?/?") 2. Press Enter to show the decimal in fractional form. If you want more denominator precision, you can use formats such as "# ??/??" for up to two-digit denominators (e.g., twelfths or hundredths).
Copy down or across as needed to apply to additional data. This formula leaves the original decimal untouched, displaying the fraction separately. The result is always a text string, suitable for visual presentation but not direct calculation.
Applicable scenarios: Use this approach when you need fractional presentation next to the decimal value, or in reports and exports where number format alteration is not practical.
Precautions and tips: Since the output is text, further numeric calculations with this cell require reconversion or referencing the original numeric value. Adjust the format code to control the fraction’s precision based on your needs.
Troubleshooting: If the result seems overly simplified or odd (e.g., "1/1"), try increasing denominator places in the format (“# ???/???”) or checking the input decimal’s value.
Related articles:
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
All Kutools add-ins. One installer
Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.
- All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
- One installer, one license — set up in minutes (MSI-ready)
- Works better together — streamlined productivity across Office apps
- 30-day full-featured trial — no registration, no credit card
- Best value — save vs buying individual add-in