+ Reply to Thread
Results 1 to 6 of 6

If A1 = (Item in Column

  1. #1
    Registered User
    Join Date
    09-24-2013
    Location
    Pittsburgh
    MS-Off Ver
    Excel 2010
    Posts
    4

    Angry If A1 = (Item in Column

    Hey guys need some help for a massive matrix I'm putting together at work.


    Scenario:
    I have a column which contains a list of 300+ unique Titles, the column next to this has the appropriate description of that title and what it does. I have separated the titles and descriptions into it's own sheet for ease of calculating. I want to display the help text/description next to all other instances that title occurs throughout the other sheets of the workbook.

    Example:
    K4 contains Title 1
    K5 contains Title 2
    K6 contains Title 3
    K7 contains Title 1
    K8 contains Title 3
    etc etc...

    L4 needs to return Title 1 description
    L5 needs to return Title 2 description
    L6 needs to return Title 3 description
    L7 needs to return Title 1 description
    L8 needs to return Title 3 description
    etc etc...

    I hope I painted an appropriate picture of what I'm trying to do. Any and all help is appreciated, none of my logic is working and I'm frustrated for the day, be back at it tomorrow.

    Thanks!!
    -CK

  2. #2
    Forum Contributor
    Join Date
    05-07-2013
    Location
    apple valley ca
    MS-Off Ver
    Excel 2007
    Posts
    110

    Re: If A1 = (Item in Column

    can you upload a sample sheet with inputs and expected results ??

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: If A1 = (Item in Column

    Hi and welcome to the forum

    without seeing a sample of what you are working with, the best I can offer is the suggestion to look into using the =VLOOKUP() function...
    =VLOOKUP(what-you-want-to-find,range-to-search-in,column-that-contains-the-match,FALSE) FALSE is for finding an exact match
    L4=VLOOKUP(K4,sheet1!$A$1:$B$300,2,0)

    assuming sheet1!A1:B300 is the range where the descriptions are
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    09-24-2013
    Location
    Pittsburgh
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: If A1 = (Item in Column

    As you can see below, I need column 12 to look at column 11's text and if it matches column 14 to pull that particular description from 15. Thanks for the help! I might add that, the attachment below shows the columns have the same text string, IF there is a way to do it using a string contains that would be best because in the export from the system DB I was using the file looks like the 2nd attachment.

    Capture.jpg

    Capture2.JPG
    Last edited by CKlinchock; 09-25-2013 at 09:33 AM.

  5. #5
    Registered User
    Join Date
    09-24-2013
    Location
    Pittsburgh
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: If A1 = (Item in Column

    I couldn't get that to work... Any other suggestions?

  6. #6
    Registered User
    Join Date
    09-24-2013
    Location
    Pittsburgh
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: If A1 = (Item in Column

    Uploaded images.

+ 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. VBA code for Compare two column and find the unmatch item in another column
    By SAI2050 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-04-2013, 03:11 AM
  2. Replies: 1
    Last Post: 11-21-2012, 03:40 AM
  3. Replies: 5
    Last Post: 05-17-2012, 10:51 PM
  4. Find First Item in Column
    By excel328 in forum Excel General
    Replies: 5
    Last Post: 07-31-2010, 05:37 PM
  5. Returning the last item in column
    By HondaMike in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 01-04-2005, 08:06 AM

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