Need help changing my formula to retain cell/range references when sorting

I have read a couple of different threads where people have explained why a formula loses a cell/range reference (#REF!) when a column is sorted, and suggestions to fix. However, I don't know Numbers that well to use the function suggestions for my particular need and was hoping someone could help.


In my actual database, I have about 15 columns per row, including a first and last name column, a "checkbox" column (corresponding to each name), and a (hidden) column that counts (in successive order) how many "names" are checked off. This last column is used in another sheet for a Lookup function - to just list the names who have checkmarks next to their names. Out of about 50 names, about 10 are checked so I really don't want to duplicate the entire database and use "filtering".


See screenshot below for the current formula. It is the "orange" reference (D$1:D2) that loses its reference when any of the columns are sorted (in the screenshot below, last name is sorted).



Is there a different formula I can use that won't be affected by "sorting" using my current setup?


Thanks in advance.



Posted on Sep 8, 2021 6:07 AM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Need help changing my formula to retain cell/range references when sorting

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.