+ Reply to Thread
Results 1 to 8 of 8

MATCH and TYPE

  1. #1
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    11

    Question MATCH and TYPE

    Hi guys,

    I attached an example excel sheet. I tried to figure out but could not get a way. I need a formula which takes the value in D2, search it in column A, if the value is in the list, type the corresponding result in E2.

    In our example in E2 would be ''no''.

    I highly appreciate if you can help me with this.

    Thanks beforehand.

    Gokhan.

    Example.xlsx

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: MATCH and TYPE

    Put this formula in E2:

    =IFERROR(VLOOKUP(D2,A$2:B$9,2,0),"")

    then copy down. It will return a blank if the item in column CD is not in the list in column A.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    05-16-2014
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: MATCH and TYPE

    Hi,

    try this formula in E2:
    =IFERROR(VLOOKUP(INDEX($A$2:$A$9;MATCH(D2;$A$2:$A$9;0));$A$2:$B$9;2);"Not in the list")

  4. #4
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: MATCH and TYPE

    Hi Pete,

    Thank you it has worked.

    Is that possible to go one more step ? To take the final result we get in E2 and type it in other excel sheet ?

    Would that work between two independent excel sheet ?

    Thanks.

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: MATCH and TYPE

    Yes, suppose you have columns A and B in Sheet1 and the list that is currently in column D is in column A of Sheet2. Then you can use this formula in B2 of Sheet2:

    =IFERROR(VLOOKUP(A2,Sheet1!A$2:B$9,2,0),"")

    Hope this helps.

    Pete

  6. #6
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: MATCH and TYPE

    I will try this and will give you a feedback as soon as possible.

    Thanks.

  7. #7
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: MATCH and TYPE

    I've changed to formula according to my original excel sheet and it works totally.

    Thank you again for your help and quick reply.

    Gokhan

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: MATCH and TYPE

    Glad to be able to help - thanks for the rep.

    Pete

+ 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: 6
    Last Post: 11-27-2013, 10:28 PM
  2. Index and Match with Two Criteria, and date Match Type is Less Than
    By ExcelQuestion in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-11-2013, 08:57 AM
  3. type miss match
    By newapa in forum Excel General
    Replies: 1
    Last Post: 09-24-2012, 01:30 PM
  4. [SOLVED] Match Type Error
    By blincan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2012, 05:00 PM
  5. [SOLVED] Type mis-match error
    By Marcotte A in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-30-2005, 10:25 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