Not sure what to do, basic excel user

donkx

New Member
Joined
Oct 17, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Data is simplified and/or removed for privacy. I'm attempting to extract data from our training records and compile the info into spreadsheets so that I can track who needs certain courses.
First screenshot shows basic layout of sheets/books. Second screenshot is how the data is extracted.
What I'm trying to do, is that if A1 in book 1, matches any cell in A in book 2, then I need it to return a YES in a specific column in book 1.
Ideally, I'd like to be able to delete book 2 when I'm done, if possible.
Thanks!
 

Attachments

  • Screenshot 2023-10-17 084332.png
    Screenshot 2023-10-17 084332.png
    33.2 KB · Views: 11
  • Screenshot 2023-10-17 084410.png
    Screenshot 2023-10-17 084410.png
    3.8 KB · Views: 10

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
is the second image a workbook or a worksheet in the same workbook that the first image is in?
if in the same workbook then, and assuming sheet name of second sheet is sheet2 then:
Excel Formula:
=IF(ISNA(Match(A2,Sheet2!$A$2:$A$200,0)),"No","Yes")


if in a different workbook you need to reference the workbook name in front of the sheet name. AND, the workbook must be open.
Excel Formula:
=IF(ISNA(MATCH(A2,[OtherWorkbookName.xlsm]Sheet2!$A$2:$A$200,0)),"No","Yes")

I am assuming 200 rows in the lookup data. You need to change as needed.
 
Upvote 0
Solution
Thank you!
is the second image a workbook or a worksheet in the same workbook that the first image is in?
if in the same workbook then, and assuming sheet name of second sheet is sheet2 then:
Excel Formula:
=IF(ISNA(Match(A2,Sheet2!$A$2:$A$200,0)),"No","Yes")


if in a different workbook you need to reference the workbook name in front of the sheet name. AND, the workbook must be open.
Excel Formula:
=IF(ISNA(MATCH(A2,[OtherWorkbookName.xlsm]Sheet2!$A$2:$A$200,0)),"No","Yes")

I am assuming 200 rows in the lookup data. You need to change as needed.
Thank you!!!
 
Upvote 0
My pleasure. And welcome to the forum.

Thanks for the feedback.
Best wishes!
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,958
Members
449,096
Latest member
Anshu121

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top