+ Reply to Thread
Results 1 to 5 of 5

Index, match, and criteria

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    10-05-2012
    Location
    Washington
    MS-Off Ver
    Excel 2013
    Posts
    110

    Index, match, and criteria

    I am trying to put together a production report for the warehouse I work at and i have hit a roadblock. I am able to use Index and Match to look up the batch number and return the first row of that batch from the EQ Type column, but sometimes the first few rows contain no useful data. Is there a way to use a named range or something similar to skip these first few rows and actually return the useful data? I have attached a sample of the report I am working on. any help would be appreciated. Thanks. Production Report.xlsx

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Index, match, and criteria

    How about doing a custom sort on D1:N22

    Batch Identifier >> A - Z
    EQ TYPE >> A - Z

    Now all the zero's are first ahead of Nothing, No, Blank, Empty, and Skip.

    Also, you need to lock your ranges.
    Last edited by jeffreybrown; 10-08-2012 at 01:07 PM.
    HTH
    Regards, Jeff

  3. #3
    Forum Contributor
    Join Date
    10-05-2012
    Location
    Washington
    MS-Off Ver
    Excel 2013
    Posts
    110

    Re: Index, match, and criteria

    I am doing that now so I can get what I need. I am hoping to find a way to avoid having to manupilate the data table every time I run the report.

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Index, match, and criteria

    Or,

    If you can enter all values to EXCLUDE to return results in a range.

    Eg: Q2 to down enter the values like NO, EMPTY, SKIP, BLANK, NOTHING etc....

    Then in B2, with CTRL+SHIFT+ENTER, not just ENTER

    =INDEX(N$2:N$22,MATCH(1,IF(D$2:D$22=A2,IF(ISNA(MATCH(N$2:N$22,Q$2:Q$10,0)),1)),0))

    Then fill down.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  5. #5
    Forum Contributor
    Join Date
    10-05-2012
    Location
    Washington
    MS-Off Ver
    Excel 2013
    Posts
    110

    Re: Index, match, and criteria

    I can make that work. I will have to give that a try when I run next weeks. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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