+ Reply to Thread
Results 1 to 8 of 8

Check values and Add Missing

  1. #1
    Forum Contributor
    Join Date
    07-02-2008
    Location
    Utah
    Posts
    171

    Thumbs up Check values and Add Missing

    Hi,

    I have a tough one here. I have a column of values that I'm cleaning up so they are consistent. Sometimes there are values that have had a few characters cut off in the data collection process. I need a formula that will scan the cleaned up column and identify if there are values that have been cut (since there is a matching initial portion of a text string that matches) and then concatenate the missing values.

    For example:
    In the attached workbook you will notice cell B19 should match B20:B23, but doesn't because the "AV#***" was cut off in the raw data. I need a formula that will dynamically identify this and concatenate a "AV#***" after the "AV321" in cell B19.

    In cell B28 you will see another one that needs the "AA#AABA".

    Thanks a ton!!
    john
    Attached Files Attached Files
    Last edited by John Bates; 05-13-2010 at 03:32 PM. Reason: Solved

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Check values and Add Missing

    Probably better to add another column simultaneous to your column B..

    =IF(AND(LEN(B3)=5,B3=LEFT(B4,5)),B4,B3) copied down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    07-02-2008
    Location
    Utah
    Posts
    171

    Smile Re: Check values and Add Missing

    Hi NBVC,

    Thanks so much for your help!! What would i need to do in the case that the values were not sorted in order in column A. See the attachment (Random Order! worksheet).

    Thanks!

    PS - and wanted a dynamic formula that would take care of things for me without having to sort using the Sort&Filter editing option.
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Check values and Add Missing

    Does this work?

    =IF(LEN(B3)=5,INDEX($B$3:$B$35,MATCH(1,INDEX((LEFT($B$3:$B$35,5)=B3)*(LEN($B$3:$B$35)>5),0),0)),B3)

    copied down.

  5. #5
    Forum Contributor
    Join Date
    07-02-2008
    Location
    Utah
    Posts
    171

    Re: Check values and Add Missing

    Awesome!!! Thank you so much!! PERFECT!

  6. #6
    Forum Contributor
    Join Date
    07-02-2008
    Location
    Utah
    Posts
    171

    Re: Check values and Add Missing

    Hi NBVC,

    I'm sorry to bug you again but I have been trying to solve one more issue with this project. I have descriptive columns to the right of column A for each Raw key (column A). Basically, I need to identify all the keys that match in column H and then populate columns I:M with the values of the key that has the most descriptive values in columns B:F.

    See what I manually copied and pasted in columns I:M; the formula i need should give me these values in these cells.

    Thanks again!!!!!!!

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Check values and Add Missing

    I am not sure I fully understand.

    Please elaborate.

    Also, if this is a new question, it should be in a new thread.

  8. #8
    Forum Contributor
    Join Date
    07-02-2008
    Location
    Utah
    Posts
    171

    Re: Check values and Add Missing

    Thanks, I'm posting as a separate thread right now.

+ 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