How to Convert a Fraction Stored as Text to a Percentage in Excel
Question details
The user needs to convert an attendance fraction that is currently stored as text (e.g., '4/10') into a formatted percentage (e.g., '40%').

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Calculating and formatting attendance records where data is entered as text fractions.
- Observed behavior
- The fraction is recognized as text rather than a mathematical operation, preventing it from automatically calculating or displaying as a percentage.
Ensure that your text fractions follow a consistent format with a single forward slash (/) separating the numerator and denominator, and contain no hidden spaces.
Use the LEFT, MID, and FIND Functions
This method works across all versions of Excel by locating the slash to extract the numbers before dividing them.
By using text manipulation functions, we can dynamically find the position of the slash delimiter. This allows the formula to extract the numerator (using LEFT) and the denominator (using MID), divide them, and format the result as a percentage regardless of how many digits the numbers have.
Click on an empty cell where you want the calculated percentage to appear.
Assuming your text fraction is in cell A1, input the formula: =TEXT(LEFT(A1,FIND("/",A1)-1)/MID(A1,FIND("/",A1)+1,99),"0.0%")
Press Enter to view the result. Then, click the bottom-right corner of the cell and drag the fill handle down to apply the formula to the rest of your attendance data.

Use TEXTBEFORE and TEXTAFTER Functions
A simpler and cleaner formula available for users running newer spreadsheet versions like Excel 365.
Manage Your Attendance Data Efficiently with WPS Office
WPS Spreadsheet fully supports advanced text and math functions, allowing you to easily parse fractions and format them as percentages without compatibility issues.
- 1. Open your file in WPS: Launch WPS Spreadsheet and open your attendance record containing the text fractions.
- 2. Enter the conversion formula: Select the adjacent blank cell and type =TEXT(LEFT(A1,FIND("/",A1)-1)/MID(A1,FIND("/",A1)+1,99),"0.0%").
- 3. Format instantly: Press Enter to instantly convert the text string to a precise percentage, then drag the cell downwards to process your entire list.

Frequently Asked Questions
Why doesn't Excel automatically convert my fraction to a percentage?
When a fraction is entered as text (for instance, with a leading apostrophe or typed into a cell formatted as Text), the spreadsheet treats it as a string of characters rather than a mathematical division operation. It needs to be parsed into numbers using formulas first.
Can I change the number of decimal places in the percentage result?
Yes. In the TEXT function, you can adjust the format code. Use "0%" for no decimal places, or "0.00%" to display two decimal places.
What if my denominator is always the same, like 10?
If the denominator is fixed and the numerator is always a single digit, you can simplify the formula significantly. For example, =TEXT(LEFT(A1,1)/10,"0.0%") will extract the first number and divide it by 10.
How do I extract just the numbers without formatting them as text percentages?
If you want the raw decimal number to use in other mathematical calculations, simply omit the TEXT function wrapper: =LEFT(A1,FIND("/",A1)-1)/MID(A1,FIND("/",A1)+1,99). Then, you can apply the standard Percentage number format from the Home tab.




