You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

I'm having an issue restablish the links between the cell refrences and table names functions etc

Good morning,

I'm having an issue with formula or function entry in Apple Numbers. I've lost the formatting of the procedure in a cell. How can I return the dynamic formatting?

In Excel, you can toggle back and forth with the formula by simply putting an equal sign before the text. Excel automatically reconstructs it if the function is valid. Are there any similar remedies in Numbers?

perhaps next time I will save the formula to a black workbook rather than notepad to retrieve later....

Thanks!



MacBook Air, macOS 15.0

Posted on Nov 17, 2024 9:51 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 18, 2024 9:50 AM

I hear what you're saying, but it seems to work for me.


Maybe it's the nature (complexity?) of the formulas you're using, but as a test I wrote some (simple) formulas in Notes, copied them and pasted them into a cell in Numbers. Providing the formula was valid, it worked for me.


I will admit, though, it didn't work first time, because I tried quoting the table references. Turns out that's not needed.


In my example, I wrote these formulas in Notes.app:



Select. formula, copy, paste into Numbers. Done.



11 replies
Question marked as Top-ranking reply

Nov 18, 2024 9:50 AM in response to Stvylife

I hear what you're saying, but it seems to work for me.


Maybe it's the nature (complexity?) of the formulas you're using, but as a test I wrote some (simple) formulas in Notes, copied them and pasted them into a cell in Numbers. Providing the formula was valid, it worked for me.


I will admit, though, it didn't work first time, because I tried quoting the table references. Turns out that's not needed.


In my example, I wrote these formulas in Notes.app:



Select. formula, copy, paste into Numbers. Done.



Nov 18, 2024 7:00 AM in response to Stvylife

It probably can't figure out your formula well enough to determine what is a cell reference and what is something else. In your snippet you have CONCATENATE(...) then a comma and another CONCATENATE(...) and you do this a few times. That is not a valid formula. It is similar to a "formula" of the form ="A","B","C". Correct the formula and it will most likely figure it all out.

Nov 18, 2024 9:46 AM in response to Stvylife

I copy/paste formulas into Numbers all the time, often from posts in this forum. I have had times where the editor did not update my formula with the colored ovals and stuff at first but the formula was good and it accepted it and it gave the correct result (not a syntax or other error) and next time I opened it up it had the colored ovals and all. I have seen that if a cell reference is the very last thing in the formula, it will not get colored when pasted in. Type a space after it. This is probably a bug in the GUI but it doesn't affect the operation of the formula; the reference is still accepted and the formula works properly and it is correct next time you open the formula.


I assumed the snippet of formula you posted was the start of the formula. If it was, it doesn't matter what the rest of the formula is, it is wrong from the start. If it was a snippet from the middle, though, I cannot tell valid vs invalid.


When you paste your formula into the formula editor and accept it, does the formula give the correct result or is the result an error triangle? If an error triangle, what is the error message?


Notepad is a Windows app. Are you using Windows as part of your workflow or did you mean TextEdit?

Nov 18, 2024 10:41 AM in response to Badunit

Hi Badunit,

Thank you for the clarification. Your explanation makes sense now.

When I mentioned Notepad, I actually meant Pages, as it generally preserves the formatting when you paste it back, provided you don't modify it in Pages. Let me give your suggestion a try, as I had assumed it wasn't going to work because I didn't see the colored ovals and all, and I thought it wouldn't pick up the references from the outside tables as a result. Let me hit enter and reopen the cell to see if the references are restored when I reopen it.

And yes, the snippet I provided was just a partial section of the formula.

Thanks again for the help!

Best,

Stvylife

Nov 18, 2024 12:35 PM in response to Stvylife

The "formatting" is just eye candy. It means nothing, though it does indicate that Numbers has been able to decipher it as a formula. I am not yet convinced your formula is valid (the pasted in one, not the original that you said works). If your formula is creating an error triangle in the cell (which it is), something is wrong with it and Numbers may not be able to determine what you meant so it won't do all the eye candy in the formula editor.


Can you post your entire formula? So far all you've posted is a list of CONCATENATE functions separated by commas. I think if you paste it into a code block like you did in your second post, we can copy/paste the entire formula. Hopefully we can figure it out. At a minimum we can verify/confirm the problem you are having.



Nov 18, 2024 1:30 PM in response to Badunit

Hi Badunit,

Thanks for your response.

I wanted to point out that the "eye candy" formatting is actually quite significant. It shows that Numbers has validated the references. If Numbers recognizes a formula, it formats it accordingly, which is a helpful feature.

I didn't post the entire formula initially because part of it contains sensitive information.

However, I tried to recreate the issue and, in doing so, solved the mystery. It was challenging to recreate the flattened text, but it appears that Apple Numbers has a helper that keeps track of references—somewhat like tracking folders in a directory. When you are in the right directory, your sublinks work, but this is just a theory for now.

Here's how I fixed the issue: I pasted a formula from the same table into a new paragraph within Pages. First, I returned the new formula, and it worked. Then, I copied the problematic formula, and Numbers recognized it and linked everything in all its complexity. I didn't add or remove anything.

So, I'm pleased to report that this solution worked, thanks to the suspicion that prompted further investigation. Fresh formulas always work, and it's quite interesting.

I appreciate the attention given to this matter.

Best regards,

Stvylife

Nov 18, 2024 1:30 AM in response to Yellowbox

Hi Ian,

Thank you for your response.

However, I believe my initial point may have been missed. When you double-click on any function or command in the formula input, it will automatically turn to text. Additionally, if you copy your function into an external editor and then paste it back, it will also turn into text.

The issue isn't with the cell formatting. I could redo it, but this time, I have a larger function that references multiple tables, making it more challenging to reconstruct.

In Microsoft Excel, you can reconstruct the formula by simply putting an equal sign before the text in the cell input. I am wondering if anyone has found a way to toggle back a collapsed text in Numbers.

Thanks again,

Stvylife


PS. this is what a snippet looks like

CONCATENATE('Table 1-2-1'::AJ$3,'Table 1-2-1'::AI$4,'Table 1-2-1'::AH$4),CONCATENATE('Table 1-2-1'::AJ$1,'Table 1-2-1'::AE$4,'Table 1-2-1'::AD$3),CONCATENATE('Table 1-2-1'::T8,'Table 1-2-1'::S8,'Table


Normally it would look something like this

Nov 18, 2024 11:53 AM in response to Badunit

Hi Badunit,

Thank you for the clarification. Sadly, the method you suggested didn’t recover the formatting, and hence it lost the references. It appears that Apple Numbers doesn't always reconstruct the linkage, most likely due to the compound nature of the procedure.

I should have saved the formula and then modified it later, rather than holding off. In any case, thanks for your help and insights.

Best regards,

Stvylife

Nov 18, 2024 8:58 AM in response to Badunit

Hello Badunit


Thanks for your input. It seems like my point might have been misunderstood. The issue isn't with the validity of the formula itself; the function was fine.

I didn't save the function as I typed it out. Instead, I copied it into a scratch pad to modify it later. When I pasted it back into Numbers, I noticed it had lost the references. The formula is valid—I’ve done this many times before. My question was more about whether anyone had found a remedy to restore the references once they’re lost.

It appears that Apple Numbers prefers for you to build the procedure within the editor. Is that correct? Can you type a procedure outside of Numbers and paste it back in? Additionally, even with a valid compound procedure, is there anything that can mess it up? I believe the answer is yes! Simply double-click on any of the functions or commands, and it will flatten.

Here's another example: If I type in a cell reference like A1 directly in the cell editor, Numbers recognizes it as a local reference. For a global reference, you need to type the table name or click the table to link it. However, if you draft in Notepad and paste it in, it doesn't recognize that reference. Excel, on the other hand, is able to handle this.

So, has anyone found a way to toggle back a collapsed text in Numbers?

Thanks again for your help.

Best,

Stvylife

Nov 18, 2024 12:06 PM in response to Camelot

Hi Camelot,

Thank you for your response. You're absolutely right; for simpler formulas, the links usually bounce back when pasted into Numbers. However, I noticed that when dealing with more complex procedures, the references are often abandoned.

I've found that Pages generally preserves the references, provided you don't modify the content within Pages. It seems the links are temporarily retained in memory, but they can lose their references if not handled carefully. With one or two functions, it usually works fine, but table names can be tricky.

It's unfortunate that Numbers can't always recover these references. I'll just have to be more mindful going forward and ensure to back up important steps to save time.

Thanks for your insights!

Best regards,

Stvylife

I'm having an issue restablish the links between the cell refrences and table names functions etc

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