Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Stopping Fractions from Reducing.

Stopping Fractions from Reducing

by Allen Wyatt
(last updated December 10, 2015)

7

Excel allows you to enter fractions into cells, provided you preface the entry with a zero and a space. Thus, if you wanted to enter a fraction such as 18/28, you would enter 0 18/28 into the cell. (If you just enter 18/28, then Word assumes you are entering either a date or text.)

When you enter your fraction, Excel does two things during the parsing process. First, it formats the cell as a fraction, based on the number of digits in the denominator of the fraction. In the case of the fraction 18/28, there are two digits in the denominator, so the cell is automatically formatted as a fraction of up to two digits. (See the Number tab of the Format Cells dialog box.)

The second thing that happens is that Excel converts the number into its decimal equivalent. In other words, Excel stores the number internally as 0.642857142857143, which is what you get when you divide 18 by 28. At this point, the fraction no longer exists; the number is a decimal value.

After you enter any value into Excel, it automatically recalculates your worksheet. With the parsing done, and the new value entered, Excel recalculates and redisplays values. Remember—the value in the cell is now 0.642857142857143, and to redisplay the value, Excel sees that it is supposed to use a fraction of up to two digits. The smallest fraction it can do this with is 9/14. Thus, this is what Excel displays in the cell—9/14 instead of 18/28.

Because of the parsing process that Excel follows, there is no way that you can force Excel to remember your fractions exactly as you entered them. After all, Excel doesn't store fractions, it stores decimal values. You can, however, change the format used by Excel to display the value in a particular cell. For instance, if you wanted the cell into which you entered 18/28 to display the fraction with 28 as the denominator, then you could follow these steps:

  1. Select the cell you want to format.
  2. Choose Format | Cells. Excel displays the Format Cells dialog box.
  3. Make sure the Number tab is displayed. (See Figure 1.)
  4. Figure 1. The Number tab of the Format Cells dialog box.

  5. In the Category list, choose Custom. The Type box should contain the characters "# ??/??" (without the quotes).
  6. Change the contents of the Type box to "# ??/28" (again without the quotes).
  7. Click on OK.

Again, remember that this only changes the display of the values in Excel, not the actual values themselves—they are still decimal values. The only way to have Excel remember exactly what you entered is to enter the fraction as text (format the cell as Text before making your entry), but there is a drawback to this. Once entered as text, you cannot use the fraction in any calculations.

If this is a problem for your needs, then you may want to consider putting the numerator in one cell and the denominator in another cell. This provides a way to remember what you entered, but still be able to use the numerator and denominator in a formula.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2760) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Stopping Fractions from Reducing.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Printing Document Properties

Word maintains quite a bit of information about a document in a special collection of items called "properties." You can ...

Discover More

Searching for Text Not Using a Certain Style

Word is very flexible in what it allows you to search for. One thing it can't do, however, is allow you to search for text ...

Discover More

Incorrect Links after Sorting Hyperlinks

When you sort your data you should always check to see if the sort was done correctly. What if sorting messes up hyperlinks ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (menu)

Setting Text Attributes

Want to change the attributes of your text (or what Excel refers to as font styles)? Here's how to do it.

Discover More

Changing the Font Size in Combo Boxes

When you add a combo box to a worksheet, Excel makes some assumptions about the best font size to use in the control. This ...

Discover More

Understanding Number Formatting Codes

When creating custom formats, you can employ a wide range of codes to define your formatting pattern. This tip focuses on ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is nine minus 3?

2016-09-07 10:20:23

Ms. R

I have tried these tips to enter 32/32 into a cell and it continues to reduce to 1 and that is going to mess up my calculations in a seperate formula. Please help..


2016-07-25 13:54:10

Jim

Thanks. I've been experimenting, but could never get anything to work. Thanks for your help.


2016-06-02 07:07:30

Bob

I have always wanted to be an Excel expert but could never find the time because it was not part of my job. I now have more time, recently became a consultant for trades people so Excel is needed from time to time and I am learning. I am drive to learn more.

While I cannot do calculations on the numbers your tip allows me to put the pitch of roofs into my data validation.


2016-05-30 16:56:47

jeremy

now how do you auto fill that? Eg.
2/4
2/5
2/6

blank
blank etc.


2014-09-11 17:19:41

Jhnell Reid

Thank you so much for your help. Today I learnt something new:)


2014-06-02 13:14:49

Aaron

It's not quite true that you can't force excel to remember how you entered a fraction. If you enter it as text (i.e. use a leading apostrophe, or change the type to Text before you type it), you can!

And you can then do fun things like add numerators together and denominators together!
If your fraction is in cell A1, then your numerator becomes:
=LEFT(A1,FIND("/",A1)-1)
and denominator is:
=RIGHT(A1,LEN(A1)-FIND("/",A1))


2013-09-03 08:42:07

swetha

It was really useful..ive checked many sites but this was really helpful...thnx


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.