nilnilnil0911
New Member
- Joined
- Jun 21, 2023
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
So I'm trying to match two values against two columns in another table. It has to be a combination of both or it should return false.
For example, comparing Table1 and Table 2, they both have the same columns Color and Fruit. I want to find if a Blue, Apple in Table1 also exists in Table2 in the same row.
I came up with IF, AND, MATCH. I even checked it with ChatGPT and it just wouldn't work. Please help out this Excel noob.
=IF(AND(MATCH(B2; 'contacts'!A2:A1505;1)),(MATCH(D2; 'contacts'!B2:B1505;1)); "Yes"; "No")
For example, comparing Table1 and Table 2, they both have the same columns Color and Fruit. I want to find if a Blue, Apple in Table1 also exists in Table2 in the same row.
I came up with IF, AND, MATCH. I even checked it with ChatGPT and it just wouldn't work. Please help out this Excel noob.
=IF(AND(MATCH(B2; 'contacts'!A2:A1505;1)),(MATCH(D2; 'contacts'!B2:B1505;1)); "Yes"; "No")