Solved

Excel 2010 - Show Items Missing In One Column Compared to Another Column

Posted on 2014-12-19
6
138 Views
Last Modified: 2014-12-19
I have to columns in Excel Column A and B which contain thousands of rows. I need to list all items that are missing from columns B using Column A as a reference.  I was hoping all missing items could be listed in column C.

I setup Conditional Formating which works my is no easy to go though. I have read online that you can setup a formatting rule as well but no exactly what I am looking for.

I am not the excel as advanced Excel items an great full for any help provided.
0
Comment
Question by:compdigit44
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 24

Expert Comment

by:Eirman
ID: 40508957
Do you mean ....
If a cell in column B is blank, that you want the contents of cell A to be copied to cell C?
0
 
LVL 18

Expert Comment

by:Simon
ID: 40508960
In Column C, row 2
=countif(B:B,A2)
then double click on bottom right hand corner to fill down.

Filter for column C=0

If required, copy the filtered list from col A into a new column
0
 
LVL 20

Author Comment

by:compdigit44
ID: 40509014
Stupid question but the above syntax will show all item missing in COlumn B when compared to Column A correct
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 18

Accepted Solution

by:
Simon earned 500 total points
ID: 40509042
Yes, but looking back I've not suggested the best place to put the formula unless you drag it down to the last row used in column A. It would be best to insert a col between A & B and use formula
=countif(C:C,A2)
which means count the number of times the value from this row in column A is found in column C (which was originally column B).

Then clicking the fill down square in bottom right corner of the cell will autofill it in column B for every cell in column A that has a value in (assuming no gaps in column A).

Filtering the formula column for zero values will show all entries in col A that don't appear in col B.
EE-SampleCountif.xlsx
0
 
LVL 70

Expert Comment

by:Qlemo
ID: 40509767
If you use a formula like this in column C (drag down as you would do with Simon's), it will contain empty cells if there is a match in B, and the value of A otherwise. You'll only have to "collect" the non-empty cells then.
 =IF(ISERROR(LOOKUP( A1, B:B )), A1,"")
0
 
LVL 20

Author Comment

by:compdigit44
ID: 40509787
Thank you very much for all the help everyone.. I learned something in the process... :-)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

636 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