Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chester1
 
Posts: n/a
Default finding unmatched data

I have a spreadsheet with adresses in some of them are the same. Is there a
function that will find addresses that only appear once in the list. Any
Help would be appreciated.
--
Regards Clair
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Tarburton
 
Posts: n/a
Default finding unmatched data

You can not account for the same adress typed in differently such as PO Box
vs. P.O. Box or South Maple vs. S. Maple. There are just to many options.
That said
If you have column labels in row 1, Street address in Column B and Postel
code in Column E, and less than 5000 entries, in the next available column
in row 2
=SUMPRODUCT(--(TRIM(B$2:B2)=TRIM(B2)),--(LEFT(E$2:E2,5)=LEFT(E2,5)))
Copy down
Any that return 1, you keep, 2 or above means that is the 2nd etc occurance
of that address on your list.
I am trying to account for 5 digit postal code vs. zip+4, however, if there
is mix of zip as number, zip as number stored as text, new England zips
missing the lead zero (less than 5 digits, these will foul that up. Fix this
with the following formula in row 2.
=IF(LEN(E2)<5,0,"")&IF(LEN(E2)<4,0,"")&IF(LEN(E2)< 3,0,"")&IF(LEN(E2)<2,0,"")&E2
Copy down, then either paste special values over your original zip code or
point the references to column E in the first fomula to your new zip code
column.


"Chester1" wrote in message
...
I have a spreadsheet with adresses in some of them are the same. Is there
a
function that will find addresses that only appear once in the list. Any
Help would be appreciated.
--
Regards Clair



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chester1
 
Posts: n/a
Default finding unmatched data

What I am trying to do is find the addresses that only appear once in the
column and then I need to delete those particular addresses. Hope this makes
a little more sense??
--
Regards Clair


"Bob Tarburton" wrote:

You can not account for the same adress typed in differently such as PO Box
vs. P.O. Box or South Maple vs. S. Maple. There are just to many options.
That said
If you have column labels in row 1, Street address in Column B and Postel
code in Column E, and less than 5000 entries, in the next available column
in row 2
=SUMPRODUCT(--(TRIM(B$2:B2)=TRIM(B2)),--(LEFT(E$2:E2,5)=LEFT(E2,5)))
Copy down
Any that return 1, you keep, 2 or above means that is the 2nd etc occurance
of that address on your list.
I am trying to account for 5 digit postal code vs. zip+4, however, if there
is mix of zip as number, zip as number stored as text, new England zips
missing the lead zero (less than 5 digits, these will foul that up. Fix this
with the following formula in row 2.
=IF(LEN(E2)<5,0,"")&IF(LEN(E2)<4,0,"")&IF(LEN(E2)< 3,0,"")&IF(LEN(E2)<2,0,"")&E2
Copy down, then either paste special values over your original zip code or
point the references to column E in the first fomula to your new zip code
column.


"Chester1" wrote in message
...
I have a spreadsheet with adresses in some of them are the same. Is there
a
function that will find addresses that only appear once in the list. Any
Help would be appreciated.
--
Regards Clair




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Tarburton
 
Posts: n/a
Default finding unmatched data

Then you delete those that show "1" with this method.
Probably need more specifics about how your database is set up (rows used,
columns used, headers) to give a more specific answer.

"Chester1" wrote in message
...
What I am trying to do is find the addresses that only appear once in the
column and then I need to delete those particular addresses. Hope this
makes
a little more sense??
--
Regards Clair


"Bob Tarburton" wrote:

You can not account for the same adress typed in differently such as PO
Box
vs. P.O. Box or South Maple vs. S. Maple. There are just to many options.
That said
If you have column labels in row 1, Street address in Column B and Postel
code in Column E, and less than 5000 entries, in the next available
column
in row 2
=SUMPRODUCT(--(TRIM(B$2:B2)=TRIM(B2)),--(LEFT(E$2:E2,5)=LEFT(E2,5)))
Copy down
Any that return 1, you keep, 2 or above means that is the 2nd etc
occurance
of that address on your list.
I am trying to account for 5 digit postal code vs. zip+4, however, if
there
is mix of zip as number, zip as number stored as text, new England zips
missing the lead zero (less than 5 digits, these will foul that up. Fix
this
with the following formula in row 2.
=IF(LEN(E2)<5,0,"")&IF(LEN(E2)<4,0,"")&IF(LEN(E2)< 3,0,"")&IF(LEN(E2)<2,0,"")&E2
Copy down, then either paste special values over your original zip code
or
point the references to column E in the first fomula to your new zip code
column.


"Chester1" wrote in message
...
I have a spreadsheet with adresses in some of them are the same. Is
there
a
function that will find addresses that only appear once in the list.
Any
Help would be appreciated.
--
Regards Clair






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing Data Jillian Excel Worksheet Functions 9 December 23rd 05 12:45 PM
Finding max row containing data... Dan Excel Discussion (Misc queries) 5 November 26th 05 09:33 PM
Charts not recognizing source data if original linked data is changed. JLC Charts and Charting in Excel 3 October 14th 05 01:29 AM
Printing data validation scenarios SJC Excel Worksheet Functions 14 July 24th 05 12:43 AM
Finding, and returning data. Marcus New Users to Excel 1 June 3rd 05 07:48 PM


All times are GMT +1. The time now is 04:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"