To format cells in Excel for the web, select the cells, open the Home tab, and use the Font, Alignment and Number groups on the ribbon, or right-click the selection and choose Format Cells for the fuller dialog box. Formatting changes how values look — bold headers, currency symbols, dates, borders, colours — without changing the underlying data, so you can make a sheet readable without retyping anything. This guide covers the procedure in Excel for the web (the free browser version at office.com) and points out where the web version is thinner than the desktop app.

What You'll Need

  • A free or signed-in Microsoft account and a browser with Excel for the web open at office.com. The web version works in current Chrome, Edge, Firefox and Safari.
  • A spreadsheet saved to OneDrive or SharePoint, since Excel for the web saves continuously to the cloud rather than to your local drive.
  • Edit permission on the file. Viewers and commenters can see formatting but cannot apply it.
  • Some awareness that the online ribbon is a subset of the desktop one. A few deep options exist only in the desktop app, and this guide flags those where they matter.

Menu labels can differ slightly by version, region and whether the file is stored on OneDrive for work or personal use, so treat the paths below as the standard layout rather than exact wording everywhere.

Step-by-Step

  1. Open the workbook in Excel for the web. Sign in at office.com, click the Excel icon, and pick the file from Recent. If you cannot edit, check whether the toolbar shows Editing or whether it says Viewing — switch to Editing if the button is offered.
  2. Select the range you want to change. Click a cell and drag, or click the first cell and hold Shift while clicking the last. To format a whole column or row, click its letter or number header. To format the whole sheet, click the small triangle where the row and column headers meet (top-left corner). Ctrl+A (Cmd+A on a Mac) also selects the used range.
  3. Start on the Home tab. The ribbon opens on Home by default. Everything basic lives in its groups: Font, Alignment and Number.
  4. Make text stand out. In the Font group, use Bold (Ctrl+B), Italic (Ctrl+I) or Underline (Ctrl+U). The font name and size dropdowns sit to the left. Choose a font size around 12 for body text and 14–16 for a title row; very large fonts force row heights up and make printing awkward.
  5. Set text and fill colours. The font colour button (a letter A with a colour bar) changes the text colour; the paint-bucket button beside it sets the fill colour behind the cell. Pick colours with contrast — dark text on a light fill, or white text on a dark fill — so the sheet stays legible on a projector or printed page.
  6. Apply a number format. In the Number group, the dropdown that reads General by default lets you pick Number, Currency, Accounting, Short Date, Long Date, Time or Percentage. Choose Percent to turn 0.25 into 25%, or Currency to add a symbol to every selected cell. The two small buttons next to the dropdown add or remove a decimal place, and the button showing a comma style adds thousands separators.
  7. Use the quick currency, percent and comma buttons. The same Number group includes one-click buttons for currency symbol, percent style and comma style. These apply the default format for your region — for example a dollar sign on a US account — so override via the dropdown or Format Cells if you need a different symbol.
  8. Align the content. In the Alignment group, use the six alignment buttons (top, middle, bottom; left, centre, right) to position text within the cell. The three orientation-style buttons wrap text, centre across the selection and merge cells. Wrap Text is the one you want for long labels: it keeps the full text visible by raising row height instead of letting it spill over the neighbouring cell.
  9. Add borders and gridlines. The Borders button opens a small palette — bottom border, all borders, outside borders, no border and so on. Borders print and appear everywhere; the faint worksheet gridlines are only a visual guide and do not export. If you want a printed table, apply borders, do not rely on gridlines.
  10. Use Format Cells for finer control. Right-click the selection and choose Format Cells, or press Ctrl+1 (Cmd+1 on a Mac). The dialog opens on the Number tab, where you can set decimal places, a custom format code, or choose whether negatives show in red or in parentheses. The Fill and Font tabs here also let you set colours and styles that the ribbon does not expose, and Border on the same dialog lets you set inner and outer lines precisely.
  11. Copy the formatting to other cells. Select a formatted cell, click Copy (or Ctrl+C), then select the target range and use Paste Special > Formats only — in the web version choose the Paste dropdown on the Home tab and pick the paste-formats option. This copies appearance without overwriting the destination's values.
  12. Check the result and let it save. Excel for the web saves automatically — the title bar confirms the change was saved. Widen columns by double-clicking the boundary between column headers if text is cut off, and check with the formula bar that the underlying value is still a number, not text.

Common Mistakes

  • Formatting before selecting the right range. Applying currency to the whole column instead of the data rows turns every blank cell into a currency cell, which looks messy and confuses later formulas. Select deliberately.
  • Typing a symbol into the cell. Typing "$12.50" or "12.5%" as text means Excel stores it as text, and SUM or AVERAGE will skip it. Enter the number and apply the format instead.
  • Using fill colour instead of borders for printing. Light fills often vanish on a black-and-white printer. Apply borders if the table needs visible lines on paper.
  • Merging cells inside a data range. Merged cells break sorting and filtering. Merge only titles and labels that live outside the data area, or use Centre Across Selection instead.
  • Assuming a format changes the value. A percentage format on 0.25 shows 25% but the stored value is still 0.25 and formulas calculate on that. Styling never rounds the number itself.
  • Expecting desktop-only options online. Conditional formatting with complex rules, some custom borders and advanced number formats are more limited in the browser. If an option is missing, open the file in the desktop app.

Tips

  • Format headers first and then copy that row's formatting down to new rows, so additions match the rest of the table.
  • Keep to one or two fonts and a small palette of colours. Three competing colours look like a warning sign, not a style.
  • Use accounting or number formats with a fixed decimal count for money so columns line up on the decimal point.
  • Use Wrap Text plus a set row height for long descriptions; it is cleaner than widening a column until the rest of the sheet is pushed off-screen.
  • Use Format Painter if it is available in your version for a quicker copy of styles than Paste Special. It is hidden in the clipboard group and behaves like the desktop version.
  • Test printing or exporting to PDF before sending a sheet, since colours and gridlines behave differently on paper.

Troubleshooting

The formatting buttons are greyed out. You are probably in Viewing mode or the file is locked by someone else. Look at the top of the sheet for an Editing button or ask the owner for edit rights.

Numbers will not format as currency or percent. The cell likely holds text. Check the alignment — text defaults to the left, numbers to the right. Retype the value without symbols, or use the Text to Columns or VALUE function to convert it.

A format disappears after you re-open the file. Confirm the save status in the title bar and that you are not editing a copy. If the file is shared, another person may have replaced the formatting; version history lets you restore a previous version.

The option you want is not in the web ribbon. There is no way to force it online; open the workbook in the Excel desktop app, apply the setting there, and the result is preserved when the file syncs back to OneDrive.

Text is cut off in a cell. Widen the column by dragging the header boundary, or turn on Wrap Text in the Alignment group. If a row is too short, drag its bottom boundary or set the row height from the right-click menu.

Formatting will not copy to another sheet. Copy the cell, switch sheets, then paste using the formats-only paste option. If it still fails, the target range may be protected — check with the owner before unprotecting.

Frequently Asked Questions

Does formatting in Excel for the web carry over to the desktop app?

Yes. Formatting is stored in the workbook itself, so a file formatted in the browser opens with the same look in the desktop app and on mobile, assuming the fonts are available on that device.

Can I format cells in the Excel mobile app?

Yes, in a limited form. Select the cell, open the formatting menu (usually an icon that looks like a letter A with a paintbrush, or an Aa icon), and choose font, size, colour, bold and number format. The mobile app offers far fewer options than the browser or desktop versions.

Why does a date show as a five-digit number?

The cell is formatted as General or Number, so Excel displays the date's underlying serial number. Select the cell and apply Short Date or Long Date from the Number dropdown to make it readable again.

Can I save a set of formats to reuse?

The browser version has no full cell-style gallery comparable to the desktop one. The practical route is to format a template sheet and copy its formatted cells, or keep a template workbook in OneDrive and save a copy for each new task.

Does conditional formatting work online?

Basic rules such as highlighting cells greater than a value or applying colour scales are available under Home > Conditional Formatting or via the toolbar in some versions. Complex rule editing is easier in the desktop app, and some rule types may be read-only online.

Will formatting change my formulas or totals?

No. Formatting changes display only. A cell showing 12.5% still holds 0.125, and calculations use the stored value, so rounding on screen does not change sums.