How to convert formulas to values ​​in Excel

In some cases users just want to display the calculated value in a cell instead of leaving the formula there. Because you don't want to change the data, the cell's reference cell will be changed, or you simply don't want to show the cell's formula to others. You can do how to convert a formula to a value in the following ways.

How to convert formulas to values ​​in Excel Picture 1

Use Paste Special

Step 1: Select the data area you want to convert.

How to convert formulas to values ​​in Excel Picture 2

Step 2: Right-click in the selected data area. Select the Copy button to copy the data.

How to convert formulas to values ​​in Excel Picture 3

Or you can replace by pressing Ctrl + C .

Step 3: Right-click on the selected area. Select Paste Special (1) => click Paste Values icon 123 (2) .

How to convert formulas to values ​​in Excel Picture 4

Or you can always click the Paste Values icon 123 just below the Paste Options section.

How to convert formulas to values ​​in Excel Picture 5

Replace with VBA

To show Developer card, please refer to the following link: http://TipsMake.vn/macro-trong-excel-la-gi-cach-tao-va-chay-1-macro-trong-excel/.

Step 1: Open the VBA window by selecting the Developer tab (1) => click on the Visual Basic icon (2) .

How to convert formulas to values ​​in Excel Picture 6

Step 2: Microsoft VBA window appears, select Insert (1) => click on the Module icon (2) .

How to convert formulas to values ​​in Excel Picture 7

Step 3: Copy the following code into the Module .

Sub DisplayedToActual() 'Updateby20131126 Dim Rng As Range Dim WorkRng As Range On Error Resume Next xTitleId = "THUTHUATPHANMEM" Set WorkRng = Application.Selection Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8) Application.ScreenUpdating = False For Each Rng In WorkRng Rng.Value = Rng.Text Next Application.ScreenUpdating = True End Sub

How to convert formulas to values ​​in Excel Picture 8

Step 4: Press the F5 button to run the code, the THUTHUATPHANMEM dialog box appears, select the data to be converted, click the OK button .

How to convert formulas to values ​​in Excel Picture 9

As a result, the formula for the cell has been converted to a value.

How to convert formulas to values ​​in Excel Picture 10

Above Software Tips showed you some ways to convert formulas into values ​​in Excel. Good luck!

4 ★ | 1 Vote

May be interested

  • How to color formula cells in Excel automaticallyHow to color formula cells in Excel automatically
    coloring formula cells in excel helps us quickly identify cells that use formulas in long data tables.
  • Array formulas in Excel - Tutorials and examplesArray formulas in Excel - Tutorials and examples
    array formulas in excel - tutorials and examples. an array formula is a formula that can perform multiple calculations of one or more items in an array. array formulas can return multiple values ​​or a single result.
  • How to delete quick recipe on ExcelHow to delete quick recipe on Excel
    in addition to locking excel formulas, we can delete formulas and retain results, or delete all cells with formulas and results.
  • Excel tricks that let you write formulas more easilyExcel tricks that let you write formulas more easily
    if you've ever stared at a long excel formula and thought, 'is there a better way to write it?', the good news is that there is. use lambda and let.
  • How to lock formulas in Excel - Protect excel formulasHow to lock formulas in Excel - Protect excel formulas
    when sharing excel files, if you don't want others to edit the formulas or view the formulas, you can lock the formulas.
  • How to display formulas and print formulas in ExcelHow to display formulas and print formulas in Excel
    display formulas and print formulas in excel so you can see the formula directly in the data cell, not see the results anymore. to be able to display and print the formula so please follow the instructions below of tipsmake.com.
  • How to Copy Formulas in ExcelHow to Copy Formulas in Excel
    the excel program has a feature that makes it easy for users to copy formulas for entire rows or columns, but you don't always get the results you want. when you receive results that are not as expected or encounter #ref and /div0 errors, you will definitely feel unhappy. don't worry, though - you don't need to edit every cell in a 5,000-line spreadsheet. this article will provide some simple ways to help you copy formulas to other cells.
  • How to Convert Excel to DatHow to Convert Excel to Dat
    this wikihow teaches you how to convert a microsoft excel file (.xls) to the .dat format on a windows pc. you'll begin by converting the .xls file to .csv (comma separated values) format, and then you can convert to .dat in an app like...
  • A complete guide to Excel 2016 (Part 14): Create complex formulasA complete guide to Excel 2016 (Part 14): Create complex formulas
    after learning about the recipe in excel 2016, tipsmake.com continues to guide you how to create more complex formulas. invite you to consult!
  • How to lock formulas in ExcelHow to lock formulas in Excel
    when sharing an excel file, you don't want other people to edit the formulas, see the formulas, then lock the formulas again.