+ Reply to Thread
Results 1 to 15 of 15

Looking for PART of a cell, in another column and return corresponding value

  1. #1
    Registered User
    Join Date
    02-04-2011
    Location
    Derby
    MS-Off Ver
    Excel 2003
    Posts
    7

    Looking for PART of a cell, in another column and return corresponding value

    Hi,

    So I have a sheet "OUT" and in B1 of this sheet I have data of purchases i.e. "'plusnet 876249"

    In C1 I want to take the data from B1, and search for a match in column A on another sheet "DATA", and return a corresponding value from the cell next to the match.

    The thing is, I just want to search for the term Plusnet, as the numbers on the end will always be changing.

    Can somebody please help? I've tried wildcards but not sure I was doing it properly.

    Cheers
    Last edited by adikerr; 11-04-2014 at 07:43 AM.

  2. #2
    Forum Contributor
    Join Date
    06-23-2014
    Location
    Dubbo, Australia
    MS-Off Ver
    EXCEL 2019
    Posts
    180

    Re: VLOOKUP (Maybe??) Help....

    Hi AdiKerr

    Don't think there's an easy way to get around this, as you are trying to match up "things that don't match" ! What happens when there are multiple "plusnet" matches in your sheet 'DATA'? Or are there no duplications of that name?

    Pete
    Pete
    Struggling Solutions Architect

  3. #3
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: VLOOKUP (Maybe??) Help....

    Hi,

    a first approach could be


    Formula: copy to clipboard
    Please Login or Register  to view this content.


    A sample file could be helpful to adjust formula references
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  4. #4
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: VLOOKUP (Maybe??) Help....

    Hi,

    ---------

    sorry: I've probably misread OP answer

    -------------------

  5. #5
    Forum Contributor
    Join Date
    06-23-2014
    Location
    Dubbo, Australia
    MS-Off Ver
    EXCEL 2019
    Posts
    180

    Re: VLOOKUP (Maybe??) Help....

    For goodness sake, is this a help forum, or a politically correct title form? Sometimes the people who ask questions don't really know how to explain what their problem is, and that's why they are in this position with the "inappropriate" titles???
    Perhaps, the moderators might be better qualified offering a more suitable "title" than putting someone, sometimes under pressure to fix a problem at work, under the pressure of the new problem of re-adjusting the title for which they don't really know what to ask for in the first place?

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: VLOOKUP (Maybe??) Help....

    Quote Originally Posted by dubcap01 View Post
    For goodness sake, is this a help forum, or a politically correct title form?
    It's an Excel Help Forum with some rules. When ALL of us registered here we agreed to comply with them. So let's do it!
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  7. #7
    Forum Contributor
    Join Date
    06-23-2014
    Location
    Dubbo, Australia
    MS-Off Ver
    EXCEL 2019
    Posts
    180

    Re: VLOOKUP (Maybe??) Help....

    It's an Excel Help Forum with some rules...

    agreed Fotis, but some people just don't know HOW to explain their problem properly. Perhaps suggesting a more suitable title would be more appropriate? Does four or more infraction notices in less than hour means over-zealous moderators, when all that is needed is guidance, or is this a systemic problem over all the forums and four in an hour is a massive underestimate?

    And does anyone have the formula for working out the statistics of these infractions - ?

    cheers
    Pete

  8. #8
    Registered User
    Join Date
    02-04-2011
    Location
    Derby
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: VLOOKUP (Maybe??) Help....

    Hi Pete,

    Thanks for your reply.

    There will only be one instance of plusnet in my data sheet.

    Maybe I can simplify my question? Is there a way to take B1 or "plusnet 876347" and look for a partial match in A1:A100 on my Data Sheet? If it finds a partial match i.e. just "plusnet" in (for example) A36, then it will return the value of B36.

  9. #9
    Registered User
    Join Date
    02-04-2011
    Location
    Derby
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: VLOOKUP (Maybe??) Help....

    Also, changed my post title to something a little more vague.....

  10. #10
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Looking for PART of a cell, in another column and return corresponding value

    Do you mean something like this?

  11. #11
    Forum Contributor
    Join Date
    06-23-2014
    Location
    Dubbo, Australia
    MS-Off Ver
    EXCEL 2019
    Posts
    180

    Re: Looking for PART of a cell, in another column and return corresponding value

    adikerr - more vague? - mwaahaha
    This yorkshireman appreciates the humour
    Hope you get your answer - am working on it

  12. #12
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Looking for PART of a cell, in another column and return corresponding value

    Hi,

    in the attached file I'm trying an array sum

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    to be confirmed with control+shift+enter.

    I'd need a sample file with some examples of expected results to adjust formula.

    Regards
    Attached Files Attached Files

  13. #13
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Looking for PART of a cell, in another column and return corresponding value

    Hi,

    in C4 same approach


    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Regards

  14. #14
    Registered User
    Join Date
    02-04-2011
    Location
    Derby
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Looking for PART of a cell, in another column and return corresponding value

    Thanks for your efforts and help so far guys.

    I've attached an Example sheet which should make me a little clearer.

    On the "Out" sheet, in D2 I want to create a formula that;

    1) Takes the text in C2, and looks for a partial match in Data Sheet, Column B. If it finds a match, then it will display the corresponding text from the next door cell in Column C.

    For example, if my imaginary formula were in D2, it would take the text from C2, "'8470 03JUN14 , VODAFONE LTD , LONDON GB", find a partial match in Data Sheet B3 "Vodafone", and would in turn display the value in C3, "Business Mobile Bill".

    As you can see from the "Out" sheet, I can regularly have transactions which although are for the same thing, they have a different date on the end.

    I don't want to strip the date on the end, I want to leave the original text intact for later cross reference to other docs.

    Again,

    Thanks for your help!

    Example.xlsx

  15. #15
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Looking for PART of a cell, in another column and return corresponding value

    Hi,

    in D2 and below you could try:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Regards

+ 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. Replies: 0
    Last Post: 12-26-2013, 01:12 PM
  2. Display Cell within VLookup range that excel thinks matches the VLookup Value
    By headachexcelperson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-04-2013, 04:56 PM
  3. how to bring all vlookup returns even with duplicate vlookup search keys
    By NYC4LIFE in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-06-2013, 04:53 PM
  4. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  5. Replies: 5
    Last Post: 07-29-2009, 07:53 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