You are here:

Excel/Need Help with Excel

Advertisement


Question
Hello,

I need some help with MS Excel.

I have data in column A (ID Numbers)
I have data in column B (ID Numbers)

Column A has 37,622 ID numbers.
Column B has 41,547 ID numbers.

Here's what I am trying to find out:
1. I need a list of ID numbers that are not in both columns.
2. If the ID number is not in both columns can the ID number display as red in the original columns A & B?

Answer
With that many rows, the formula (which works) takes FOREVER to calculate.
=IFERROR(INDEX($A$2:$A$37622,SMALL(IF(NOT(ISNA(MATCH($A$2:$A$37622,$B$2:$B$37622,0))),"",ROW($1:$37621)),ROW(A1))),"")
Ctrl+shift+enter
fill down. This is the items in column A.
For Column B
=IFERROR(INDEX($B$2:$B$41547,SMALL(IF(NOT(ISNA(MATCH($B$2:$B$41547,$A$2:$A$41547,0))),"",ROW($1:$41546)),ROW(A1))),"")
fill down.
Calculate. Get dinner!
You still want a formula for conditional formatting? Will make the workbook fairly useless!
About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

Excel

All Answers


Answers by Expert:


Ask Experts

Volunteer


Bob Umlas

Expertise

I`m a Microsoft Excel MVP (Most Valuable Professional) and have been since the inception of the program in 1995. I can answer every kind of Excel question except: API, Importing/exporting to other programs (powerpoint, word,...) Also check out my in-person training link at http://www.thumbtack.com/ny/new-york/excel-training/

Experience

Worked with MS Excel since version 0.99 (on the Mac!). Was contributing editor to Excellence Magazine, having written >300 articles. John Walkenbach said of me "I finally met someone who knows as much about Excel as I do."

Publications
Excellence, The Expert, Microsoft

Education/Credentials
BA in math, Hofstra University, 1965

Awards and Honors
MVP
Led sessions for the Convergence 2004-2006 seminar on Excel tips & tricks

©2016 About.com. All rights reserved.