You can control the display of formulas in the following ways:
Click on Formulas and then click on Show Formulas to switch between displaying formulas and results.
Press CTRL + ` (grave accent).
Note: This procedure also prevents the cells that contain the formula from being edited.
-
Select the range of cells whose formulas you want to hide. You can also select nonadjacent ranges or the entire sheet.
-
Click Home > Format > Format Cells.
-
On the Protection tab, select the Hidden check box.
-
Click OK.
-
Click Review > Protect Sheet.
-
Make sure the Protect worksheet and contents of locked cells check box is selected, and then click OK.
Click the Review tab, and then click Unprotect Sheet. If the Unprotect Sheet button is unavailable, turn off the Shared Workbook feature first.
If you don’t want the formulas hidden when the sheet is protected in the future, right-click the cells, and click Format Cells. On the Protection tab, clear the Hidden check box.
Click on Formulas and then click on Show Formulas to switch between displaying formulas and results.
How to Show Formulas in Excel: 4 easy methods (2023)
Have you ever worked on a spreadsheet densely packed with formulas?
In such a case, to make sense of how each of the formulas works and how the results are derived, you might want to see the formulas in the cells.
This guide will teach you how to display formulas in Excel. 😀
Download our sample workbook here to follow the guide as we dive into the details of this topic.
How to show formulas in Excel from ribbon
Type any formula into Excel, say = 2+ 2, and hit ‘Enter’.
It’ll take Excel less than a nano-second to run the formula above and display results.
But what if you want the formula ‘= 2 + 2’ to be on the display only? Here’s how you can do it.
1. Select any cell of your worksheet.
2. Go to the Ribbon > Formulas Tab > Formula Auditing group.
3. Click on the button ‘Show Formulas’.
4. Excel will now display the formulas for all cells in the worksheet and not the result.
Nice! How can we now get back the results?
5. Go back to the Ribbon > Formulas Tab > Formula Auditing group.
6. Again Click on the button ‘Show Formulas’, and there you go.
Excel again displays the result and not the formula.
Show formulas using the shortcut command
You can also display formulas in Excel by using a shortcut key. It is swift and easy.
1. Click any cell of an Excel worksheet.
2. Press the Ctrl key + Grave Accent Key ( ` ).
Can’t find the grave accent key on your keyboard? Look to the left of 1 from the number keys.
This puts all cells of that worksheet to display formulas instead of the results.
Note that this shortcut only displays formulas for all cells of the active worksheet. Not the entire workbook.
4. Want to go back already? Press the Ctrl key + Grave Accent Key ( ` ) again.
Excel takes the display back to the results. No more formulas.
That’s for Windows users. Does the method change for Mac users?
Certainly not. Even if you’re a Mac user, the process remains the same. Press the Control key + grave accent key (`) to display formulas.
Whenever you’re done and want to go back to the default display, again press the same keys together.
How to display formulas in specific cells only
We’ve come across two methods to display formulas in Excel already. However, did you notice something?
Both the above methods would display formulas for all the cells of the active worksheet.
But what if you only want to display the formula of a selected cell? There are two ways you can achieve this.
i. Add a space before the formula
Take the following image as an example, where cells A1, A2, and A3 have a formula.
You want to display the formula for cells A1 and A2 only and not for cell A3.
1. Select Cell A1 and A2.
2. Go to Home Tab > Editing group > Find & Select > Replace.
This launches the Find and Replace dialog box as below.
You may use the keyboard shortcut Control + H to launch the Find & Replace feature.
3. Against the Find tab, punch in an equal sign ‘=’.
4. Against the Replace tab, punch in an equal sign but after a space character ‘ =’.
This way the formulas in the selected cells will not start with an equal sign but a space character. And Excel only recognizes a formula when it starts with an equal sign.
5. The results only in the selected cells will be replaced by formulas as follows.
The selected range (Cell A1 and A2) shows formulas. Cell A3 continues to show the results.
ii. Add an apostrophe before the formula
If you do not want a space character visible in the cell, you may use this method instead.
1. Select Cell A1 and A2.
2. Go to Home Tab > Editing group > Find & Select > Replace.
3. In the Find and Replace dialog box, punch in an equal sign (=) against Find.
4. Against the Replace tab, punch in an equal sign but after an apostrophe (‘=).
This way the formulas in the selected cells will not start with an equal sign but an apostrophe. Whenever something starts with an apostrophe in a cell, Excel takes it as a text string.
5. The results only in the selected cells will be replaced by formulas as follows.
However, unlike the space character, the apostrophe is not visible in the cell. It is only visible in the formula bar or in the edit mode.
Pro Tip!
If you are in a hurry and only want to have a glimpse of the formula in a cell, the above methods might not suit you.
To check the formula to a cell, you may press ‘F2’. This will instantly show the formula running behind a cell.
However, as soon as you click away or press enter, the formula would be replaced by the result.
How to show formulas with the FORMULATEXT function
It’s time we introduce you to a modern-day Excel function. We bet you’ve not heard of it before.
The image below has a cell that contains a formula.
Do you want this formula to appear as it appears in the formula bar but in a different cell?
1. Activate a cell and write the FORMULATEXT function as follows.
= FORMULATEXT (A1)
Write that as the 2nd argument in the MATCH function, replacing what’s currently there.
The FORMULATEXT function of Excel has a single argument – the reference argument.
In the reference argument, you create a reference to the cell whose formula you want to be displayed. We have created the reference to cell A1.
2. Hit enter to see the results as follows.
Note how Excel displays the formula of the referenced cell.
You can display the formula of any cell doing so. 😉
Pro Tip!
What if cell A1 above contained a formula with reference to another workbook?
The FORMULATEXT function would give back a #N/A error if that workbook is not open in the background.
How to select all formulas in the selection
If you’ve only received an Excel file prepared by someone else, how can you quickly identify the cells that have a formula running behind them?
The image below has a list of numbers (some of which are the result of a formula). Whereas, some others are simply punched in numeric values.
To select the formulas for the first six cells of this list (A1 to A6), follow these steps.
1. Select the cells (Cell A1 to A6).
2. Go to the Home Tab > Editing > Find & Select > Go to Special.
Or press down the Control key + G.
3. From the ‘Go To’ dialog box, click special.
4. Check ‘Formulas’ and press okay.
5. Excel selects all the cells that have a formula from Cell A1 to A6.
A5 and A6 do not have any formulas but only numbers. Hence, Excel did not select them.
You can format cells (highlight them) or check the count of these cells from the status bar.
How to print formulas
Whenever you print an Excel sheet, the print contains the calculated results. Not the formulas.
Need the print of your spreadsheet to have the formulas instead of the results?
1. Perform either of the methods above to display the formula in cells.
2. Once your worksheet begins displaying formulas, go to File Tab > Print..
Or just use the print keyboard shortcut. Hit the Control key + P.
3. Here’s what the print preview looks like.
The final printed version would contain formulas and not their calculated results.
That’s it – Now what?
The tutorial above guides you on everything about formulas. Starting from displaying formulas in Excel to printing them.
Once you have a good grip on how formulas work in your spreadsheet, everything will begin to make better sense.
But, do you know how to use some of the most crucial formulas/functions of Excel? Like the VLOOKUP, SUMIF, and the IF functions?
Here’s my 30-minutes free email course that will help you master these and many more functions of Excel in no time.
Kasper Langmann2023-01-19T12:21:09+00:00
Page load link
As soon as you type a formula in Excel and hit enter, it would return the calculated result, and the formula would disappear.
That’s how it’s supposed to work.
But what if you want to show formulas in the cells and not the calculated values.
In this Excel tutorial, I will cover the following topics:
- How to Show Formulas in Excel instead of the values.
- How to Print the formulas in Excel.
- How to Show Formulas in Excel in Selected Cells Only.
- What to Do when Excel Shows Formulas Instead of the Calculated Values.
Show Formulas in Excel Instead of the Values
Here are the steps to show formulas in Excel instead of the value:
As soon as you click on Show Formulas, it will make the formulas in the worksheet visible. It’s a toggle button, so you can click on it again to make the formulas be replaced by its calculated result.
It’s a toggle button, so you can click on it again to make the formulas be replaced by its calculated result.
As shown below, column I has the formulas. As soon as ‘Show Formulas’ button is clicked, the cells show the formulas instead of the value.
You can also use the Excel keyboard shortcut – Control + ` (you will find this key in the top-left part of the keyboard, under the Escape key).
Note: This is a sheet level technique. This means that when you use the Show Formulas option or the shortcut, it will only show the formulas in the active sheet. All the other worksheets will be unaffected. To show formulas in other worksheets, you will have to go to that sheet and use this shortcut (or ribbon button).
In some cases, you may have a lot of worksheets and you want to show the formulas in all the worksheets in the workbook.
Here are the steps that will show the formulas in all the worksheets in Excel:
As mentioned, while this may seem to have more steps as compared to a shortcut or the ‘Show Formulas’ button in the ribbon, it’s useful when you have multiple worksheets and you want to show the formulas in all these worksheets.
How to Print Formulas in Excel
Here are the steps to print formulas in Excel:
- Go to Formula tab.
- Click on the Show Formula option.
- Go to File –> Print.
The above steps would ensure that it prints the formulas and not the values.
Show Formulas in Excel Instead of the Value in Selected Cells Only
The above methods covered so far would show all the formulas in a worksheet.
However, you may want to show the formulas in some selected cells only.
For example, as an Excel trainer, I often create templates where I show the formula in one cell and its result in another cell (as shown below).
Here are the steps to show formulas in Excel in selected cells only:
This will show formulas in all the selected cell while the remaining cells would remain unchanged.
Note: Entering a space before the formula makes it a text string and the space character is visible before the equal to sign. On the other hand, using an apostrophe before the equal to sign make the formula a text string, however, the apostrophe isn’t visible in the cell (it shows up only in the formula bar and in the edit mode).
How to Handle Excel Showing Formulas Instead of Calculated Values
Sometimes, you may find that the cells in Excel are showing the formula instead of the value.
There are a couple of reasons why this may happen:
- The ‘Show Formulas’ mode is enabled or you may have accidently hit the Control + ` shortcut. To disable it, simply use the shortcut again or click on the ‘Show Formula’ option in the Formulas tab.
- It could be due to the presence of a space character or apostrophe before the equal to sign in the formula. The presence of these before the equal to sign makes the cell format as text and the formula shows up instead of the value. To handle this, simply remove these. You can use find and replace to do this.
- If a cell has ‘Text’ formatting applied to it and you enter the formula and hit enter, it will continue to show the formula instead of the calculated value. To fix this issue, go to the Home tab and with the Number group, change the formatting to General.
You May Also Like the Following Excel Tutorials:
- How to Convert Formulas to Values in Excel.
- How to Multiply in Excel Using Paste Special.
- How to Lock Formulas in Excel.
- Absolute, Relative, and Mixed Cell References in Excel.
- Hide Zero Values in Excel (Make Cells Blank If the Value is 0)
Formulas entered in a cell are typically displayed in the formula bar and within the cell itself. However, as soon as the formula is complete, you hit enter and the formula disappears from the cell and is replaced by the calculated result. So, basically, the question is how to show formulas in Excel?
When working with a vast array of formulas that are embedded within one another, it can be difficult to keep track of what formulas are used or find errors within the formulas.
How to Display Formulas in Excel?
Excel has a feature to display the formulas in cells versus showing the calculated results that will ease the development of a multi-formulated worksheet.
Let’s dig out different methods to show formulas in Excel;
Method 1
In the Ribbon, select the Formulas Tab. Within the Formula Auditing Box, click on the option “Show Formulas.” This will automatically turn on all formulas entered within the worksheet making them visible without having to click on the cell they are entered in. To hide the formulas and show the calculated results, click Show Formulas again to turn them off.
Method 2
-
- In the File Tab, click Options.
- Go to the Advanced Options Menu and scroll down to Display options for this worksheet.
- If not already displayed, select the worksheet from the drop-down menu that you wish to format.
- Check the box next to Show Formulas in cells instead of their calculated results.
- Click
This method is best when dealing with multiple worksheets within a workbook as you can select each worksheet from the drop-down menu and turn on the Display Formulas feature in each one. Displaying the formulas in several worksheets is highly useful if you are using formulas across worksheets.
For example, worksheet 1 may draw the SUM from worksheet 2 into an IF Statement. In this case, you can toggle back to worksheet 2 and easily double-check your formulas to ensure the formula in worksheet 1 is properly entered.
Method 3
The fastest way to Display Formulas in Excel is using the keyboard shortcut Ctrl + ` that is holding down the Control Key and the accent key at the same time. Once again, all formulas will be displayed rather than their calculated results. To turn the Display Formulas feature off, use the shortcut keys again.
Displaying Calculated Results – Displaying Formulas
Displaying Formulas
Example:
If the Display Formula in excel is turned off you would have to click in each cell to view the formula in the formula bar. Showing Formulas in excel allows you to scan Row 9 to check for errors, add formulas, embed formulas, or adjust the formula.
Printing Formulas:
Once the Excel Display Formulas feature has been turned on you can print the worksheet or workbook and any of the formulas displayed will print. When dealing with a heavily formulated worksheet it may help to print one copy with the formulas displayed and one with the calculated results to help explain how the results were generated.
Formulas not being displayed:
Make sure the worksheet is not protected by selecting the Review Tab from the menu and clicking Unprotected Sheet. In the future, if you do not want the formulas hidden when Protecting the Sheet, right-click the cell with the formula entered and select Format Cells from the menu. Go to the Protection Tab and unselect Hidden. You may now Protect the worksheet and display the formulas.
Column Width Increases From Displaying Formulas
When you display formulas the columns expand, it’s important to remember that this is just for display purposes so you can see the formulas. Excel isn’t actually expanding the columns, so don’t think you need to re-adjust the column widths.
If you are working on an Excel worksheet with a lot of formulas in it, it may become difficult to follow and keep track of all your formulas. Excel provides a simple way of displaying formulas in the cells in addition to the formula bar.
This feature also displays the dependencies for each formula in the cells (when selected), so you can track the data being used in each calculation. Displaying formulas in cells helps you to find cells containing formulas and to quickly read through all your formulas and check for errors. You can also print the spreadsheet with the formulas in the cells to help check your work.
To display formulas in cells containing them, press the Ctrl + ` (the grave accent key). The formulas in each cell display as shown in the image above. The cells involved in the calculation are bordered in colors that match the cell references in the formula to help you track the data.
You can also click Show Formulas in the Formula Auditing section of the Formulas tab to display formulas in the cells.
Even if you don’t show formulas in the cells, when you click on a cell containing a formula, the formula displays in the formula bar. If you don’t want the formulas visible to users of your spreadsheet, you can hide them and protect the sheet. To do this, select the cells whose formulas you want to hide.
In the Cells section of the Home tab, click Format and select Format Cells from the drop-down menu.
The Format Cells dialog box displays. On the Protection tab, select the Hidden check box. Click OK.
To finish hiding the formulas, you must protect the sheet. Click Format in the Cells section of the Home tab again. This time, select Protect Sheet from the drop-down menu.
On the Protect Sheet dialog box, make sure the Protect worksheet and contents of locked cells check box is selected. Enter a password in the Password to unprotect sheet edit box that will allow you to unprotect the sheet and show the formulas again. In the Allow all users of this worksheet to list box, select the check boxes for the tasks you want to allow the users to perform. Click OK.
Enter your password again in the Reenter password to proceed edit box on the Confirm Password dialog box and click OK.
Now, you’ll notice that when you select a cell containing a formula, the formula bar is empty.
To show the formulas in the formula bar again, click Format in the Cells section of the Home tab and select Unprotect Sheet from the drop-down menu.
Enter your password on the Unprotect Sheet dialog box and click OK.
All your formulas will be visible again when those cells are selected in the worksheet.
READ NEXT
- › BLUETTI Slashed Hundreds off Its Best Power Stations for Easter Sale
- › HoloLens Now Has Windows 11 and Incredible 3D Ink Features
- › This New Google TV Streaming Device Costs Just $20
- › How to Adjust and Change Discord Fonts
- › The New NVIDIA GeForce RTX 4070 Is Like an RTX 3080 for $599
- › Google Chrome Is Getting Faster
How-To Geek is where you turn when you want experts to explain technology. Since we launched in 2006, our articles have been read billions of times. Want to know more?
When we type a formula in Excel and press the enter key, it will return with the calculated result, while the formula may be seen in the formula bar. However, it is possible to display formulas rather than the calculated result. In this tutorial, we will learn how to show formula in a single cell, selected cells, or print formulas.
Figure 1 – How to show all formulas instead of the result
Show Formula in Excel rather than values
- We will prepare a data table
Figure 2 – Show formula in excel
- We will click on the Formula Tab and select Show Formulas from the Formula Auditing group.
Figure 3 – How to display formulas in excel
-
- Excel Instantly returns with the formulas in our cells rather than their results
Figure 4 – Excel Showing formula instead of value
- Alternatively, we can use the show formulas excel shortcut. We will click on the cell whose formula we want to show and press the short cut key (Ctrl +)
Show Formula in Worksheets in Excel
If we have lots of worksheets and wish to show formula in all cells in that worksheet, here’s what we will do;
- We will go to the File Tab and select Options
Figure 5 – How do you display formulas in excel
- In the left pane, we will select Advanced and scroll down to Display Options for this worksheet
Figure 6 – Show cells in excel
- In the section menu, we will select the worksheet we want to Show formulas in cells instead of their calculated results.
- We will click OK.
Figure 7 – Excel cells show formula instead of the result
Show Formula in Selected Cells
- We will go to Home, choose to Find & Select and pick Replace
Figure 8 – Excel showing formula instead of value
- In the Find and Replace dialog box, we will need the symbol “=” in Find what field and Replace with field.
Figure 9 – How to show all formulas in excel
- We will click on Replace All.
- Now, we can see all the formulas in the selected cells.
Note – If we click a cell with a formula and the formula does not show up, then it is possible that the formula is hidden and the worksheet is protected.
Instant Connection to an Excel Expert
Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.
By default, Excel shows the results of formulas. To show the formulas instead of their results, press CTRL + ` (you can find this key above the tab key).
1. When you select a cell, Excel shows the formula of the cell in the formula bar.
2. To display all formulas, in all cells, press CTRL + ` (you can find this key above the tab key).
3. Press ↓ twice.
Note: as you can see, Excel highlights all cells that are referenced by a formula.
4. To hide all formulas, press CTRL + ` again.
5. If you can’t find the grave accent (`) on your keyboard, on the Formulas tab, in the Formula Auditing group, click Show Formulas.
6. To hide all formulas, click Show Formulas again.
7. You can also use the FORMULATEXT function in Excel to display formulas in adjacent cells.
Tip: visit our page about formula auditing in Excel to learn more about tracing precedents, tracing dependents, error checking, etc.
- Newsletter
- EXTRA CREDIT
By Wendy Tietz, CPA, Ph.D.; Jennifer Cainas, CPA, DBA,; and Tracie Miller-Nobles, CPA
There are a number of different ways that you can display formulas in Excel. This can be useful when investigating why a certain formula isn’t working correctly or when grading your students’ worksheets to ensure they are using formulas correctly.
Display formulas using the Show Formulas command
To show formulas in Excel, you can click on the Formulas tab and then click Show Formulas.
This will show all formulas in the Excel worksheet.
Toggle formulas on and off
You can also use a keyboard shortcut command to toggle formulas on and off. On your keyboard, typing the shortcut command Ctrl+`, will toggle on (or show) the formulas. (Note that the ` in this shortcut is the grave accent mark, usually located to the left of the 1 key on your keyboard.) Typing the shortcut command Ctrl+` again will toggle off the formulas.
Display formulas using the FORMULATEXT function
Occasionally you might want the formula to be displayed as a text string next to the formula. This can be especially useful when you want to see both the result of the formula and the formula on the same worksheet, or when introducing formulas to students. In these cases, you can use the FORMULATEXT function.
The FORMULATEXT function returns a formula as a text string, as seen in the screenshot below. In that example, if you wanted to show the formula of cell D3 in cell F3, you would input the following formula: =FORMULATEXT(D3).
There are a couple of important items to be aware of when using the FORMULATEXT. First, note that you can use it to reference a cell in another worksheet or workbook, but the workbook must be open. Otherwise, Excel will return an #N/A error value.
Excel will also return an #N/A error value if you use FORMULATEXT on a cell that doesn’t contain a formula, or if the formula can’t be displayed due to worksheet protection.
— Wendy Tietz, CPA, CGMA, Ph.D., is a professor of accounting at Kent State University in Kent. Ohio; Jennifer Cainas, CPA, DBA, is an instructor of accountancy at the University of South Florida in Tampa; and Tracie Miller-Nobles, CPA, is an associate professor of accounting at Austin Community College in Austin, Texas. See their site AccountingIsAnalytics.com for resources they have developed for teaching data analytics in introductory accounting. To comment on this article or to suggest an idea for another article, contact senior editor Courtney Vien at Courtney.Vien@aicpa-cima.com.