Results 1 to 27 of 27

Address Cleaning.....

Threaded View

  1. #1
    Registered User
    Join Date
    02-09-2023
    Location
    London, England
    MS-Off Ver
    O365
    Posts
    10

    Address Cleaning.....

    Hi,

    We get sent a lot of addresses by clients and despite our requests for how we need the data submitted there are always errors in it. - stray characters, empty fields, extra spaces, no spaces etc.

    I'm looking for a formula (or formulas!) to help clean address in a list of addresses. I've attached some sample data of a sheet showing the typical errors we might get. Can anyone help? - What's the best way to then clean the data each time we get sent a spreadsheet of addresses?

    Summary of how we need the data in order to be able to upload it (for couriers etc)

    1) Recipient name must be 1 column, and can?t be split into two columns for first name and surname.
    2) Recipient name, Address Line 1, City and Postcode must always be populated.
    3) Address Line 2 is an optional field and it doesn?t matter if this is empty. Referencing the address below I have shown as an example? if someone had written ?4 Allan Close, Enfield? into Address Line 1 column, we would separate it out so it moves ?Enfield? into Address Line 2 field. Also, if someone had written ?Enfield, London? into the City field and Address Line 2 was empty, we would move ?Enfield? back into the Address Line 2 field.
    4) There can't be any commas or special characters
    5) Postcodes must have a break (one space) in the letters and can?t be one unbroken line. For example if someone wrote EC1V4RX we would create it to be EC1V 4RX

    Thanks in advance,
    Mark
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 02-18-2020, 11:48 PM
  2. Update Email Address from Global Address based on Cell Value
    By nasrulla in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-16-2019, 03:19 AM
  3. Match incomplete or mixed street/physical Address to a clean address format
    By vivek.budhram in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-21-2018, 03:31 PM
  4. [SOLVED] Cleaning Up Address and Street Names in Large Database
    By pick44 in forum Excel General
    Replies: 4
    Last Post: 10-21-2017, 11:12 AM
  5. [SOLVED] Run time error '1004': The address of this site is not valid. Check the address the addre
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-12-2014, 06:59 AM
  6. Replies: 5
    Last Post: 03-07-2013, 07:10 AM
  7. Converting a complete, single column address into separate columns for ADDRESS, CITY, ST,
    By jeffrogerssn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-08-2012, 10:34 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1