Excel is the most widely used tool when it comes to dealing with huge datasets. We can perform myriads of tasks of multiple dimensions in Excel. Sometimes, we need to convert formula to value in Excel. In this article, I am going to show you 6 effective methods to convert formula to value automatically in Excel.
Download Practice Workbook
Download this workbook to practice while going through this article.
6 Effective Methods to Convert Formula to Value Automatically in Excel
This is the dataset that I am going to use. I have some students along with their marks in Physics, Math, and Total marks (calculated using the SUM function). I will convert the Total marks to values.
1. Apply Paste Special Feature to Convert Formula to Value Automatically
Now I will show the use of the Paste Special feature to convert formulas to values.
Steps:
- Select E5:E11. Press CTRL+C to copy the range.
You can also copy them using the context menu.
- After selecting, bring the context menu by right-clicking your mouse and then select Paste Special.
- Paste Special window will appear. Check Values >> click OK.
Excel will convert the formulas to values.
Read More: Convert Formula to Value Without Paste Special in Excel (5 Easy Methods)
2. Use Paste as Value Option to Automatically Convert Formula to Value
You can also use Paste Values from the context menu directly to convert formulas to values.
Steps:
- Select E5:E11 and copy them.
- Then select Values from the Paste Options of the context menu.
- Excel will do the rest.
Read More: Convert Formula to Value in Multiple Cells in Excel (5 Effective Ways)
3. Keyboard Shortcuts to Convert Formula to Value Automatically
You can use multiple keyboard shortcuts to convert formula to value automatically in Excel. In this section, I will describe them one by one.
3.1 Use ALT+E+S+V Keys Simultaneously
This method will basically show the keyboard shortcuts to convert formulas using the Paste Special feature.
Steps:
- Press CTRL+C to copy the range E5:E11.
- Then press ALT+E+S+V one by one. Do not press them together. You will see that the Paste Special window has popped up. Click OK.
The formulas will turn into values.
3.2 Press F9 Key
Let’s look at another keyboard shortcut that will serve our purpose.
Steps:
- Select E5. Go to the formula bar to edit the cell. Then select the formula.
- Now press F9. Excel will show the values.
Note: Though this method is easy to execute, it takes a lot of time to convert the formulas one by one if the dataset is huge.
4. Hold and Hover Mouse to Convert Formula to Value Automatically in Excel
You can also use your mouse to convert formula to value automatically in Excel.
Steps:
- Select the range C5:C11.
- Then hover your mouse to bring the 4-arrow pointer (see image).
- Then keep right-clicking the mouse and move the cursor to the destination where you want to paste the values. Select Copy Here as Values Only.
Excel will copy the values only.
5. Use Power Query to Convert Formula to Value Automatically in Excel
Now I will show how to use Power Query to convert formulas to values.
Steps:
- Select the entire dataset. Then go to the Data tab >> select From Table/Range.
- Create Table box will pop up. Select the range for your table >> check My table has headers >> click OK.
- Power Query window will appear. Click Close & Load.
- Excel will return the numbers as values in a separate worksheet.
Read More: How to Return Value of Cell Not Formula in Excel (3 Easy Methods)
6. Run a VBA Code to Convert Formulas to Value Automatically
Now I will show a VBA macro code to convert formulas to values.
Steps:
- Press ALT + F11 to open the VBA window.
- Then go to Insert >> select Module.
- A new module will pop up. Write down the following code.
Sub Convert_Formulas_to_Values()
Dim rn As Range
Dim Cell As Range
Set rn = Selection
For Each Cell In rn
If Cell.HasFormula Then
Cell.Formula = Cell.Value
End If
Next Cell
End Sub
- Now press F5 to run the code. Excel will convert the formulas to values.
Read More: How to Stop Formula to Convert into Value Automatically in Excel
Things to Remember
- You can also open a VBA window from the Developer
- Press ALT, then E, then S, and finally V. Do not press them together.
- You can press SHIFT+F10 to bring the context menu.
Conclusion
In this article, I have demonstrated 6 effective methods to convert formulas to values in Excel. I hope it helps everyone. And lastly, if you have any kind of suggestions, ideas, or feedback please feel free to comment down below.
Related Articles
- How to Convert Formula Result to Text String in Excel (7 Easy Ways)
- Putting Result of a Formula in Another Cell in Excel (4 Common Cases)
- How to Show Value Instead of Formula in Excel (7 Methods)
- VBA to Remove Formulas in Excel Keeping Values and Formatting
- How to Remove Formula in Excel and Keep Values (5 Ways)