+ Reply to Thread
Results 1 to 4 of 4

Help with formula to pull multiple criterian from one sheet to an organized list

Hybrid View

  1. #1
    Registered User
    Join Date
    05-05-2008
    Posts
    45

    Help with formula to pull multiple criterian from one sheet to an organized list

    I hope this title is non-infraction worthy...
    In the attached example I used the following formula to pull the required data from 'Sheet2' to the corresponding column on the sheet labeled 'SKU Lookup':

    {=IF(ROWS($A$2:$A2)>COUNTIF(Sheet2!$A$1:$A$375,$A$2),"",INDEX(Sheet2!D$2:D$375,SMALL(IF(Sheet2!$A$2:$A$375=$A$2,ROW(Sheet2!$A$2:$A$375)-ROW(Sheet2!$A$2)+1),ROWS($A$1:$A1))))}
    Is there a similar formula that will pull the data from 'Sheet2' if I enter the necessary search info (as seen on the tab labeled 'Everything')? I know I'm doing a bad job of explaining what I need and I apologize since I'm pretty new to Excel. I think if you take a look at the attached examply you will understand what I'm getting at...

    Any and all help is greatly appreciated!

    Everything Lookup.xlsx
    Last edited by NBVC; 03-23-2010 at 10:07 AM.

  2. #2
    Registered User
    Join Date
    05-05-2008
    Posts
    45

    Re: Help with formula to pull multiple criterian from one sheet to an organized list

    Any help out there?

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Help with formula to pull multiple criterian from one sheet to an organized list

    See attached for a possible solution.

    I added a helper column in Sheet2, column J

    In J2, add formula:

    =IF(AND(OR(EVERYTHING!$A$2=A2,EVERYTHING!$A$2=""),OR(EVERYTHING!$A$5=C2,EVERYTHING!$A$5=""),OR(EVERYTHING!$A$11=D2,EVERYTHING!$A$11=""),OR(EVERYTHING!$A$8=E2,EVERYTHING!$A$8=""),OR(EVERYTHING!$A$14=G2,EVERYTHING!$A$14=""),OR(EVERYTHING!$A$17=H2,EVERYTHING!$A$17="")),MAX($I$1:I1)+1,0)
    and copy down.

    in Sheet 'EVERYTHING', A20 add formula:

    =IF(A2&A5&A8&A11&A14&A17="",0,MAX(Sheet2!I:I))
    Then in C2 add formula:

    =IF(ROWS($A$2:$A2)>$A$20,"",INDEX(Sheet2!D$2:D$375,MATCH(ROWS($A$2:$A2),Sheet2!$I$2:$I$375,0)))
    and copy down.

    Use similar formula in D2:J2 and adjust the INDEX range to suit...

    Then copy all down.

    You can hide A20 by making font colour white.

    You can hide column J on Sheet2 if desired.

    You should be able to make any entries in the input boxes and matches should come up.. even if you leave some inputs blank.
    Attached Files Attached Files
    Last edited by NBVC; 03-23-2010 at 09:13 AM. Reason: Typo
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    05-05-2008
    Posts
    45

    Re: Help with formula to pull multiple criterian from one sheet to an organized list

    AMAZING! Nice, clean and simple... Thank you so very much!

+ 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