Consulting

Results 1 to 8 of 8

Thread: Sleeper: Look up & return

  1. #1

    Sleeper: Look up & return

    Hi

    In the attached file, I require a formulae to search the items in Column E in Column A and return the match in Cell B.

    Any help would be appreciated.

    Thanks
    Tony
    Attached Files Attached Files

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    I am looking in column B, and I cannot see where you get those values from. Most I look at don't match.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    Many like this

    (A) (B) (E)
    DANIEL WATNEY - MAURICE HATTER MOORGATE <> MAURICE <> DANIEL WATNEY-MAURICE HATTER
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

  4. #4
    xld

    I need to find the closest match. The background is that, one section is from an accounts package that contain account codes & the other list comes from an Excel file used to send periodic work to subcontractors. The idea is to allocate the Acc code to the periodic Excel file so that I can import this into a programme that contains the account codes so they can be allocated.

    Hope this makes sense.

  5. #5
    Sam

    Column A, which are names of the Client, comes from an accounts package along with column B which are account codes, and the 3rd Column or <> as you indicate, is from an excel file that only contains the names of the Clients. I need to find the closest match for as many obtain the reults then manually complete the rest.

    Hope this makes sense.

  6. #6
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    For each value in Column E, Find most similar value in column A, Return Value from Column B.

    It is the "Most Similar" that is stopping me.

    It will require Regex expressions to solve this and I just don't know them.

    "DANIEL WATNEY - MAURICE HATTER MOORGATE" is not an exact match for "DANIEL WATNEY-MAURICE HATTER"

    Recommended Solution:

    In the attached, I have started aligning the Clients, Contract Names, and Sage/C-Links to create a Cross reference table. If you will complete the table it will be very easy to provide what you need. Either with a very simple VLookUp formula or a simple VBA Function as the usage of the Sage/C-Link indicates.

    Be sure to include every spelling of the Client Values even if they apply to the same Contract. Even though the table will only be used for the Clients and Sage/C-link values, I would leave the Contract Names in for possible future use.
    Attached Files Attached Files
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

  7. #7
    SamT thanks for that, nut I am having problems opening the file. I have Office 2010. I will see the file then start the work as you say. See if you can re send again.

    Thanks, Tony

  8. #8
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    *.xlsm format
    Attached Files Attached Files
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

Posting Permissions

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