New to Numbers and keep getting #ref error when trying to copy a simple formula


In the above sheet, I'm taking sum of column D (which is summed in cell D69) and getting a percentage by dividing by column D of each row. Formula is simply =D6/D69. This formula works. But when I try to copy to another cell, or simply drag it down to the cells below I get this #REF! error.


Please help. This is driving me crazy. And I really want to be able to use Numbers, but I'm about to give up on it.


Thanks.

MacBook Air 13″, macOS 10.15

Posted on Jul 7, 2020 11:31 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 7, 2020 11:55 AM

I think I figured this out, after lots of trial and error. For any beginners, you need to go into the formula, click the drop-down arrow on the cell (like D69) that you want to remain constant and click the boxes that read "preserve row" and "preserve column"


Jeesh.

3 replies

Jul 7, 2020 10:35 PM in response to Master94

Hi Jeesh,


Congratulations on finding a solution to your issue.


Cell references in formulas may be 'relative' or 'absolute.'


The Absolute reference operator ( $ ), placed before the column reference keeps the reference on the same column when the formula is filled right or left into new columns or copied, then pasted into a different column.

Placed before the row reference, the operator makes that part of the reference absolute, and keeps the reference on the same row when the formula is filled or copied and asted t a different row.


Without the Absolute reference operator, Numbers will automatically adjust the column and row reference values to maintain the referenced cell in the same position relative to the cell containing the new copy of the formula as it was in the original cell. A reference, for example to the cell three columns to the right and on the same row as the cell containing the original formula will point to the cell three columns to the right and on the came row of its new cell when filled to or copied and pasted to a new cell. If that new cell happens to be in one of the last three columns of the table, the formula will throw a #Ref error because the reference is to a cell beyond the last column of the table, and there is no cell there.


Regards,

Barry


PS: further congratulations on completing your trial and error tests, finding an answer, and posting a note on the solution, all within 24 minutes of asking the question! Very speedy.

B.


PPS: Thanks for posting the solution. Having done so, you should now mark your reply (NOT you initial post) as having Solved your issue. You won't get points for it, as you were the one asking the question, but in will help anyone searching for an answer to a similar question by making this one easier to find.

B.

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.

New to Numbers and keep getting #ref error when trying to copy a simple formula

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