ThisCalculator

Everyday

Change Formula to Number? How to Convert in Excel

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

Change Formula to Number? How to Convert in Excel

To change a formula to a number in Excel, you replace the formula with its calculated value—this is called “paste as values.” Select the cell(s), copy them (Ctrl+C), then right-click and choose Paste Special > Values (or use Ctrl+Shift+V in newer versions). This removes the formula and leaves only the resulting number, so it won’t recalculate if the source data changes.

Formula

There is no single formula for this conversion; it’s an Excel operation. The underlying concept is that every cell contains either a formula (starting with =) or a constant value. “Changing to a number” means replacing the formula with its current output. The output is calculated by Excel’s engine using the formula’s operators and cell references—for example, =A1*B1 multiplies the values in A1 and B1.

Worked Example

Suppose cell C1 contains =A1*B1, with A1 = 5 and B1 = 10. Excel computes 5 × 10 = 50. To change C1 to the number 50:

  1. Select C1.
  2. Press Ctrl+C to copy.
  3. Right-click C1, choose Paste Special, then select Values (or press Ctrl+Shift+V in Excel 365).
  4. Cell C1 now shows 50 in the formula bar, not =A1*B1.

If you later change A1 to 7, C1 stays 50—it no longer recalculates.

Why Convert a Formula to a Number?

You might want to freeze a calculated value to prevent accidental changes, to remove dependency on source cells, or to reduce file size when formulas are numerous. For example, if you copy a formula down a column and then delete the source data, the formulas will show errors. Converting to values preserves the numbers. It also makes it safe to share a workbook without exposing the underlying calculations.

Methods to Convert Formulas to Values

  • Paste Special > Values – works in all Excel versions. Copy the cells, right-click, choose Paste Special, then Values.
  • Right-click drag – drag the cell border with the right mouse button, then choose “Copy Here as Values Only.”
  • Keyboard shortcut – In Excel 365, Ctrl+Shift+V pastes values directly. In older versions, use Alt+E+S+V then Enter.
  • Using a macro – For large ranges, a VBA macro can loop through cells and set .Value = .Value.

Common Mistakes and Pitfalls

  • Forgetting to copy first – Paste Special only works after copying (Ctrl+C). If you just right-click without copying, the Values option is grayed out.
  • Overwriting formulas elsewhere – When pasting values, make sure you paste into the correct range; you might accidentally replace other formulas.
  • Losing formatting – Paste Special > Values only pastes the value, not the cell formatting. Use “Values & Number Formatting” if you need to keep the look.
  • Dates and times become serial numbers – If you convert a date formula, the value will be a number like 45000. Reapply the date format afterward.

Alternatives to Converting

If you want to keep the formula but prevent changes, you can protect the worksheet (Review > Protect Sheet) instead of converting. If you want to copy results to another location, you can use Paste Special > Values into the new cells. For dynamic values that shouldn’t change, consider using absolute references ($A$1) or named ranges to avoid accidental changes.

Frequently Asked Questions

Does converting a formula to a number affect other cells?

No, only the selected cells change. Other cells that reference the original formula will still reference the formula, not the new number, unless they reference the same cell—then they’ll use the new static value.

Can I undo the conversion?

Yes, immediately after pasting values, press Ctrl+Z to undo. If you’ve done other actions, Excel’s undo history may not reach that far, so it’s best to save a backup copy before converting.

Why does my pasted value show as a date?

If the original formula returned a date, Excel stores dates as serial numbers. When you paste as values, the cell may display the serial number. Reapply the date format (Home > Number Format > Date) to display it correctly.

What if I want to convert an entire column of formulas?

Select the whole column, copy, then Paste Special > Values. For very large ranges, this might be slow; consider using a macro or Power Query to transform the data.

Is there a way to convert formulas to values without copying?

In Excel 365, you can use the keyboard shortcut Ctrl+Shift+V directly after selecting the cells—no need to copy first. In older versions, you must copy first.

Does converting formulas to values reduce file size?

Yes, formulas are stored as text and can increase file size. Replacing them with static numbers reduces the file size, especially in large workbooks with thousands of formulas.

Related

Formula used

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.