+ Reply to Thread
Results 1 to 6 of 6

lookup list then display certain text

  1. #1
    Forum Contributor
    Join Date
    06-07-2016
    Location
    Manila
    MS-Off Ver
    365
    Posts
    292

    lookup list then display certain text

    Hi I'm trying to create a macro, I want excel to lookup the value in C1 and check if it matches with the list in Column A

    If the value in C1 matches the list in Column A, I want B1 to have the text of "QC" and if there is no match B1 will display "No-QC"

    Anyone can help me with this?

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: lookup list then display certain text

    enter this in B1:

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

  3. #3
    Forum Contributor
    Join Date
    06-07-2016
    Location
    Manila
    MS-Off Ver
    365
    Posts
    292

    Re: lookup list then display certain text

    Thanks dave, however it displays #Name?

  4. #4
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: lookup list then display certain text

    What version of Excel are you using?

    Maybe change the IFNA to IFERROR as below:

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

  5. #5
    Forum Contributor
    Join Date
    06-07-2016
    Location
    Manila
    MS-Off Ver
    365
    Posts
    292

    Re: lookup list then display certain text

    Yeah that fixed the problem, I'm using 2010 thanks btw.

  6. #6
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: lookup list then display certain text

    As it says in you user profile! Should have spotted that! Glad its sorted and thanks for the rep.

+ 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. Partial lookup from text string, return value from lookup list
    By TotallyLost in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-13-2016, 12:14 PM
  2. Display data in a text box- V-Lookup
    By colegerald38 in forum Excel Formulas & Functions
    Replies: 55
    Last Post: 01-27-2016, 09:11 AM
  3. Replies: 3
    Last Post: 12-11-2014, 03:30 AM
  4. [SOLVED] Lookup a value in another tab and display a specific text value
    By crachelle04 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-09-2013, 02:43 PM
  5. Using Lookup or match to display a list of results from a range of cells
    By jshaw82 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-14-2013, 05:55 PM
  6. Replies: 1
    Last Post: 04-20-2013, 02:45 PM
  7. [SOLVED] Lookup column and display last text entry
    By Spankyf in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-16-2012, 02:36 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