Help with excel!
i need some quick help with excel
lets say i have 2 list of companies
list B has like 2000 more companies than list A
how do you compare two lists and remove the things in list B that are not in list A?
thanks
i need some quick help with excel
lets say i have 2 list of companies
list B has like 2000 more companies than list A
how do you compare two lists and remove the things in list B that are not in list A?
thanks
| +392 | Evercore Intern Seizure | 60 | 2h |
| +78 | JPM M&A is Gone??? Purely Coverage Banking??? | 35 | 13h |
| +57 | How do I understand vs. just memorizing? | 11 | 23m |
| +48 | Losing my personality in Banking | 9 | 1d |
| +42 | Associate & Above IB exits | 18 | 2h |
| +39 | The good and bad with Wells Fargo | 8 | 38m |
| +33 | Incoming IB Analyst: Best Ways to Prepare? | 12 | 43m |
| +30 | Tech to IB Pivot | 20 | 13h |
| +28 | Sent my Claude prompt to 200+ Teams chat. MD wants to see me Monday. | 18 | 4h |
| +27 | Which groups are ideal for laterals? | 12 | 1d |
Career Resources
i assume by list A and B u mean columns A and B. lets say your lists start at A1 and B1
in C1 put =COUNTIF(B:B,A1) and then drag it all the way to the last data point. every item in A that is in B will have a 1 next to it. if it doesnt, it will have a 0
now select columns B and C and click Data then Sort
click No Headers, sort by Column C, click Descending
now all the 1s should be on top and the 0s on the bottom. delete all the data points in B next to the Zeros, and the two lists A and B should have the same companies
i did something like this at work today. i just typed this up from memory, hope it works out
thats amazing
another way to do it would be using a vlookup
insert a column next to the shorter list. put a yes next to each name. then insert a column in the longer list and use the vlookup function to to match the names, bringing the yes value over to your longer list for the matches. hard code all the values in the vlookup column. the "yes" values will be your matches. sort and erase the non matches.
Why not throw in a few INDIRECT, REPLACE, SUMIF and some ISERRORs for good measure? Then read the question again.
The answer is to delete list B, copy list A and then paste it where list B was.
not necessarily. list A could have the Fortune 500, List B could have 400 of the Fortune 500 plus another 200 random companies no one's heard of. If you answer op's post correctly, you'd only have the 400 F500 companies left in list B... While the vlookup may not seem the easiest or most intuitive for a simple application like this, it's really useful in a wide variety of situations and familiarity with that function is helpful beyond words
Unde aut doloribus amet et temporibus eos omnis. Architecto veniam dignissimos officiis modi ipsum.
Facilis possimus beatae quos placeat. Adipisci eum libero molestias velit. Consequuntur repellendus incidunt quasi dolores. Odit veritatis est voluptatem.
Ea voluptatem repellat corrupti aliquid alias beatae. Sequi non dolorem enim aspernatur animi. Quae velit incidunt deserunt non in culpa dolorem. Ab praesentium qui dolor adipisci voluptates. Quod quidem eos minus et maiores tempora repudiandae dolores. Quia consectetur est porro assumenda labore voluptate.
See All Comments - 100% Free
WSO depends on everyone being able to pitch in when they know something. Unlock with your email and get bonus: 6 financial modeling lessons free ($199 value)
or Unlock with your social account...