How to Format Only Part of a Cell's Text in Excel for the Web
Question details
The user wants to apply specific formatting like bolding or font color to only a selected portion of text within a single cell.

- Product
- Excel for the Web
- Device & OS
- not provided
- Scenario
- Attempting to highlight or emphasize specific words within a text string inside an Excel cell using the browser-based version of the software.
- Observed behavior
- Excel for the Web applies the formatting changes to the entire cell instead of just the highlighted text, due to a lack of rich-text editing controls.
To format only a portion of the text inside a cell, you must have access to a desktop spreadsheet application, as web-based Excel environments lack the necessary rich-text editing controls.
Open the Workbook in the Desktop Version of Excel
Since Excel for the Web does not support partial cell formatting, transferring your session to the desktop application is the required workaround.
Excel for the Web is designed for lightweight editing and currently restricts formatting commands to the entire cell object. To apply bold, italics, or custom text colors to specific characters or words, you must utilize the desktop spreadsheet client.
While viewing your workbook in Excel for the Web, locate the top ribbon. Click on the 'Editing' or 'Viewing' dropdown menu and select 'Open in Desktop App'.
Once the workbook opens in the desktop version of Excel, double-click the cell you want to modify, or select it and press the F2 key to place your cursor inside the text.
Use your mouse or the Shift + Arrow keys to highlight only the specific words or characters you wish to format.
Navigate to the Home tab on the ribbon and apply your desired formatting, such as Bold, Italic, or a new Font Color. Press Enter to save the changes.

Format Specific Text within a Cell using WPS Spreadsheet
Bypass the limitations of web-based spreadsheets by using WPS Office. Our lightweight desktop application provides full rich-text editing controls, allowing you to quickly bold, italicize, or color-code specific parts of a cell's content.
- 1. Open your Spreadsheet in WPS Office: Launch WPS Spreadsheet on your desktop and open your desired workbook.
- 2. Edit the Cell: Double-click the cell containing the text you want to format to enter editing mode.
- 3. Select the Target Text: Highlight the exact word or phrase inside the cell using your cursor.
- 4. Apply Custom Formatting: Choose your desired formatting options (like text color or bold) from the Home tab, then press Enter to confirm.

Frequently Asked Questions
Why does changing the font color in Excel Online apply to the whole cell?
Excel for the Web is a streamlined version of the desktop application and currently does not support advanced rich-text editing within a cell. Consequently, any formatting applied while the cell is active will uniformly affect all text inside it.
Can I format part of a text string using an Excel formula?
No, Excel formulas cannot apply rich-text formatting to specific parts of a text string. Formulas only return unformatted text or numerical values. To apply partial formatting, you must manually edit the cell in a desktop application.
Will partial cell formatting done in desktop Excel show up in Excel for the Web?
Yes. If you apply partial text formatting (such as making a single word bold) using a desktop version of Excel or WPS Spreadsheet, those formatting differences will display correctly when you view the file in Excel for the Web, even though you cannot edit that specific partial formatting online.
Does WPS Office support partial cell formatting?
Yes, WPS Spreadsheet fully supports rich-text formatting within individual cells. You can seamlessly highlight specific characters or words inside a cell and apply custom fonts, colors, or styles without altering the rest of the text in that cell.




