You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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
Question marked as Top-ranking reply

Posted on Oct 7, 2022 9:52 PM

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

2 replies
Question marked as Top-ranking reply

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

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.