@Risk Error: "Invalid matrix location" when Defining Correlations

Solution: Delete the names that point to #REF. Best Practice: To prevent the problem from recurring, don't delete correlation matrices in Excel. Instead, use the Delete Matrix button in the Define Correlations dialog. This will not only delete the matrix, but also delete the name in Name Manager and remove the references to the matrix from the @RISK distributions.