View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
JLatham JLatham is offline
external usenet poster
 
Posts: 2,203
Default matching columns

Not sure if this is what you need or not, but give it a try and see:

Open both workbooks. Choose one of them, we'll call it WB1 and go to cell
B1 on the sheet with the sorted list on it, start a formula by typing an =
symbol in it.

Select the other workbook (WB2), and appropriate sheet and cell A1 in it and
press the [Enter] key to complete the formula. You should end up with a
formula that looks something like:
='[WB2]Sheet1'!$A$1
Edit that formula to remove the $ symbols so it becomes
='[WB2]Sheet1'!A1
You can now fill that formula down the sheet as far as you need to go.

I hope this is what you needed.




"Chris" wrote:

I'm trying to concord data between two excel files, but unfortunately some
information was dropped from one file to the next. I was wondering if there
is a way to sort ranges such that the contents of one column match up to the
contents of another column. So, for example this:

a/1 = a/1
a/2 = a/3
a/3 = b/1
b/2 = b/2
b/3 = c/2
c/1
c/2

would become this:

a/1 = a/1
a/2 = -/-
a/3 = a/3
-/- = b/1
b/2 = b/2
b/3 = -/-
c/1 = -/-
c/2 = c/2