VLook-Up to match names in a different sheet

brownt

New Member
Joined
Aug 31, 2009
Messages
34
Hello All,
I'm wondering if it is possible to match the names in two separate spread sheets, in the same file. This is what I'm trying to accomplish:

I have two sheets in the same workbook, they both have names (last, first, middle). However, one sheet shows active names only, and the other shows both active an inactive.

I'm trying to compare the two and isolate only the inactive names. I know VLook-up will probably work, but I'm not able to get the information I need, so I'm know I'm probably doing something wrong. So Is this possible, or is there another way to accomplish this task?

Thanks for any assistance in advance, and have a wonderful day!
 
Last edited:

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Are the last, first, and middle names all in 1 column, or spread over 3 columns? Which columns?

Which version of excel are you using?
 
Upvote 0
Assuming active names sheet is called Active Last name, First Name, Middle name in columns A B & C, with headers in row 1 and first persons name in row 2, in D2 (or next avaliable column) of the mixed sheet.

=if(countifs(Active!A:A,A2,Active!B:B,B2,Active!C:C,C2),"Active","Inactive")

Then fill down to show the status of each person.
 
Upvote 0
Hi Jason,
when I put the formula in the Inactive sheet, everyone shows inactive. Is there something else I'm perhaps not doing correctly?

Thanks for your assistance!
 
Upvote 0
Hi Jason,
Thanks for the information. I know this should work looking at the logic. However, for some strange reason, it does not want to work. Is there anything that I'm missing?

Thanks and have a wonderful day!
 
Upvote 0
maybe in column D on both sheets add formula =A1&A2&A3, then in column E add formula (assuming Sheet 1 is the active names and Sheet2 contains both:-

=IF(ISNA(VLOOKUP(D1,Sheet1!D:D,1,0))=FALSE,"Acitve","Inactive")
 
Upvote 0
Something I overlooked with the countifs method, all 3 fields need to be populated, if there was no middle name, it would fail to match.

The method that Blunder1 suggested will (or should) work.
 
Upvote 0
Blunder1 and Jason,
Thanks so much for all of your assistance. It Worked!!!!

I had one problem...when I imported the names in, there was a space in the first column, which put a space between the last and first name, but not in the middle.

When I typed the names in, the formula worked perfectly. So I had to figure out how to take the space out. This is what I did:

I highlighted the first column with the space (the last name), on the Data tab, I selected 'Text-to-Column', left it selected on delimited, then clicked next, took the check out of 'Tab' and selected 'Space', next, left 'General' selected, and 'Finished'.

The formula worked like a charm :) !

Thank you so very, very much. I have about 10,000 names to go thru and you saved my week.

Thanks again and have a Wonderful Day!!!! :)
 
Upvote 0

Forum statistics

Threads
1,224,516
Messages
6,179,231
Members
452,898
Latest member
Capolavoro009

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