1. Input the fractions as a regular formula in individual cells. Excel will automatically convert it to decimal format. For example =1/2 will yield 0.5 in a cell.2. Multiply the numbers using cell reference separated by * symbol. Again Excel will convert it into a decimal formal.3. Select the cells where you want to convert to fraction format, then format cells (can be accessed by either right-clicking or from the ribbon menu). A small window will pop out, then select 'Number' tab, choose 'Fraction' and press 'OK'.Watch the screen recording below for demonstration.
Many Excel spreadsheets track numbers such as sales figures and commissions. The cells are formatted for currency and multiple calculations are applied. As a result, these worksheets often have the appearance of having errors!
In this tutorial, we show a simple example of how this problem can so easily happen, and how to use the ROUND function to fix it. ○ This tutorial contains affiliate links. Read our disclosure policy to learn more. ○ Decimals and Currency in Excel SpreadsheetsWhen a worksheet contain math formulas and decimals, it can appear to have errors. This is because the actual value of a cell that Excel stores may be different than the displayed value in the spreadsheet cell due to the how the cell was formatted. A KeynoteSupport.com Tutorial Excel users often limit the decimal portion of a number to make a spreadsheet more readable. For instance, 85.99 ÷ 12 = 7.16583333 ... and the 3s go on forever! This often happens in financial sheets where cells containing formulas that multiply or divide are formatted to display two decimal places, but the actual stored values contain more decimal places. Here is a simple example: Look at the worksheet in Figure 1. Two cells in Column A contain data. Formulas in cells B2 and B3 calculate 25% of the values in cells A2 and A3, respectively. Then the results of the two formulas are totaled in cell B4. All of the math is correct. Now study Figure 2. The only difference between this worksheet and the one above is that the data cells have been formatted as Currency with two decimal places - the way most cells in financial spreadsheets are formatted. Look at the total in cell B4. Does $3.21 + 4.36 = $7.58 ? NO! It looks like our worksheet contains an error. And worksheets with more numbers and calculations can appear to be full of errors. This situation can be avoided by using the ROUND function as shown below. Solving the Problem with the ROUND FunctionWhen multiplying or diving currency, or any numbers with decimals where the cells are formatted to limit the number of decimal places, the solution is to have Excel store the rounded value of a formula's value instead of its actual value. Simply place each formula inside a ROUND function, rounding to 2 decimal places as shown in the worksheet image. Earlier, our formula in B2 was =A2*.25 (or =A2*0.25 as Excel displays it). Now the formula in cell B2, as shown in the formula bar, is: =ROUND(A2*0.25,2) Note: When we entered the above function, we typed =round(a2*.25,2). Excel automatically capitalizes function letters and adds a zero to the left of the decimal point if the number is a decimal only. ↑ Return to the top
|