Referencing another sheet in a Countifs formula, if sheet is blank, erroring "#INVALID REF"
I have 2 instances where within a single folder I have one sheet counting occurrences in another sheet that is in the same parent folder. In the first instance, the sheet being counted has existing data, and when I "Save as New" everything works as expected. In the second instance, the referenced sheet is blank and when I do a "Save as New" it errors our as "#INVALID REF". In the "Template" folder I am doing the "Save as New" from, the file that is erroring out, although blank, is not showing the same error. The only difference I can think of between the first instance that is working after a "Save as New" and the second instance that isn't working after "Save as New" is that the first has data from the beginning and the second is blank from the beginning.
Answers
-
@CherylCrouse It sounds like your data & formatting options aren't saving the cell links and cross-sheet references. See below… if this isn't selected it will remove the link that is within that/those formulas.
-
I agree, but they are all
checked.
-
Once I entered one piece of data in the sheet I am referencing, it allowed me to make all the connections in the new sheet, but I'm using Auto Numbering and the results are the numbers needed to populate charts, so I don't want dummy data in the template. So after I recreated all the references, I had to go back in to the referenced sheet, delete the row, and restart the numbering at 001 for new entries. I've never run across this before.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!