+ Reply to Thread
Results 1 to 8 of 8

appending incomplete data

  1. #1
    Forum Contributor
    Join Date
    11-09-2008
    Location
    Washington State
    MS-Off Ver
    2007
    Posts
    164

    appending incomplete data

    I have a download of public records from a local County Auditor, regarding property ownership. However, the data, as it is provided is incomplete. I have obtained, from another source, much of the missing data and would like to append the original data.

    I don't know if this is even possible, but in 'Googling' it, I am optimistic.

    I have attached an Excel 2007 spreadsheet with a sample of the County data on Sheet1 and the data that I would like to append on Sheet2.

    Sheet1 lists the parcel number (A), and information regarding the last five recorded sales.
    B: Sale Date
    C: Deed Type
    D: Buyer Name
    E: Recording Number
    F: Sales Price
    G: Multiple Parcels ("Y")
    H: Notes
    I: Loan Information.

    Then the B-I information is repeated four times (J-Q, R-Y, Z-AG, and AH-AO or also defined as columns 10-17, 18-25, 26-33 and 34-41) for a total of the last five sales.

    Sheet2 is a listing of sales with similar information.
    A: Sale Date
    B: Parcel Number
    C: Buyer Name
    D: Sales Price
    E: Recording Number
    F: Deed Type
    G: Multiple Parcels ("Y")
    H: Notes
    I: Loan Information

    What I hope to do is this:

    If the 'Recording Number' (E) on Sheet2 matches the 'Recording Number' (E) on Sheet1, then replace the eight columns on Sheet1 with the data found on Sheet2 (pertaining to a specific sale number).

    If the 'Recording Number' (E) on Sheet2 does not match any 'Recording Numbers' (E) on Sheet1, replicate the (unmatched) data (from Sheet2) on Sheet3.

    My hope is that this will give me updated, and more complete, data on Sheet1 and also show me all the data that did not match on Sheet3 for me to use later.

    I have included headers on both sheets in hope of making things clearer to the reader.

    I appreciate any comments that you may have, or any advice in even just getting started.

    Respectfully,
    Attached Files Attached Files
    Last edited by abuchan; 01-18-2010 at 01:46 AM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: appending incomplete data

    Hi

    See how this goes.

    Please Login or Register  to view this content.
    rylo

  3. #3
    Forum Contributor
    Join Date
    11-09-2008
    Location
    Washington State
    MS-Off Ver
    2007
    Posts
    164

    Re: appending incomplete data

    Wow!

    After deleting the headers I added in, I ran it as a macro in Sheet1 (which I hope was correct) on the sample file I sent you. It gave me an error: Run-time error '1004': The extract range has a missing of illegal field name. When I ran 'debug' it highlighted the attached code. I then tried running the macro on the other sheets without luck. After running it on Sheet1 I did look at the results on Sheet3 and it had the first line only.

    Please Login or Register  to view this content.
    Thank you for your effort. Any thoughts?

    Respectfully,

    Alec.

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: appending incomplete data

    Hi

    It requires the headings that you have in the sample file for the filter to work.

    You can either manually add the headings, or adapt the macro to insert the headings, and then remove when you have finished processing.

    rylo

  5. #5
    Forum Contributor
    Join Date
    11-09-2008
    Location
    Washington State
    MS-Off Ver
    2007
    Posts
    164

    Re: appending incomplete data

    WOW #2. I just ran it with the headers still in and I got a result. This is amazing! I am going to play with it a bit and will reply shortly. Thank you!

  6. #6
    Forum Contributor
    Join Date
    11-09-2008
    Location
    Washington State
    MS-Off Ver
    2007
    Posts
    164

    Re: appending incomplete data

    Seems to run very nicely, as long as the appending stays in the first set of columns. I revised the sample file and added one more row to Sheet2. When I now run the macro, it does well except for one thing. While it should be updating the second set of sales on Sheet1 row 7. It is taking the parcel number and putting it in the last column of the previous sales (Row7, Column I)

    ALec.
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: appending incomplete data

    Hi

    Silly me. Of course.

    Either delete or comment out the line

    Please Login or Register  to view this content.
    rylo

  8. #8
    Forum Contributor
    Join Date
    11-09-2008
    Location
    Washington State
    MS-Off Ver
    2007
    Posts
    164

    Re: appending incomplete data

    I don't know how you guys do this. You make it look so easy, so efficient, and with a sense of humor. This is wonderful. Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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