+ Reply to Thread
Results 1 to 3 of 3

index match, ..... skip result if blank value ...... jump to next match

  1. #1
    Registered User
    Join Date
    03-22-2013
    Location
    leuven
    MS-Off Ver
    Excel 2010
    Posts
    13

    index match, ..... skip result if blank value ...... jump to next match

    Hi guys,

    I have a question,

    I have a list of data for example:

    columnA columnB
    Ak yellow
    Bk
    Ck green
    Dk red
    Ek purple
    Bk black

    Imagine in cell D1 I have "Bk" and I want to index match it on column A and B. the index match will automatically retreive the first value in column B attached with BK being empty thus retreive value "0".

    What I would like to add to my formula is an "if result is blank jump to next match"

    What should I add to this formula :
    Please Login or Register  to view this content.
    Thanks!

  2. #2
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: index match, ..... skip result if blank value ...... jump to next match

    =INDEX(B1:B10,MATCH(1,INDEX(INDEX(A1:A10="bk",0)*INDEX(B1:B10<>"",0),0),0)) will give the first non blank result
    with your regional settings
    =INDEX(B1:B10;MATCH(1;INDEX(INDEX(A1:A10=D1;0)*INDEX(B1:B10<>"";0);0);0))
    Last edited by martindwilson; 08-08-2013 at 04:43 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    03-22-2013
    Location
    leuven
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: index match, ..... skip result if blank value ...... jump to next match

    Thanks for your help!

+ 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. Match string in one column, return value in same row, skip rows that down't match
    By anilsen0711 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-01-2013, 05:35 AM
  2. [SOLVED] Index Match if result is not something
    By Jaron_t in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-19-2012, 01:19 PM
  3. Index / Match / Jump to next column if value already used
    By FixandFoxi in forum Excel General
    Replies: 6
    Last Post: 06-13-2012, 03:19 AM
  4. Replies: 5
    Last Post: 02-29-2012, 08:51 PM
  5. Index Match: Show blank instead of #NA for no match
    By cedarhill in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-20-2011, 03:21 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