[Fixed] Excel Data Table Input Cell Reference Is Not Valid

Reason 1 – Input Cell Is in Different Sheet

An input cell reference is not valid error message could appear when using a data table where input cell makes a reference to an outside source.

This commonly occurs if a formula is copied or transferred to another cell, or if columns or rows holding the data required in the formula are mistakenly deleted.


Solution – Insert Input Cells on the Same Sheet as Data Table

 

  • Select the range where you want to put your data table.
  • Go to the Data tab on the ribbon.
  • Click on the What-If Analysis drop-down menu under the Forecast category.
  • Select the Data Table.

excel data table input cell reference is not valid

  • Select the input cells and you can see our input cells are in the same sheet where our data table is located.
  • Click OK.


Reason 2 – Referencing Wrong Cell

The error can also happen if the cell reference is incorrect or relates to another cell. It can also happen if the active worksheet refers to a cell beyond the table range.


Solution – Use Correct Cell Reference in Input Cells

When you reference the data table input cell be careful while doing this. Using the correct cell reference will solve the problem.


Reason 3 – Duplicate Row & Column Input Cells

If the Row input cell and Column input cell reference the same cell, you will get the error message Input cell reference is not valid.


Solution – Contrast Row & Column Input Cells

Make sure the Row input cell and Column input cell reference are different.


Reason 4 – Inaccurate Table Selection

If you select the incorrect table range where you want to put your data table, an error message will appear.


Solution – Select Table Range Accurately

Ensure that while using What-If Analysis to generate a data table, the range of the table that you select for the data table is accurate.


Reason 5 – Uncategorized Problem

If you try all the above solutions but still get the error, then the data table cannot categorize the range or the input cells.


Solution – Reference Sheet Name While Inputting Row & Column Cell

To solve this include the sheet reference before inputting the Row input cell and Column input cell. In this case, we use =Solution1!$C$4 as our Row input cell & =Solution1!$C$5 as our Column input cell.

excel data table input cell reference is not valid

NOTE: A data table is different from an Excel table, which is used to manage a collection of connected data. See this article Data Table Not Working in Excel.

Things to Remember

  • In a two-variable data table, both the Row input cell and the Column input cell are filled, in contrast to a one-variable data table where the Row input cell is left empty.
  • You cannot reverse the action after applying the Data Table.
  • It is not possible to alter or edit any of the values in the set of cells once the What-If-Analysis completes and the values are calculated.

Download Practice Workbook

 


Related Articles


<< Go Back to Data Table in Excel | What-If Analysis in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Sabrina Ayon
Sabrina Ayon

Sabrina Ayon, a Computer Science and Engineering graduate from United International University, has been an integral part of the ExcelDemy project for two years. She authored 150+ articles, excelling in instructing through visually engaging Excel tutorials. With a passion for teaching, Sabrina conducted sessions on Excel VBA, sharing her knowledge and insights with others. Currently holding the position of Project Manager for the ExcelDemy Visual Development Project, she oversees various aspects of the project, ensuring its smooth operation... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo