Get our FREE VBA eBook of the 30 most useful Excel VBA macros.

Automate Excel so that you can save time and stop doing the jobs a trained monkey could do.

Claim your free eBook

How to display fractions in Excel (the easy way)

When using Excel, we often display numbers as decimals. However, that is not necessarily the best way for users to read the information; fractions can be a better option. We could enter fractions as text, but then we can’t use them in calculations. So, in this post, we’ll look at how to display fractions in Excel.

About fractions

Let’s start with a brief recap about fractions, as it will help us understand what Excel is doing.

Fractions present a value as the number of equal parts of a whole. For example, 3/4 is a fraction where a whole is 4 parts, and our value is declared as being 3 of those parts.

There are different types of fractions:

  • Proper fractions – where the number at the top (the numerator) is less than the number at the bottom (the denominator). For example, 3/4 is a proper fraction; it represents a number equivalent to 3 parts out of a whole, where a whole is divided into 4 equal sections.
  • Improper fractions – where the number at the top (the numerator) is bigger than or equal to the number at the bottom (the denominator). For example, 5/4 is an improper fraction; it represents a number equivalent to 5 parts of a whole, where a whole is divided into 4
  • Mixed fractions – where a number is presented before a fraction. For example, 1 1/4 is a mixed fraction representing 1 whole, plus 1 part of a whole, where a whole is divided into 4.

Displaying fractions in a cell

To display a fraction in a cell, we use number formatting.

Number formatting displays a value in a specific format, without changing the value itself. In simple terms, changing the number of decimal places is a form of number formatting. Look at the screenshot below:

Custom Number Formatted with no decimal places

Why isn’t the value in cell B4 equal to 4? Surely 2+2=4? The numbers in B2 and B3 are actually 1.5 but are shown with zero decimal places, so they have been rounded up to 2. The numbers aren’t incorrect; they are just formatted differently.

Apply number formatting

To apply number formatting, select the cells to be formatted, click Home > Number > Dialog Launcher (button) (or press Ctrl + 1) to open the Format Cells window.

Home Number Dialog Launcher

From here, we can select the Fraction category and choose the format we want.

Select Fraction from Custom Number format

The number will now be formatted as a fraction. As you can see from the screenshot above, the number 0.75 is presented as 3/4.

Select Fraction from Custom Number format


  • If the exact fraction cannot be displayed, it will be rounded to the nearest result.
  • Fractions in Excel will automatically be converted to the lowest denominator. For example, a fraction of 4/8 will be converted to 1/2.

Automatically apply number formatting through data entry

There is a useful little hack for entering fractions faster. If we enter a mixed fraction into a cell, Excel understands that we want to display a fraction and automatically changes the number format for us.

For example, entering 0 3/4 will automatically convert the format of the cell to a fraction.

Mixed fraction data entry

NOTES: If we enter a fraction without a leading digit, Excel thinks we want a date or text. Therefore, it’s important to enter a mixed fraction to trigger the automatic cell formatting.

Fix the denominator

As mentioned earlier, Excel automatically reduces fractions to have the lowest denominator. However, sometimes, we want to fix the denominator. In this case, we can create a custom number format:

Select the cells to be formatted and click Home > Number > Dialog Launcher (button) (or press Ctrl + 1) to open the Format Cells window.

In the custom section, I have entered # ?/16 in the type box. This creates a mixed fraction where the denominator is always fixed as 16.

Custom Number format with a fixed Denominator

Enter improper fractions in Excel

To enter improper fractions, we can again use a custom number format. By entering ??/?? (without a hash at the start), the value will only show a fraction (i.e., it will not display a mixed fraction).

Impropert Fractions - use custom Formatting with out a hash

We can mix fixed denominator and improper fraction methods above to create any format we want. For example, ???/100 will display 120/100 if we enter 1.2 into a cell.

Improper Fraction with Fixed Denominator

Enter a fraction as text

In the introduction, we stated that entering a fraction as Text prevents us from performing calculations on them. However, if we are not intending to perform calculations, then using text is a suitable method.

To enter any fraction as text into a cell either:

  • Apply text number formatting to the cell, then enter the relevant characters
  • Enter an apostrophe at the start of the input before entering any text (e.g., entering ‘7/4 displays a fraction as text)

Enter fractions into a text string

Sometimes we want to display the fraction in a text string, rather than just in a cell. There are many ways to achieve this also.

Display a fraction using the TEXT function

Enter Fraction into a text string

The example above is created by using the TEXT function. In cell B2 the formula is:

="I ate " & TEXT(0.5,"?/?") & " the apple pie"

The TEXT function’s first argument is the value; the second argument is the number format to apply. From this, we can create a fraction by using the same format code as we used for the customer number format.

Display a fraction using a Special Character

Depending on which font you are using, there may be a predetermined set of fractions that can be entered as text.

Click Insert > Symbol to open the Symbol dialog box.

We can navigate through the character set and find a suitable symbol, then select the symbol and click Insert.

Insert Symbol dialog box

Enter fractions as equations

Finally, a rather niche option, we can display fractions inside equations.

Click Insert > Equation

Insert - Equation

From the Equation ribbon, click x/y (drop-down) to select the fraction format we want.

Equation drop-down

Then, we can select the placeholder boxes and enter the required fraction.

Enter fraction into an equation


In this post, we’ve seen how to use fractions in Excel. There are three types of fractions (proper, improper, and mixed), all of which can be entered using numbers, text, or equations.

By using the custom number formats, we can decide which of the 3 we to display while still retaining the underlying number. However, if we are not calculating on the fractions, we can use text or equations as an alternative display option.

Related posts:

Headshot Round

About the author

Hey, I’m Mark, and I run Excel Off The Grid.

My parents tell me that at the age of 7 I declared I was going to become a qualified accountant. I was either psychic or had no imagination, as that is exactly what happened. However, it wasn't until I was 35 that my journey really began.

In 2015, I started a new job, for which I was regularly working after 10pm. As a result, I rarely saw my children during the week. So, I started searching for the secrets to automating Excel. I discovered that by building a small number of simple tools, I could combine them together in different ways to automate nearly all my regular tasks. This meant I could work less hours (and I got pay raises!). Today, I teach these techniques to other professionals in our training program so they too can spend less time at work (and more time with their children and doing the things they love).

Do you need help adapting this post to your needs?

I'm guessing the examples in this post don't exactly match your situation. We all use Excel differently, so it's impossible to write a post that will meet everybody's needs. By taking the time to understand the techniques and principles in this post (and elsewhere on this site), you should be able to adapt it to your needs.

But, if you're still struggling you should:

  1. Read other blogs, or watch YouTube videos on the same topic. You will benefit much more by discovering your own solutions.
  2. Ask the 'Excel Ninja' in your office. It's amazing what things other people know.
  3. Ask a question in a forum like Mr Excel, or the Microsoft Answers Community. Remember, the people on these forums are generally giving their time for free. So take care to craft your question, make sure it's clear and concise.  List all the things you've tried, and provide screenshots, code segments and example workbooks.
  4. Use Excel Rescue, who are my consultancy partner. They help by providing solutions to smaller Excel problems.

What next?
Don't go yet, there is plenty more to learn on Excel Off The Grid.  Check out the latest posts:

Leave a Reply

Your email address will not be published. Required fields are marked *