Max, Thank you for the prompt reply.
It gave me what I asked for! Brilliant
However, let me explain, I just realised this was not completely what I
needed.
Sheet1 contains all my up to date datum and sheet2 has "new datum".
Sheet1 contains 4500 entries and sheet2 only 2500.
Most of sheet2's info are also in sheet1 but obviously not everything.
I now need to put the new datum into sheet1. Sheet2 has got new columns
which I need to create in sheet1.
Let me give you an example,
Sheet1 has got name and number and address
Sheet2 only number(which corresponds with sheet1's number) but in sheet 2 I
have a field for attended a Meeting which there are no similar fields in
sheet1.
I now need to put that info into sheet1.
Thanks again and I hope this makes sense
> One way ..
>
[quoted text clipped - 20 lines]
> >
> > kubersluiper
welcome, glad we got that out of the way <g>
On your new query, using an INDEX/MATCH should work for you ..
Assuming you want to bring over Sheet2's col G values into Sheet1 based on
matching col A in Sheet1 vs col D in Sheet2
In Sheet1,
Put in say, E2:
=IF(A2="","",IF(ISNA(MATCH(A2,Sheet2!D:D,0)),"",INDEX(Sheet2!G:G,MATCH(A2,Sheet2!D:D,0))))
Copy down to the last row of data in col A.
Adapt this part in the formula: INDEX(Sheet2!G:G,..
to suit the col that you want to bring over from Sheet2

Signature
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
> Max, Thank you for the prompt reply.
>
[quoted text clipped - 46 lines]
> > >
> > > kubersluiper
ajk - 20 Jun 2007 11:39 GMT
Max! Thanks Mate!
Really helpfull and easy to use,
ajk
> welcome, glad we got that out of the way <g>
>
[quoted text clipped - 61 lines]
> > > >
> > > > kubersluiper
ajk - 20 Jun 2007 16:00 GMT
Max
After I have done this, I checked the two sheets manually and found that
about 200 entries are missing.
Can you please explain to me how this code work
=IF(A2="","",IF(ISNA(MATCH(A2,Sheet2!D:D,0)),"",INDEX(Sheet2!G:G,MATCH(A2,Sheet2!D:D,0))))
Let's say
In sheet1 with 4500 entries I have a number 10000 and that number is at A2,
but in Sheet2 number 10000 might be in D10, will this code still pick it up?
I tried to look for any missing entries but can't find any.
Any help will be appreciated
ajk
> welcome, glad we got that out of the way <g>
>
[quoted text clipped - 61 lines]
> > > >
> > > > kubersluiper
Max - 21 Jun 2007 05:23 GMT
> In sheet1 with 4500 entries I have a number 10000 and that number is at
> A2,
> but in Sheet2 number 10000 might be in D10, will this code still pick it
> up?
Yes, of course, it should. If it doesn't return correctly, then there's
probably some data inconsistencies present which is throwing the matching
off. Some numbers may be text numbers which won't match with real numbers. A
text number 10000 won't match with a real number 10000.
Would suggest that you try this to coerce all numbers in both** cols to real
numbers for proper matching. Copy an empty cell, then do a Paste special on
the entire col (for both cols) > check "Add" > OK.
**col A in Sheet1 & col D in Sheet2

Signature
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
> Max
>
[quoted text clipped - 16 lines]
>
> ajk
ajk - 21 Jun 2007 08:37 GMT
Max,
Thanks again!
I had a suspicion it might be something like that.
I'll have a look and let you know!
Really appreciate your help
> > In sheet1 with 4500 entries I have a number 10000 and that number is at
> > A2,
[quoted text clipped - 30 lines]
> >
> > ajk