Apple Numbers: copy values or write "Absent"

I have two tables: in **Table 1** I have the names of the students who registered for the examination, in **Table 2** I have the names who actually showed up for the examination.


I would like to set up a function that allows me to say for each name present in Table 1: if it is present also in Table 2, then copy its vote; if it is not present in Table 2, write "Absent".


Is this possible?

Posted on Oct 5, 2022 1:32 PM

Reply
2 replies

Oct 7, 2022 9:52 PM in response to francesco f.

Another approach is to use IF and COUNTIF:


The formula shown below the "registered" table is entered in cell C2, and filled down to the bottom of that table.

The formula returns the first value ("Present" ) if the COUNTIF result for the name in column A of Register is greater than zero, or "Absent" if the count of that name is zero.


The Conditional Highlighting rule shown below sets the cell's fill colour to green if the text in that cell in column C of Registration is "Present" and leaves the cell with "No Fill" if there is any other text (or no text at all) in the cell.




Regards,

Barry

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.

Apple Numbers: copy values or write "Absent"

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