Check box if multiple conditions are met across 2 sheets
Good morning,
I have 2 sheets
Sheet A: Job #, complete(Checkbox)
Sheet B: Job #, Reason, complete(Checkbox)
The goal is to have a formula that will check the box in the complete column on Sheet A if the Job # matches between the 2 sheets, the Reason column on Sheet B is "Screens", and the complete column on Sheet B is checked.
This is my current formula
=IF(AND(MATCH([Job #]@row, {Sheet A Job #}), {Sheet B Reason} = "Screens", {Sheet B Complete} = 1), 1)
This is the result I'm getting
#INVALID DATA TYPE
I feel like I'm missing something obvious, or maybe there is a completely different way to do this. Any help is appreciated, Thanks!
Best Answer
-
Try =IF(COUNTIFS({Sheet A Job #}, [Job #]@row, {Sheet A Job #}, @cell = "Screeens", {Sheet B Reason}, @cell = "1", {Sheet B Complete}) > 0, 1, 0)
Answers
-
Try =IF(COUNTIFS({Sheet A Job #}, [Job #]@row, {Sheet A Job #}, @cell = "Screeens", {Sheet B Reason}, @cell = "1", {Sheet B Complete}) > 0, 1, 0)
-
@Adam Murphy Of course as soon as I post this I found the answer from another discussion despite spending all morning looking at discussions, your answer is the same answer I got from another post so thanks for confirming it!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!