Excel experts!
Author
Discussion

sam.r

Original Poster:

2,379 posts

260 months

Wednesday 28th November 2007
quotequote all
I need some help with a spreed sheet and havent really used Excel since a brief intro to it a school.

I have a list of address but some are duplicates. I know how to sort the info so that the postcodes are in order thus making any duplicates above / below / next to each other...

Now before I look at every postcode and compare it to the one above is they anything I can do to maybe 'flag up' the duplicates? It would make it much easyier to spot and hopefully save me some time....

Any ideas?

/waits hopefully before ploughing into 7000 lines of addresses!/

silent k

783 posts

263 months

Wednesday 28th November 2007
quotequote all
Which version of Excel are you using? There is a remove duplicate function within Excel 2007 in the Data tab, you can tell it which field(s) to use to de-duplicate on.

Are you only using the post code to detect duplicates? As obviously you can have multiple different (valid) addresses in the same post code, so you might want to use the first line of the address as well.

japhilip

5,374 posts

230 months

Wednesday 28th November 2007
quotequote all
http://office.microsoft.com/en-us/excel/HA01136616...

This is a fairly easy way of doing it. I've done similar things in the past (not got version 2007).

sam.r

Original Poster:

2,379 posts

260 months

Wednesday 28th November 2007
quotequote all
Hi I have 2002!!

Maybe its worth getting 2007 then...

I have two lists which I have merged together... the company names differ in spelling / trading name and the first line of the address have slightly different formats although the postcode is just in 1 standard layout for both of these list. If I can flag or highlight the duplicates and then I will check them out manually??? if there is no quicker option...

2007 it is then?

agent006

12,058 posts

296 months

Wednesday 28th November 2007
quotequote all
I'd create another column and use condition al formatting. Say you've got addresses in A b and C and postcode in D. I'd create E2 with a conditional format of something along the lines of "if d1=d2" colour e2 red. Then use the cell duplicator to drag the contents down the entire column.

silent k

783 posts

263 months

Wednesday 28th November 2007
quotequote all
There are plugins available for Excel that will do a proper fuzzy deduplication on the address so they'll be able to pick up slightly different address or company names. This program claims to be able to do it http://www.dqglobal.com/deduplication_software3.ht... I did try a demo of it a while ago and it did work.

sam.r

Original Poster:

2,379 posts

260 months

Wednesday 28th November 2007
quotequote all
agent006 said:
I'd create another column and use condition al formatting. Say you've got addresses in A b and C and postcode in D. I'd create E2 with a conditional format of something along the lines of "if d1=d2" colour e2 red. Then use the cell duplicator to drag the contents down the entire column.
That makes sense... how would I go about doing it? what is the exact formular or do I have to go to conditional formating??? whatever that is hehe!!


japhilip

5,374 posts

230 months

Wednesday 28th November 2007
quotequote all
sam.r said:
agent006 said:
I'd create another column and use condition al formatting. Say you've got addresses in A b and C and postcode in D. I'd create E2 with a conditional format of something along the lines of "if d1=d2" colour e2 red. Then use the cell duplicator to drag the contents down the entire column.
That makes sense... how would I go about doing it? what is the exact formular or do I have to go to conditional formating??? whatever that is hehe!!
Follow the instructions on this link.

http://office.microsoft.com/en-us/excel/HA01136616...

agent006

12,058 posts

296 months

Wednesday 28th November 2007
quotequote all
Christ knows. Start on the Conditional Formatting item on the format menu. Delve into help from there. I would helkp more but i've neither got excel nor a photographic memory.

sam.r

Original Poster:

2,379 posts

260 months

Wednesday 28th November 2007
quotequote all
japhilip said:
sam.r said:
agent006 said:
I'd create another column and use condition al formatting. Say you've got addresses in A b and C and postcode in D. I'd create E2 with a conditional format of something along the lines of "if d1=d2" colour e2 red. Then use the cell duplicator to drag the contents down the entire column.
That makes sense... how would I go about doing it? what is the exact formular or do I have to go to conditional formating??? whatever that is hehe!!
Follow the instructions on this link.

http://office.microsoft.com/en-us/excel/HA01136616...
Thanks - sorry I missed that first time round!

Thanks all!

bga

8,134 posts

283 months

Wednesday 28th November 2007
quotequote all
Another quick way to do this is by using an IF formula - this will put a value in a cell which you can filter on which is very useful.

if we start at column 1 & postcode is in column D (for example) in column E2 type:

=IF(E2=E1,"X","&quotwink

This will put an X next to the duplicate postcode, assuming that the list is sorted by postcode

miles_stylus

332 posts

263 months

Thursday 29th November 2007
quotequote all
I do this a lot (though not with addresses) - I use a COUNTIF statement either in a new column or in a conditional formatting.

I can't quite remember the exact syntax however basically it is COUNTIF(range with your post codes,the cell you're looking at). Thus is compares the specific cell with the whole range and counts the number of times it occures. Thus a duplicate with have a score greater than one and away you go.

Have fun

Miles