+ Reply to Thread
Results 1 to 11 of 11

HELP! Corrupted files

  1. #1
    Registered User
    Join Date
    01-08-2016
    Location
    York
    MS-Off Ver
    2013
    Posts
    10

    HELP! Corrupted files

    Capture2.JPG

    We have imported some data which has been corrupted therefore the spelling is wrong. We have access to the old data but are struggling to match it up with ID number due to incorrect spelling.

    We need to match up the correct contact name (Column C) to Column B, either appearing in Column D OR replacing the corrupted name (incorrect spelling) in Column B.

    Thanks in advance!


  2. #2
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    604

    Re: HELP! Corrupted files

    Not really sure what you are matching. Do you have a list of incorrect/correct names to refer to somewhere? or (hopefully) do both sets of names have a unique ID that we can compare with?

    It's very hard to work from a picture, a sample sheet makes life much easier. If all you have is what's in the picture, how will excel know what correct name should replace the incorrect name?

  3. #3
    Registered User
    Join Date
    01-08-2016
    Location
    York
    MS-Off Ver
    2013
    Posts
    10

    Re: HELP! Corrupted files

    Not really sure what you are matching. Do you have a list of incorrect/correct names to refer to somewhere? or (hopefully) do both sets of names have a unique ID that we can compare with?

    (Yes the corrupted contact names are in Column B. The correctly spelled names are in column C but are not sorted and do not match the row/cells in column B. This is what we are trying to achieve. The correct spelled name with the ID. Only Column B has the ID number)

    It's very hard to work from a picture, a sample sheet makes life much easier. (This is now attached) If all you have is what's in the picture, how will excel know what correct name should replace the incorrect name? (This is why we need help)Find the Formula 1.xlsx

  4. #4
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    604

    Re: HELP! Corrupted files

    If you have a list of incorrect/correct names then a vlookup will work for you as in the attached sample.
    I have made a table of such in columns E & F.
    This will work well if you have multiple occurrences of the same name, but if every name is different it won't be of help.



    Edit: Why is this file so huge?
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: HELP! Corrupted files

    The best way to do this is by usng a user defined Function (UDF). The code can be viewed in Module 1 (right click on the Tab name, view code and select module 1.

    the formula used is =similarity(B2,$C$2:$C$8) copied down.

    Don't forget to enable macros on opening.
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 01-08-2016 at 10:05 AM.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: HELP! Corrupted files

    Is this the same problem as in ths thread:

    http://www.excelforum.com/excel-form...ml#post4282567

    If so, please don't duplicate threads. It just causes total confusion. See also Forum rule 5, which you agreed to stick to earlier today!!!

  7. #7
    Registered User
    Join Date
    01-08-2016
    Location
    York
    MS-Off Ver
    2013
    Posts
    10

    Re: HELP! Corrupted files

    I think the best way to explain is to just attach the whole file.

    Really sorry for all the confusion.

    CONTACTS WITH IDS.zip
    Last edited by Hannah14; 01-08-2016 at 11:10 AM.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: HELP! Corrupted files

    !!!!
    So what happened to all the mis-spelled entries? Where have they gone to?? In the case of MonikaZysk, there are 4 possible correct answers.

    Is this thread about getting multiple answers or making partial matches.

  9. #9
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: HELP! Corrupted files

    Hi there are some blank cells too for incorrect and it shows the entry in another column for correct ones. i.e. Row No. 405 and 406 has column B and D as blank but column E has entries is this has some relation. If so please specify
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  10. #10
    Registered User
    Join Date
    01-08-2016
    Location
    York
    MS-Off Ver
    2013
    Posts
    10

    Re: HELP! Corrupted files

    Yes Hemesh. Not all entries in Column E are matched as we had done some cleansing of data what we have left in column B which unfortunately got corrupted. Column E is correctly spelt names although not all will be required to be matched as this is the data BEFORE cleansing. We require the correct spellings to replace column B (or in another column) including the corresponding ID number in column A

  11. #11
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: HELP! Corrupted files

    Uptill row 87167 the names in column B and Incorrect names in column D are same with some blank cells now you need them to be replaced with new name and ID
    is this so

    if this is so then use below formula in C2
    =IF(B2="","",A2&" "&E2) and drag down
    Last edited by hemesh; 01-08-2016 at 12:00 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. My Excel 2007 Files seriously corrupted
    By NealReyd in forum Excel General
    Replies: 4
    Last Post: 01-27-2022, 04:47 AM
  2. Fixing Corrupted Files
    By MountainGoat in forum Excel General
    Replies: 0
    Last Post: 11-18-2008, 01:22 PM
  3. Recovering corrupted files
    By BadgerMK in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-08-2006, 11:52 AM
  4. fixing corrupted files in xls format
    By Mike in forum Excel General
    Replies: 1
    Last Post: 04-30-2006, 02:15 PM
  5. files corrupted after installing office sp2
    By y.i in forum Excel General
    Replies: 4
    Last Post: 03-08-2006, 03:25 PM
  6. [SOLVED] my excel files have got corrupted
    By Manish in forum Excel General
    Replies: 0
    Last Post: 01-31-2006, 09:40 AM
  7. unable to reopen saved files message says corrupted
    By conniefrp in forum Excel General
    Replies: 2
    Last Post: 04-10-2005, 10:06 PM

Tags for this Thread

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