Software⏱️ 3 min read📅 2026-06-11

How to Fix: Calculated Fields Reference Error (#NAME?) on Pivot Table Refresh

Excel formula error fix for pivot table calculated fields

Quick Answer: Use the `&` operator instead of `+` to concatenate strings in Excel formulas.

The 'Calculated Fields Reference Error (#NAME?)' issue affects users who have pivot tables with complex calculations involving calculated fields. This error occurs when Excel cannot find or reference one of the calculated fields used in another formula, causing a #NAME? error on refresh.

This frustrating error can be particularly challenging to resolve, especially when dealing with multiple calculated fields that rely on each other's results. However, by following these steps and understanding the root causes of the issue, users should be able to fix the problem and get their pivot tables working correctly.

⚠️ Common Causes

  • The primary reason for this error is that Excel does not support referencing calculated fields within another formula. This limitation can cause issues when using formulas like those in your example, where 'Chg Sales $' relies on the results of 'Total Sales $ TY' and 'Total LY Sales $'.
  • Another potential cause is incorrect formatting or naming conventions for the calculated fields or their references. Ensuring that all names are unique and correctly formatted can help resolve this issue.

🔧 Proven Troubleshooting Steps

Renaming Calculated Fields to Unique Names

  1. Step 1: To fix this issue, rename the calculated field 'Chg Sales $' to a unique name that does not reference any other calculated fields. This will allow Excel to find and reference the field correctly.
  2. Step 2: For example, rename 'Chg Sales $' to 'Change in Sales $'. Repeat this process for all 20-30 calculated fields that rely on each other's results.
  3. Step 3: After renaming all the affected fields, refresh your pivot table to ensure it works correctly.

Using Data Source References

  1. Step 1: As an alternative solution, you can rewrite the formulas using data source references instead of referencing calculated fields. This approach eliminates the need for Excel to find and reference other calculated fields.
  2. Step 2: For example, replace 'Chg Sales $' with `=('Chain Sales Dlrs TY'+'WTD Sales TY')-('Chain Sales Dlrs LY'+'WTD Sales LY')`. Repeat this process for all 20-30 formulas that rely on each other's results.
  3. Step 3: After rewriting the formulas using data source references, refresh your pivot table to ensure it works correctly.

💡 Conclusion

By understanding the root causes of the 'Calculated Fields Reference Error (#NAME?)' issue and following one or both of the primary fix methods outlined above, users should be able to resolve this problem and get their pivot tables working correctly in Excel 2010. Remember to take the time to rename calculated fields to unique names or rewrite formulas using data source references for optimal results.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions