# Formula to check box in sheet A based on data in sheet B

Options

Will you help me write a formula in Sheet A that will do the following three things? 1) Look for a checked box in Sheet; 2) if the box is checked, then look to see if the cell in the same row - next column contains "100%"; 3) if both are true,

Tags:

• Employee
Options

In order to do something like this, you will need to have a Unique ID on each sheet for each row so that the formula can look for a match. For example, I see you have a column called "Project". Is this column on both sheets, and will the values be Unique?

If so, then you can ask the formula to look for "Project A", and when it finds this match, then check for the Checkbox and 100%. We can do this with a COUNTIFS to count if any of the rows meet your criteria.

Ex:

=IF(COUNTIFS({Project Sheet B}, Project@row, {Resident State Column}, 1, {Percent Complete}, 1) > 0, 1, 0)

Let me know if this makes sense!

Cheers,

Genevieve

October 8 - 10, Seattle, WA | Register now

• Employee
Options

In order to do something like this, you will need to have a Unique ID on each sheet for each row so that the formula can look for a match. For example, I see you have a column called "Project". Is this column on both sheets, and will the values be Unique?

If so, then you can ask the formula to look for "Project A", and when it finds this match, then check for the Checkbox and 100%. We can do this with a COUNTIFS to count if any of the rows meet your criteria.

Ex:

=IF(COUNTIFS({Project Sheet B}, Project@row, {Resident State Column}, 1, {Percent Complete}, 1) > 0, 1, 0)

Let me know if this makes sense!

Cheers,

Genevieve