Formula to check a box if it meets multiple criteria in another sheet
Hi!
I have two sheets:
Sheet A: ID#, Date, and a checkbox
Sheet B: ID#, Date
Can someone please tell me what should the formula be if I want to Sheet A checkbox to check if Sheet A's ID# and Date match with Sheet B's ID# and Date.
I tried a few different formula and it seems like it doesn't work:
=IF(AND(MATCH([ID #]@row, {Health Care Survey ID #}), MATCH(Date@row, {Health Care Survey Date}, 0)), 1)
=IF(INDEX(COLLECT({Health Care Survey ID #}, {Health Care Survey People #}, [ID #]@row, {Health Care Survey Date}, Date@row), 1), 1)
Thank you!
Best Answer
-
Hey @Christina Lam
Try this
=IF(Date@row = INDEX({Health Care Survey Date},MATCH([ID #]@row, {Health Care Survey ID #},0)),1)
Does it work for you?
Answers
-
Hey @Christina Lam
Try this
=IF(Date@row = INDEX({Health Care Survey Date},MATCH([ID #]@row, {Health Care Survey ID #},0)),1)
Does it work for you?
-
-
So glad I could help. Have a great weekend
cheers
Kelly
-
I might need your help again. The formula works if there isn't the same ID# for different dates.
For example:
ID#1111 Date 8/10
ID#2222 Date 8/10
ID#3333 Date 8/10
ID#1111 Date 8/11
ID#2222 Date 8/11
The check box will be check for ID#1111 Date 8/11, ID#2222 Date 8/11, and ID#3333 8/10 since there isn't a duplicate ID# even though the date is different.
Hope this makes sense.
Thanks.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!