About This Article
This article was created using an automated generation workflow utilizing generative AI. We reviewed the specifications of Microsoft Support's ISFORMULA function and conditional formatting, and organized an inspection procedure using fictitious line items.Verification Status: 📘 Official Specifications Confirmed – Excel Physical Device Unconfirmed
- Supported Environments, Capabilities, and Limitations (Official Information Confirmed: November 27, 2026)
- First, let us create a state where identical displays have different internal contents.
- Change the quantity to verify the impact of overwriting
- Use conditional formatting to make rows requiring review easier to spot
- Excluding Unpopulated Reserve Rows
- The Presence of a Formula and Its Correctness Are Different
- Troubleshooting
- Summary
- Official and Primary Sources
Supported Environments, Capabilities, and Limitations (Official Information Confirmed: November 27, 2026)
| Item | Condition |
|---|---|
| Target | Windows Excel for Microsoft 365, Excel 2024/2021/2019/2016 |
| Operation Location | Editable worksheet. Use a new practice workbook |
| Capabilities | Determine if a formula exists in cells expected to contain calculations, and highlight rows requiring review |
| Limitations | Functionality to determine the presence or absence of formulas. Does not determine formula correctness, the modifier, or modification date and time |
| Cost and Permissions | Target Excel usage rights. Copilot, macros, and external connections are not required |
| Unconfirmed | Calculation and conditional formatting display on physical Excel devices. UI differences on Mac/Web versions |
In Excel billing statements, numeric values are sometimes manually typed into cells that should contain calculation results. Typing the same value as the formula makes the cell look identical to a calculated one. This causes the total amount to fail to update when quantities change, leading to aggregation errors.
By designating specific columns to be calculated using formulas, you can use the ISFORMULA function to detect rows where formulas have been removed. In this case, we check not whether the value is correct, but whether the cell maintains its expected role.
First, let us create a state where identical displays have different internal contents.
In a new workbook, enter Item in A1, Quantity in B1, Unit Price in C1, Amount in D1, and Inspection Result in E1. Create A2:D5 using the following table as a reference. Please enter the formulas listed in column D as actual formulas, not as text strings.
| Row | A: Item | B: Quantity | C: Unit Price | D: Content to Enter | Expected Display in D |
|---|---|---|---|---|---|
| 2 | Pen | 2 | 100 | =B2*C2 | 200 |
| 3 | Notebook | 3 | 100 | 300 | 300 |
| 4 | File | 4 | 50 | =B4*C4 | 200 |
| 5 | Envelope | 2 | 50 | Blank | Blank |
The value 300 in row 3 is not a calculation result. Numeric values are entered directly. Row 5 represents a state where the amount formula was omitted. The key point of this exercise is that it is typically difficult to detect the overwritten value in row 3 based solely on the display.
Enter the following formula into E2 and copy it down to E5.
=IF(ISFORMULA(D2),"OK","要確認")
| Row | Expected result for column E | Reason |
|---|---|---|
| 2 | OK | Formula exists |
| 3 | Requires review | Hardcoded numeric value entered |
| 4 | OK | Formula exists |
| 5 | Requires review | No formula exists |
The expected values are derived from official specifications and are not measurement results from physical hardware.According to Microsoft Support's ISFORMULA function, it returns TRUE if the referenced cell contains a formula, and FALSE otherwise. The IF function translates that result into a text string that inspectors can read.
Change the quantity to verify the impact of overwriting
First, change the quantity in B2 from 2 to 5. Because the formula in D2 references the quantity and unit price, the total amount is expected to update from 200 to 500.
Next, change the quantity in B3 from 3 to 5. If the unit price is 100, the correct amount should be 500. However, D3 contains a fixed value of 300. Therefore, even if the quantity is changed, the amount is expected to remain 300.
In this experiment, D3 was the correct amount before the change. Inspections that only check values will miss this. An inspection using ISFORMULA alerts you to missing formulas even while the values match. Understanding when calculation results will change clarifies the purpose of distinguishing between formulas and fixed values.
In the revert exercise, change B3 back to 3 and enter the original formula into D3. Verify that E3 changes to OK. In actual operations, do not simply copy formulas from adjacent rows without checking the calculation rules. Tax rates and exception handling may differ from row to row.
Use conditional formatting to make rows requiring review easier to spot
When there are hundreds of rows to inspect, following text strings alone can be difficult. While keeping the judgment results in column E, you can also change the background color of problematic rows. Using both color and text allows you to verify inspection results even in environments where colors are hard to distinguish.
Select A2:E5 in the Windows version of Excel. Make sure that the top-left cell of the selection is A2. From Conditional Formatting on the Home tab, select New Rule, and choose the rule type that determines which cells to format using a formula. Set the following formula and specify a fill color such as light yellow.
=$E2="要確認"
Verify in the Rules Manager dialog that the applies-to range is set to =$A$2:$E$5. The expected result is that rows 3 and 5 are colored. Microsoft's official conditional formatting guide explains how to change formatting based on the results of logical expressions and how to adjust cell references.
The reason for placing a dollar sign before column E is that regardless of which column from A to E is being highlighted, the evaluation always checks column E. No dollar sign is attached to the row number 2. This maintains the relationship of referencing E3 in row 3 and E4 in row 4.
If the applies-to range is set to A2:E5 but cells outside column E are referenced, check the column locking in the formula. Conversely, if all rows reference only E2, review whether the row number has been incorrectly locked as well.
Excluding Unpopulated Reserve Rows
In operational ledgers, blank rows are sometimes prepared in anticipation of future data entry. If you only check for the presence of a formula, rows that are not yet in use will also be flagged for review. If you want a rule that requires the amount formula only for rows where an item has been entered, you can modify the formula in E2 as follows.
=IF(A2="","対象外",IF(ISFORMULA(D2),"OK","要確認"))
If column A matches an empty string, exclude it from inspection; otherwise, inspect the formula in column D. If reserve rows such as A6:E6 are added, update both the evaluation formula and the conditional formatting apply-to range to accommodate the additional rows.
This change allows you to distinguish between empty reserve rows and rows that have an item but lack an amount formula. However, rows where an item was accidentally omitted will be excluded from the inspection. For operations where you also need to inspect cases where columns other than the item are populated, define a separate condition for whether a row is in use.
The Presence of a Formula and Its Correctness Are Different
Change D3 from the fixed value 300 to the incorrect formula =B3+C3. Although this is a valid formula syntactically, it is not a multiplication for calculating the amount. Even so, ISFORMULA evaluates to TRUE, and the inspection result is expected to be OK.
The same applies when a formula returns a calculation error. ISFORMULA evaluates whether a formula exists, not whether the calculation result is valid. Therefore, passing this inspection does not guarantee that the billed amount is correct.
If necessary, check for calculation errors in a separate column, or recalculate the amount of the target row from known calculation rules and compare them. The presence of a formula, the absence of calculation errors, and consistency with business rules are distinct inspection items. Do not apply this rule as-is to designs where individual cells do not contain individual formulas, such as dynamic array output destinations.
Troubleshooting
| Symptom | Item to Verify |
|---|---|
| Requires verification despite entering a formula | Leading apostrophes, string formats, and references |
| Even empty reserve rows require verification | Conditions defining items to be inspected |
| Row colors become misaligned | Top-left of the application range and formula row number |
| The judgment is OK, but the amount is different | Formula content and input values |
| Colors are not applied when adding a row | Adding an application range and judgment column |
There is no need to perform bulk replacement or automatic repair on the original details. First, narrow down the problematic rows and have the person in charge check them against the calculation rules. If authorized fixed-value inputs exist, you can also consider a design that leaves exceptions and their reasons in a separate column. Treating all cases as errors without distinguishing exceptions can generate many warnings and lead to overlooking important overrides.
For monthly closing processes, not only verify whether any items marked for review remain in the inspection results, but also confirm whether the target range includes all details for the current month. There is also a possibility that the inspection column itself may be deleted or overwritten with a fixed value. Separating input cells from calculation cells and combining editing permissions, sheet protection, and file version control can share the responsibility of accident prevention and detection. Note that sheet protection is not a substitute for inspection, nor is it the same as access control for confidential information.
Summary
ISFORMULA checks whether a formula exists in a cell, rather than checking the calculation result. By determining the formula calculation column and the rows to be inspected, you can visualize overrides and missing entries. Conditional formatting is an aid to make such determinations easier to find. Please verify the formula content and calculation accuracy separately.
Official and Primary Sources
Official documentation was verified on November 27, 2026. Formula evaluation, display, and organizational environment operation on actual Excel hardware have not been verified.
