Computer >> Computer tutorials >  >> Software >> Office

How to Clear Formula in Excel (7+ Methods)

Microsoft Excel is one of the most popular tools used for rigorous calculations. Numerous built-in functions make it easy to perform complex calculations with a big data set. But, once the calculations are done, sometimes it is necessary to remove all the formulas before publishing them. To clear the formula in Excel might be required to hide confidential information inside the formula you don’t want to disclose or you need the calculated values not to link up to any other cells or any other reason. Here in this article, we’ll see how easily we can remove formulas from Excel.

Download the Practice Workbook

7+ Ways to Clear Formula in Excel 

Here, we’ll work on a dataset of a list of fruit items in a super shop in Australia. The dataset has a price column that shows the product of Unit Price and Quantity of the fruit items. We used the SUMPRODUCT function to get the product of these two columns. Now, we are going to apply 7+ methods to remove the formula while keeping the values unchanged.

How to Clear Formula in Excel (7+ Methods)

1. Clear Formula from Excel Sheet Using Right Click

This method shows how to use the right button of the mouse to copy the cells with formulas and then paste only the values. As a result, we’ll get the cells with formulas removed while keeping the values as it was before.

  •  Select the cells having formulas that you want to remove (here F5:F9)

How to Clear Formula in Excel (7+ Methods)

  •  Then, click the Right button and Copy the cells

How to Clear Formula in Excel (7+ Methods)

  •  Now, click the Right button again and choose Values from the Paste Options

How to Clear Formula in Excel (7+ Methods)

  • Following the above steps will clear the formula from the cells keeping the values unchanged.

How to Clear Formula in Excel (7+ Methods)

2. Remove Formula Using Home Tab in Excel

The Home tab in Excel provides Paste options where we can choose the ‘Values’ option to clear formulas. This Paste option gets activated after the cells are being copied. The required steps are:

  • Select the cells having formulas you need to clear (In this example: F5:F9)

How to Clear Formula in Excel (7+ Methods)

  • Right-click the mouse and Copy the cells

How to Clear Formula in Excel (7+ Methods)

  • After that, to Paste the values go to the Home tab and select Values from the Paste Values options

How to Clear Formula in Excel (7+ Methods)

  • Finally, see the final output below:

How to Clear Formula in Excel (7+ Methods)

3. Clear Formula Using Excel Keyboard Shortcuts

After selecting the formula-contained cells, using two keyboard commands we’ll get the Paste as Values option. Let’s follow the commands:

  • Select the formula-contained cells. And then press Ctrl + C to copy the cells.

How to Clear Formula in Excel (7+ Methods)

  • Then, press Alt + E + S + V + Enter to get Paste as Values 

How to Clear Formula in Excel (7+ Methods)

4. Find and Clear Formula Using Keyboard Shortcuts

At first, we are going to find and get selected the cells with formulas using keyboard shortcuts and then replace the cells with values only. Let’s follow the steps:

  • By pressing Ctrl + G open up the Go To window and, now, select the Special button.

How to Clear Formula in Excel (7+ Methods)

  • Select Formulas from Go To Special window and click OK

How to Clear Formula in Excel (7+ Methods)

  • The above command will get the cells with formulas selected.

How to Clear Formula in Excel (7+ Methods)

  • Now, press Alt + E + S + V + Enter to get Paste as Values. The final output is here:

How to Clear Formula in Excel (7+ Methods)

5. Clear Formula Using Paste Special in Excel

Here, we’ll use Paste Special in MS Excel to remove formulas.

  • Firstly, we’ll Select and Copy the cells having formulas

How to Clear Formula in Excel (7+ Methods)

  • Secondly, click the Right Button and select Paste Special option

How to Clear Formula in Excel (7+ Methods)

  • In the third step, select the Values option and then hit OK.

How to Clear Formula in Excel (7+ Methods)

  • The final result shows cells without formulas.

How to Clear Formula in Excel (7+ Methods)

6. Erase Formula in Excel Using Clever Mouse Trick

In this method, we are going to use a special mouse trick to show the Paste as Values option to get our job done. Let’s follow the instructions:

  • Select the cells with formulas and then move the cursor to the right edge of the column

How to Clear Formula in Excel (7+ Methods)

  • Holding the Right Key of the mouse, drag the cursor to a little right and bring it back to its original position.

How to Clear Formula in Excel (7+ Methods)

  • From the given options choose “Copy Here as Values Only

How to Clear Formula in Excel (7+ Methods)

  • As a result, the cells become free of formulas.

How to Clear Formula in Excel (7+ Methods)

7. Get Rid of Formula from Multiple Excel Sheets (Just One Click)

Sometimes it may be necessary to erase formulas from multiple sheets to save time and work. Here we’ll demonstrate how to make it done using the group sheets method in Excel.

  • Here we see 3 ungrouped sheets (Sheet 1, Sheet 2, and Sheet 3) each having formula-contained cells. Below Sheet 1 is shown with cells with formulas selected.

How to Clear Formula in Excel (7+ Methods)

  • To make the sheets grouped, we hold the Shift key and select the first and last sheet (In this example: Sheet 1 and Sheet 3).

How to Clear Formula in Excel (7+ Methods)

  • After that, select and copy the formula contained cells of Sheet 1(one can choose any of the grouped sheets)

How to Clear Formula in Excel (7+ Methods)

  • Now, click the right button again and choose Values from the Paste Options.

How to Clear Formula in Excel (7+ Methods)

  • All the grouped sheets will get the same operation we did for Sheet 1.

How to Clear Formula in Excel (7+ Methods)

8. Clear Formula Using Quick Access Toolbar in Excel

Using quick access toolbar in Excel is another option to use the Paste as Values option to make cells formula-free while keeping values unchanged.

  • Click the Quick Access Toolbar button and choose the More Commands option to customize the toolbar.

How to Clear Formula in Excel (7+ Methods)

  • In the Excel Options window, select the Paste option having a right arrow at the end, then click Add button, and finally hit OK.

How to Clear Formula in Excel (7+ Methods)

  • The last operation has added a Paste icon in the toolbar which is inactive. Now, the Copy formula-contained cells using Right Click.

How to Clear Formula in Excel (7+ Methods)

  • At this stage, click the Paste button in the toolbar which is active, and then choose the Values option to clear formulas from the cells.

How to Clear Formula in Excel (7+ Methods)

  • Here, is our desired output.

How to Clear Formula in Excel (7+ Methods)

9. Delete Formula Using VBA and Keep the Values Only

VBA is also a great tool, we can use it to delete the formulas from the cells writing simple code, and keep the values only. Let’s follow the guide to accomplish this:

  • In this image, we can see cells with formulas. Name the sheet as “VBA

How to Clear Formula in Excel (7+ Methods)

  • Go to the Developer tab and choose Visual Basic. The Visual Basic Editor will open up.

How to Clear Formula in Excel (7+ Methods)

  • In the Visual Basic Editor click Insert and then choose Module. It’ll create a new module.

How to Clear Formula in Excel (7+ Methods)

  • Write the following code and press F5
Sub values ()
Dim ws As Worksheet
Set ws = ThisWorkbook.Sheets("VBA")
ws.UsedRange.Value = ws.UsedRange.Value
End Sub
  • The formulas in the VBA sheet are now removed.

How to Clear Formula in Excel (7+ Methods)

Conclusion

Finally, we have mastered several methods to clear a formula from Excel. Which one do you prefer to use? You can comment or ask any question related to this topic. Explore Exceldemy to learn more about Microsoft Excel.

Further Readings

  • How to Show Formula in Excel Cells Instead of Value (6 Ways)
  • Excel Formula Symbols Cheat Sheet (13 Cool Tips)
  • 102 Useful Excel Formulas Cheat Sheet PDF (Free Download Sheet)