A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Add a status column to the sign-up sheet and use COUNTIF to check whether each parent’s unique identifier—preferably email address or another ID—appears on the contact-form sheet.
Set up the comparison
Assume:
- SignUp sheet: parent email is in column
B. - ParentContact sheet: parent email is also in column
B. - The first response is on row 2.
In a new Contact form status column on the SignUp sheet, enter this in row 2:
=IF(B2="","",IF(COUNTIF(ParentContact!$B:$B,B2)>0,"Completed","Not completed"))
Then copy or fill the formula down.
COUNTIF(range, criteria) counts how many cells in the contact-form range match the email in the current sign-up row. Any count greater than zero returns Completed.^1^
Change:
-
B2to the cell containing the identifier on the SignUp sheet. -
ParentContact!$B:$Bto the column containing that same identifier on the ParentContact sheet. - If the sheet name contains spaces, use single quotation marks:
=IF(B2="","",IF(COUNTIF('Parent Contact'!$B:$B,B2)>0,"Completed","Not completed"))
As new form results appear in the referenced column, the status formula will evaluate them. Fill the formula far enough down the SignUp sheet for future sign-ups.
Choose a reliable matching field
Use a value that is expected to identify one family or submission uniquely, such as:
- Parent email address
- Student or registration ID
- A generated response ID
Matching only by parent or student name can produce incorrect results when two people share the same name.
If no single field is unique, match two fields with COUNTIFS. For example, if column A contains the student ID and column B contains the parent email:
=IF(OR(A2="",B2=""),"",IF(
COUNTIFS(ParentContact!$A:$A,A2,ParentContact!$B:$B,B2)>0,
"Completed",
"Not completed"))
COUNTIFS applies criteria across multiple ranges and counts only rows where all criteria match.^2^
If expected matches show “Not completed”
Check the identifiers for leading or trailing spaces and other nonprinting characters. These can prevent text from matching even when entries look identical; Microsoft recommends cleaning such data with TRIM or CLEAN.^1^
For example, add a cleaned helper column to both sheets:
=TRIM(CLEAN(B2))
Compare the two cleaned columns instead of the original response columns.
If the sheets are in separate workbook files, keep the source workbook open while using COUNTIF; references to calculated cells in a closed workbook can return #VALUE!.^3^
References