Is it possible to stop a formula from changing when adding rows between linked cells?

I want to mirror specific cells values by cell location. The values move when I add rows, other data will be placed into that cell location. I don’t need to follow the data just need it to stay linked to the cell location and mirror the new cells value in the same location. Is this possible? I used $ didn't freeze formula.


Example

Cell A1

Cell A2

Cell B5 formula =$A$1

Cell B6 formula =$A$2


Problem: Adding a row between A1 and A2 changes formula in cell B6.


Changed

Cell A1

Cell A2

Cell B5 formula =$A$1

Cell B6 formula =$A$3


Locking spreadsheet table no affect. I need cell B6 formula to stay mirroring =$A$2. Maybe there’s a different formula that won’t change when rows are added?


I’m using iOS 17.3.1 on iPhone

Posted on Feb 20, 2024 9:28 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 21, 2024 7:52 AM

EarthSkySpace wrote:

Is it possible to use that for a different table??

Do you know how to link indirect to a different table?


Sure. INDIRECT takes a address string.





=INDIRECT("Table 1::A2")


When you are in the formula editor you can click a cell to see what its full address is. Clicking is much easier than typing out the whole thing.


INDIRECT - Apple Support

ADDRESS - Apple Support

OFFSET - Apple Support


SG






10 replies
Question marked as Top-ranking reply

Feb 21, 2024 7:52 AM in response to EarthSkySpace

EarthSkySpace wrote:

Is it possible to use that for a different table??

Do you know how to link indirect to a different table?


Sure. INDIRECT takes a address string.





=INDIRECT("Table 1::A2")


When you are in the formula editor you can click a cell to see what its full address is. Clicking is much easier than typing out the whole thing.


INDIRECT - Apple Support

ADDRESS - Apple Support

OFFSET - Apple Support


SG






Feb 21, 2024 10:50 AM in response to SGIII

Indirect address with the table name at the end you provided did work on separate table thanks, however it doesn’t update with changes. I moved a few thousand indirect address formulas same sheet as my data entry top left of the table where nothing will move or disrupt formulas. I had no way of stopping formulas from changing after adding rows or columns. A complete mirror of dara using indirect address formula didn’t alter when the values were moving away from the cells. There are lots of extra indirect address sells to mirror the data, wherever the data stops moving to then I a search ranges Extract the data from all of the indirect cells.


in other tables, same thing top left corner I use simple links =A1 to pull the data from the frozen indirect address cells into the other tables, creating a static mirror of the data again top left corner of every table then distributed to other formula once in the tables. this is how I bridged the data between tables when the values are moving around. as long as the value moves within the 3000 rows I created they get filtered out with search formula go where they’re needed. I condensed all my data together in one column. Mostly the only way to get the data out is by searching it. It doesn’t matter where it goes. As long as it’s in the table. The search will find it saves a lot of space putting all the data together. It’s kind of like an Internet connection with all the data flowing through the same column. Otherwise, I would need too many indirect address formulas to catch separated data. I like to think of the indirect addresses as sort of a router where all the data goes gets processed, and then transferred over the network to another table to be received by other receiving formulas, and then distributed throughout the table to individual formulas. Probably a completely unnecessary step although I don’t know any other way to stop the formulas from changing without isolating them with indirect address stops, making a mirror copy in an area that is static?


I know this is definitely the wrong way to do spreadsheet I needed the spreadsheet functional and it worked. Thank you for your help. It would be awesome if there were a way to prevent formulas from changing.

Feb 24, 2024 9:25 AM in response to SGIII

i got everything working finally. Found what I think is a bug that is while GROUPS are turned on data in mirrored cells will not update new values in correct position. I’m going to leave a detailed explanation and send Apple a bug report. Quick explanation formula in cell A1 mirrors cell A100. When row 100 moves to position row 200 cell A1 continues to show values for row 200 but formula in cell A1 shows mirroring A100. The values that should now be mirrored in A100 is not loading while values in A200 are showing up in A1. If formula in A1 shows (row 100, column 1) it should be pulling values from A100. The more I move around rows the more scrambled the data gets like a puzzle making all the mirrored cells useless. If I turn off Groups, immediately turn Groups back on everything is in their right place, all values now matching the formulas in their cells that is until I start moving groups again. For some reason when groups move it doesn’t update. It means every time I add, move, delete a group I have to go to the group menu turn it off, then turn it back on to update that the groups have changed. I can completely replicate the problem. I think it’s a bug. I’ve worked around it.


what I designed in iOS Numbers is very similar to iOS Reminders app, has note taking in each group, customizable grouping, more indentations, filtering and color rules based on values, tags and priority filtering in to different tables. Calendar notifications for spreadsheet row events that show upcoming events in a summary table of tasks and events coming due starting with events

Today, Tomorrow, 2,3,4,5,6 days.

This week, next week, next 2 weeks.

This month, next month, next 2 months.

Remaining this year and events next year.

Recurring events like birthdays.

Shopping items for grouped tasks or project group are tagged to show up in shopping tables just doing what Tags normally do so I can get all items from multiple projects by Tagged and sorted by store names. Example I build many projects and wanted all shopping items sorted in to a list. I put a list of things related to each project, each project as a separate group. In the project groups I put shopping items as they are part of a specific project group, then Tag the shopping items with store name. When I am ready to shop for items I have all the items I want to buy sorted by store name in a different table.

Feb 21, 2024 6:27 PM in response to EarthSkySpace

In general it strikes me that you are trying to use Numbers in a way for which it not designed.


But to be sure it would help to know what kind of real world problem you are addressing.


A screenshot would help:shift-command-4, drag to select area, release, start new post here and use the mountains-and-moon 'Image insertion' icon beneath the compose window to insert the screenshot image file from the Desktop.


SG

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.

Is it possible to stop a formula from changing when adding rows between linked cells?

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