Formula to check box in sheet A based on data in sheet B
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,
Best Answer
-
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
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
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
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Mega thx Genevieve P.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 462 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!