Document Editing Problems

Return a Blank Result in Microsoft Word Table Formulas

Elise WilliamsElise Williams Nov 14, 2026 869 views

Question details

The user wants a Word table calculation to display a blank result when its condition is not met.

Product
Microsoft Word
Device & OS
not provided
Scenario
Multiply the values in cells C2 and A2 only when C2 is greater than zero.
Observed behavior
Entering an Excel-style formula with an empty-string result produces a syntax error in Word.
Before you start

Check that A2 and C2 refer to the intended table cells and contain numbers for the calculation. The example below uses desktop Word field codes; the condition C2 > 0 is not the same as checking whether C2 contains any value.

Solution 1Recommended

Use a Word IF field with a blank false result

Use a conditional field to display the product when C2 is greater than zero and otherwise display nothing.

Word table formulas do not support the full Excel formula language. Instead of returning an empty string inside an Excel-style IF formula, use a Word IF field with nested calculation fields.

The example assumes C2 can be evaluated as a number. If a genuinely empty C2 causes an error, enter 0 in C2 as a workaround; the result will then be blank.

1
Insert the outer field

Click the result cell. In desktop Word on Windows, press Ctrl+F9 to insert a pair of field braces, then type IF between them.

2
Add the condition

After IF, press Ctrl+F9 to insert nested field braces and type = C2 inside them. After the nested field, type > 0.

3
Add the results

After the condition, press Ctrl+F9 again and type = C2 * A2 inside the new braces. Then type a space followed by two quotation marks for the blank false result. The complete field code should look like { IF { = C2 } > 0 { = C2 * A2 } "" }; all braces must be inserted as field braces, not typed.

4
Update the fields

Select the nested fields and press F9, then select the outer IF field and press F9. Use Alt+F9 in desktop Word on Windows to toggle field codes and results if needed.

5
Test the calculation

Enter a positive number in C2 and update the fields to check the product. Then enter 0 in C2 and update the fields again; the result cell should display nothing.

Update after changing values: Word fields do not necessarily recalculate immediately when table values change. Select the fields and press F9 to refresh them.
Free Microsoft Office alternative

Edit Word-Compatible Tables in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for editing documents and tables. Open Word files to continue working in a compatible format, though WPS does not fix Microsoft Word field syntax.

Edit document tables in WPS WriterOpen and save Microsoft Word DOC and DOCX filesUse familiar document-editing tools for an easier transitionWork with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel's empty-string syntax cause an error in my Word table formula?

Word table formulas use Word field syntax rather than the full Excel formula language. Use an IF field with a blank false-result argument instead of placing Excel's empty-string syntax inside the table formula.

How do I insert field braces in Word?

In desktop Word on Windows, place the cursor where you need a field and press Ctrl+F9. Typing ordinary braces on the keyboard does not create a Word field.

What if C2 is empty and the field shows an error?

The numeric comparison may not evaluate a genuinely empty cell as expected. Enter 0 in C2 and press F9 on the nested fields and then the outer IF field; the false result will display as blank.

Will the result update automatically when I change a table value?

Not necessarily. Select and update the nested calculation fields with F9, then update the outer IF field with F9.

Does C2 > 0 check whether the cell has a value?

No. It checks whether the numeric value is greater than zero, so zero and negative numbers also produce a blank result. A different condition is needed if those values should be included.