Referencing Cells with a Slider or Pop-Up (Numbers)

I'm constructing a sheet containing multiple tables. As it stands, I populate the data in the header column of the small PMZ TETRA 1 (HORIZ ROT) table (inside the blue box) from the header column of the larger PMZ TETRA 1 PERMUTATIONS table above it.

What I would like to be able to do, however, is dynamically choose which PERMUTATIONS column (1–24; actually 2–25, of course) to reference, so that I can easily switch between possible results in the smaller tables below. I'd like to be able to use a pop-up menu to reference the table column 1–24 from which the four rows' values would be returned in the other table(s).


Is this possible?

Posted on Nov 6, 2023 1:34 PM

Reply
7 replies

Nov 6, 2023 6:38 PM in response to judddanby

You're welcome.


So you wanted something complicated. Like that? LOL!

=INDIRECT(ADDRESS(ROW(),$E$1+1,4,TRUE,"PMZ TETRA 1 PERMUTATIONS"))


Quite unsafe though as it relies on the fact that both tables always have the same structure (unless you want to rewrite the formula) and that the main table never changes name (because it's hard-coded as a string). XLOOKUP better.

Nov 6, 2023 2:21 PM in response to judddanby

Do you mean that the pup-ups would replace the 1-2-3-4 at the top of each column in the small tables? Or the 3-7-8-10 in the first column? Or neither? One for each? So you could select 1 to 24 for each one?


Otherwise, it's not clear where, for example, the 10 at the intersection of 8 and 1 in the first small table comes from. That's important because it determines how the number in the pop-up would be used (if you're looking for a formula to populate the small tables).


In other words, explain it that way: the formula in cell W (what address?) will use the number in pop-up cell X (what address?) to look for a number in range Y (what address?) of the big table and return another number from range Z (what address?) of the big table.

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.

Referencing Cells with a Slider or Pop-Up (Numbers)

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