Data selection from one sheet to another

I have a spreadsheet with name,#,horse in 3 columns. In another column will have a "x" to designate a class that the person is in. How can I get that persons name,#, horse to another sheet automatically. I will have several classes 1,12,13,21 ect that will draw off a master list to make a spreadsheet for each class. There will be 15 classes over 3 days when this spreadsheet is finished. All will be in one file with several tabs or sheets. New to numbers and trying to learn to make a judging sheet setup.




MacBook Air 13″

Posted on Aug 4, 2023 3:47 PM

Reply

Similar questions

4 replies

Aug 6, 2023 8:02 AM in response to Yellowbox

Thanks Ian.

"In any Class table, what are those columns D to I (1 to 6)?"

The columns in the class table would be for a judges score to be entered and then a total at the end of each row.

I managed the score sheet fine but am trying to fill the Names from " Table 1" to the judge sheets in each Class.


I managed to get this to work but would like it to fill the Class list without any empty rows. Not sure if this can be done.

Aug 6, 2023 10:19 AM in response to Canoafarms

Hi Canoafarms


There are two methods to remove (or hide) the empty rows.


1- You set up a filter to only show the rows that have # > 0. Or...


2- You go full dynamic with the following.


Enter these formulas in table Class 1.


in A2:

IFERROR(XLOOKUP("x",INDIRECT($J2),INDIRECT(ADDRESS(ROW()+$K1,COLUMN(),,,"Table 1")&":"&ADDRESS(ROWS(Table 1::Name),COLUMN()))),"")


in B2:

IFERROR(XLOOKUP("x",INDIRECT($J2),INDIRECT(ADDRESS(ROW()+$K1,COLUMN(),,,"Table 1")&":"&ADDRESS(ROWS(Table 1::'#'),COLUMN()))),"")


in C2:

IFERROR(XLOOKUP("x",INDIRECT($J2),INDIRECT(ADDRESS(ROW()+$K1,COLUMN(),,,"Table 1")&":"&ADDRESS(ROWS(Table 1::Horse),COLUMN()))),"")


in J2 (after the score columns):

IFERROR(ADDRESS(ROW()+K1,$L2,,,"Table 1")&":"&ADDRESS(ROWS(Table 1::D),$L2,),"")


in K2:

IFERROR(XMATCH("x",INDIRECT($J2))−1+K1,"")


in L2:

XMATCH(VALUE(TEXTAFTER(TEXTBEFORE(REFERENCE.NAME(A2,1),"::")," ")),Table 1::$1:$1)


I know, data in columns K and L could only be computed only once instead or being repeated on every line, but I made it this way so that adding or removing rows doesn't make a mess.


Copy down these formulas for as many rows as you need. Once you validate that it works without error, you can hide the last three columns.

Now you can simply copy table Class 1 and give the copy another name like Class 12. Everything will work automatically for the new table. The formula in column L assumes that table names always end with a space and a number.


Caution: Once the scores have started to be entered, DO NOT add to or remove a horse from a class, because the scores in the Class tables are not following the entries, they are static, whereas the horse list is dynamic.


The picture shows table Class 1 with all columns visible, and table Class 12 with the last three columns hidden.


Data selection from one sheet to another

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