+ Reply to Thread
Results 1 to 6 of 6

Match names in two separate column if = then pull info in 3 column

  1. #1
    Registered User
    Join Date
    12-11-2012
    Location
    Seattle
    MS-Off Ver
    Excel 2007
    Posts
    51

    Match names in two separate column if = then pull info in 3 column

    HI,
    Frustrated looking for help.

    I need to look up the name in E2 in the list in column A and if it matches then lookup name in F2 in list column b, if it matches then the corresponding number in column C is displayed in column G. If neither names are in the 2 columns the words"Not on lists" is displayed in cell in column G.

    The other problem is one name is spelled two different ways I want it to look for both spelling before moving on to looking up the second name.

    I started with this formula but I'm getting #N/A or "not on list" when they are on the list. I'm using ranges prod_sum is columns AthruC, Last_name is range BthruC.
    =IF(AND(VLOOKUP(F4,prod_sum,3,0),VLOOKUP(I4,last_name,2,0)),"not on list")

    Attached is my example. Any help would be greatly appreciated!!!
    Attached Files Attached Files

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Match names in two separate column if = then pull info in 3 column

    3 problems with your upload,
    1> no expected output from supplied data
    2> no formulas to see what you have tried
    3> no explanation of how you expect Excel to resolve "mis-spelling"
    and there are probably a couple others, but I did not look too far beyond my first point
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Match names in two separate column if = then pull info in 3 column

    I do see a "basic" problem with the if statement you have provided in the OP though,
    if the vlookups BOTH = TRUE, return "not on list"
    looks like maybe you forgot the true portion of the if ?

  4. #4
    Registered User
    Join Date
    12-11-2012
    Location
    Seattle
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Match names in two separate column if = then pull info in 3 column

    I need help with the formula nothing seems to be working to address the "true" response.

  5. #5
    Registered User
    Join Date
    07-14-2013
    Location
    America
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Match names in two separate column if = then pull info in 3 column

    have you tried using the =sumproduct function. I solved a similar problem of my own with this.

  6. #6
    Registered User
    Join Date
    12-11-2012
    Location
    Seattle
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Match names in two separate column if = then pull info in 3 column

    Well I don't think it will work because I'm trying to match text to text. But for grins I tried it and got #VALUE.

    Thanks for the suggestion.

  7. #7
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Match names in two separate column if = then pull info in 3 column

    Look at post #3, you have missed an option here, I could provide you with the formula,, but I believe, in this instance, the pointing out of the missing argument, should be enough to get you on the right track

+ 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. [SOLVED] How I can pull out .... unique emails in a separate column?
    By todorko in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-20-2013, 02:52 PM
  2. How to separate numerics from names to create a new column
    By SunitaCS in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-26-2013, 03:48 PM
  3. Replies: 0
    Last Post: 08-15-2011, 03:17 PM
  4. Pull over only rows that have info in a certain column
    By johnnybs in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-10-2011, 07:49 PM
  5. Excel Column-Can I separate info within a cell?
    By Stan in forum Excel General
    Replies: 5
    Last Post: 04-28-2005, 05:06 PM

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