Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Excel -remove all column B cell values from Column A

Posted on 2016-08-30
7
Medium Priority
?
75 Views
Last Modified: 2016-08-31
Greetings,

I have an XLS with a tab: 2 columns of email addresses. I would like to remove all cell values in Column B, from Column A.

Is there an efficient way to do this?

Thank you!
JohnD
bulkChange.xlsx
0
Comment
Question by:John Darby
7 Comments
 
LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 1000 total points
ID: 41777383
Enter this formula in C2 and copy it all the way to the end of the data
Apply Autofilter to the data
Filter on column C by unchecking #NA
Clear cell contents from column A
Unfilter
0
 
LVL 1

Author Comment

by:John Darby
ID: 41777387
Greetings Saqib, which formula are you suggesting? :)
0
 
LVL 20

Accepted Solution

by:
Serena Hsi earned 1000 total points
ID: 41777388
You could.. in Column C use this formula:

=VLOOKUP($B2,currentlist,1,0)

For column A, I selected everything below the header and named the range as currentlist

Once you have your matches after having copied the formula in Column C; you can select Column C and copy/paste values.

Then Sort by ascending/descending, and delete the rows that show an email address; you can do a find/replace on the #N/A text in that same column.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 41777403
Sorry, the formula is

=match(a2,b:b,0)
0
 
LVL 34

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41777541
Please find the attached in which a conditional formatting in col.B will highlight the emails which are found in col. A and col. C contains a formula that tells you where exactly the email from col. B is found in col. A.
See if this helps.

If you want to delete the emails from col. B, you may apply filter on color and delete the cell contents.
bulkChange.xlsx
0
 
LVL 1

Author Comment

by:John Darby
ID: 41778416
Thanks guys...let me go look this AM and get back to you! Thanks again!
0
 
LVL 1

Author Closing Comment

by:John Darby
ID: 41778929
Thank you!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question