+ Reply to Thread
Results 1 to 3 of 3

Conditioned index/match or vlookup

  1. #1
    Registered User
    Join Date
    01-14-2014
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    45

    Conditioned index/match or vlookup

    Hello all,

    I have a seemingly simple problem here, I have a column of journal number duplicated multiple times and I would like to label the row as "keep" if *one of the* results from the next column matches a specific value.

    So for example, journal SIN0001 might have COS, VAT and AP in the next column, and I would like to label all 3 rows of SIN0001 as "keep" even if only one of the rows return "AP". In other words I want to filter out all journal numbers that contains "AP".

    Attached is a sample file, "Source" sheet is the sheet I need a formula to go in the yellow cells, whereas "ideal outcome" sheet is the, well, ideal outcome I am looking for.

    Sample1.xlsx

    Any help would be greatly appreciated and thank you very much in advance!
    Last edited by chococ; 11-18-2015 at 10:57 AM. Reason: More descriptive title

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Conditioned index/match or vlookup

    Try this array formula

    =IFERROR(IF(MATCH(A2&"AP",Source!$A$2:$A$61&Source!$B$2:$B$61,0)>0,"Keep","Delete"),"Delete")
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    see the file Sample1.xlsx

  3. #3
    Registered User
    Join Date
    01-14-2014
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Conditioned index/match or vlookup

    Thanks a lot, that's perfect!!

+ 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: 08-16-2013, 08:46 AM
  2. vlookup (or similar) results where there are mutliple matches
    By kmfdm515 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-31-2013, 10:33 AM
  3. [SOLVED] Formula to Lookup and identify a specific data to a different sheet
    By lak299 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-27-2012, 01:22 AM
  4. Replies: 1
    Last Post: 06-21-2012, 11:06 AM
  5. Replies: 2
    Last Post: 01-31-2012, 06:49 PM
  6. How to identify non-matches
    By doug2 in forum Excel General
    Replies: 5
    Last Post: 09-26-2007, 01:54 PM

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