I have an excel table (Sales Table) that uses an INDEX MATCH function within a few columns. There are 2 specific columns (Product and Part Number) which are using a material number column to pull other values from other tables. The material number column is filled with numbers that are stored as "General" and each cell has an error that says "Number Stored as Text". The "Number stored as text" is not a problem for the product column but IS a problem for the part number column. When I change the column to "Number" the part number column fixes itself (so I know its not a problem with the function).
Additionally, the part number reference table, has the material numbers and DOES NOT show an error on the material number values. However, in the product table, the material number DOES show an error.
Can anyone explain why the numbers stored as text would affect one column and not the other? FYI: The data source is imported into the main table through VBA and I cannot change the input file contents. Maybe I need to change the column text through VBA on import but I really want to understand why its a problem in one spot but not the other.
Formula for Product:
=IF([@Location]="Non-AT","Non AT",INDEX(Table_Material,MATCH([@[Material Number]],Table_Material[Material Number],0),MATCH($T$2,'Material No. to Product'!Print_Titles,0)))
Formula for Part Number:
=INDEX(Table_ATNo,MATCH([@[Material Number]],Table_ATNo[SAP Material Number],0),2)




MATCH([@[Material Number]]&"",Table_Material[Material Number]&"",0)