Using formulas to display data in one sheet on another sheet

I am a teacher who is tracking progress through a task list.

On Sheet 1 (which I have named Master Sheet) I have a master list of names (columns A+B), with 53 different columns for different topics (with numbers 1-53 on row 3 of each column). Each cell (from rows 4 down and across the 53 columns) has a checkbox.

On Sheet 2 (which I have named Current Assignment) I have the exact same names in A+B. In column C I have 'Current Assignment'


What I want to do is when I check a task - for example task 26 - I want "26" to appear on Sheet 2 next to the name.


Is this possible?

MacBook Pro, OS X Mountain Lion (10.8.2)

Posted on Apr 25, 2017 7:12 AM

Reply
4 replies

Apr 25, 2017 7:56 AM in response to dtgbsl

I think it is possible, but some points are not clear.

  1. What should be displayed on sheet 2 if no topic in the row is checked?
  2. What should be displayed on sheet 2 if multiple topics in the row?
  3. Does it need to check the names are exactly same on both tables? ( In other words, does the formula for table 2 need to search the row from the data in its column A and B?)


Anyway, here is one idea with reduced data set.

# not checking all possible situation.

User uploaded file

On current Assignment Table,

Column C: get the row number relative to first data row.

C2: =MATCH(A2&","&B2,Master::C,0)−ROW(Master::D$4)

Column D: get the column number with first data column as 1.

D2: =IFERROR(MATCH(TRUE,OFFSET(Master::$D$4,C2,0,1,10),0),0)

After filling up data, you can hide column C.

Apr 25, 2017 8:42 AM in response to dtgbsl

RiM/CiM is just my note.

  • RiM - Row in Master
  • CiM - Column in Master

Here is the updated version with your answers,

User uploaded file

With answer 3, the data used for name lookup are removed from both tables.

# Now columns are increased to include 53 data columns.

This makes C2 as

=IFERROR(MATCH(TRUE,Master::$C4:$BC4,0),"")

This searches for the first checked cell (TRUE) in the specified cells ( Master::$C4:$BC4 ) and returns the position in the referred cells, or "" (blank string) if not found.

Please note that the number at this point is just the relative position in the referred cell ( Master::$C4:$BC4 ) and has no relation to the value in the 3rd row in Master table.

If you need to look up the actual value in the row, C2 will be

=IFERROR(INDEX(Master::$C$3:$BC$3,1,MATCH(TRUE,Master::$C4:$BC4,0)),"")


For C3 and below, you can use autofill by pulling down the yellow point shown in the figure above.


Edit:

To increase data column to 53 with the formula in the previous post, change 10 to 53.

D2: =IFERROR(MATCH(TRUE,OFFSET(Master::$D$4,C2,0,1,53),0),0)

Apr 25, 2017 8:03 AM in response to To_Mi

This is almost exactly what I need!

To answer your questions:

1. It could be blank

2. There would never be more than one box checked for each person. They finish one and move onto the next task, with nothing concurrent

3. Im not sure I understand but no, I don't think it needs to check the names.


I have one question about your shots - THANK YOU - what are the R/M and C/M columns? I would only need the C/M as far as I can see.


Thanks so much

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.

Using formulas to display data in one sheet on another sheet

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