+ Reply to Thread
Results 1 to 8 of 8

Need a Formula to return a list of data that matches 3 criteria in seperate columns

  1. #1
    Registered User
    Join Date
    01-17-2013
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Need a Formula to return a list of data that matches 3 criteria in seperate columns

    Please help,

    I have 3 sheets in the attached file for your feedback. I need to filter the information on the input log sheet by the criteria defined in sheet 'Output Report' cells k4 (match to input log column b),k5 (match to input log column d), and k6 (match to input log column m). The results of which should return multple rows and populate the columns in the output report sheet that correspond to the columns on the input log. I believe I need to use index and match and an array formula but this is beyond by excel skill level. Any help would be greatly appreciated
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    01-17-2013
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Need a Formula to return a list of data that matches 3 criteria in seperate columns

    50+ views and no suggestions? Bumping to try for a response

  3. #3
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Need a Formula to return a list of data that matches 3 criteria in seperate columns

    Hi JDUBS,

    See how this works:Index.match.criteria.help.xlsx

    Some notes:
    1) The rows/columns I highlighted are just for reference to the requirements
    2) column B has some spelling issues, which will affect this solution, (cleint instead of client for example), there may be be others in other columns as well
    3) you will have to adjust the formatting on output report sheet to properly show dates, right now it shows the serial number of the date

    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  4. #4
    Registered User
    Join Date
    01-17-2013
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Need a Formula to return a list of data that matches 3 criteria in seperate columns

    Dredwolf,

    This works perfectly, I truly appreciate the help. Can you explain the mechanics of the index row # counting component? And why cell C1 is used as the kth value?

    Thanks for the help and any insight you can share

  5. #5
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Need a Formula to return a list of data that matches 3 criteria in seperate columns

    You are welcome !

    sure

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


    The match is matching up the column titles, in the first column(C) the C$9 looks in row 9 column C for the column title, then finds that in the column header row of your Input Log page, it will return the column number it finds it in
    this number is actually used in the Index part of the equation to tell which column stores the information being looked for, if you move 1 column to the right, it will look like this:
    MATCH(D$9,'Input Log'!$A$4:$N$4,0)

    C1 isn't being used anywhere??

    Hope this helps

  6. #6
    Registered User
    Join Date
    01-17-2013
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Need a Formula to return a list of data that matches 3 criteria in seperate columns

    Very helpful, thanks again. In the formula you depicted above in the SMALL funtion the kth value seems to be referencing A1, why is that?

  7. #7
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Need a Formula to return a list of data that matches 3 criteria in seperate columns

    Okay, I see where you found it, the C in Row(C1) is basically ingnored, its the 1 we are interested in, SMALL(array,k),
    the 1 says to find the smallest value in the array, as the formula moves down, it will increment to c2,c3,c4,c5 etc..the numbers telling excel which "smallest" to return, this will keep the data going to the next item that matches the criteria


  8. #8
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Need a Formula to return a list of data that matches 3 criteria in seperate columns

    also, if you look across the row , the c1 will change to d1,e1 etc, as I said, the letter part is ignored, Row will return the row number (1)

+ 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