Check Box if Name in another sheet matches name in current sheet.
I have a Purchasing Log that lists Vendor Name among other columns. I'd like to put together a formula where if the Vendor Name matches Vendor Name in another sheet and if so, return a checked box and if not return an unchecked box. I have messed around with MATCH, IF and INDEX functions and cant get anything to work.
What is the best way to attack this issue?
Thank you in advance for any help.
Answers
-
Are you able to provide some screenshots for reference?
-
Paul
The top screenshot is the Purchasing Log and the bottom one is a different sheet called Approved Supplier List.
I want to construct a formula where the Box in the ASL column of the Purchasing Log will be checked if the Vendor Name matches a Supplier Name in the Approved Supplier List sheet. If there is no name match the box in the Purchasing Log remains unchecked.
-
Ok. Try this...
=CONTAINS(Vendor@row, {Other Sheet Supplier Name Column})
-
It seems to be working but if there is no match the ASL check box column stays blank. Can something be done to show a blank check box in that situation?
-
This should work.
=IF(CONTAINS(Vendor@row, {Other Sheet Supplier Name Column}), 1)
-
@Paul Newcome Thank you. Works like a charm!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 149 Just for fun
- 70 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!