Solved

Excel -remove all column B cell values from Column A

Posted on 2016-08-30
7
43 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:johndarby
7 Comments
 
LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 250 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:johndarby
ID: 41777387
Greetings Saqib, which formula are you suggesting? :)
0
 
LVL 18

Accepted Solution

by:
Serena Hsi earned 250 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 43

Expert Comment

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

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

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:johndarby
ID: 41778416
Thanks guys...let me go look this AM and get back to you! Thanks again!
0
 
LVL 1

Author Closing Comment

by:johndarby
ID: 41778929
Thank you!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Office 2016 Excel Issue 4 27
Excel Conditional Formatting in a Macro 4 26
Excel - find text within text? 1 24
min values in series 13 14
A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

862 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now