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
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!