+ Reply to Thread
Results 1 to 7 of 7

Return an answer if 4 conditions are satisfied

  1. #1
    Registered User
    Join Date
    05-21-2020
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    6

    Return an answer if 4 conditions are satisfied

    Hello all

    I am currently working on a spreadsheet that would automatically shortlist a possible answer on a particular cell if four conditions are met. Please read in conjunction with the attached spreadsheet

    If you look at the 'Data' tab, I have populated various part numbers on Column A, in the subsequent columns I have listed the corresponding length, core material, element material and micron rating.
    I would want a formula to choose the correct part number from column A (of Data tab) and display it on Cell B24 based on the selections I make on cells B14, B15, B17 and B18 (of the Selection tab).

    Can anyone help please.

    Example:

    If I choose the following on 'Selection' Sheet

    B14 = Polypropylene
    B15 = 316L Stainless Steel
    B17 = 10
    B18 = 40

    I would want B24 to return

    PLFL-40-SS/PP-10um


    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,972

    Re: Return an answer if 4 conditions are satisfied

    First I'd start off by cleaning your Data and Lookup tables.

    Some have trailing space, some don't. Causing issue with straight forward Aggregate/Match.

    Ex: 316L Stainless Steel in row 1 of Core Material has no trailing space, but the second row has one.

    Same goes for all other areas of your workbook.

    Also, row# of Table [Micron Rating] is different from all other tables in the Data sheet. You should match the dimension. Otherwise, it will be tricky to use formula.

    When the clean up is done, you can use INDEX(LookupRange,Match(Cond1&"-"&Cond2&"-"&Cond3&"-"&Cond4,Range1&"-"&Range2&"-"&Range3&"-"&Ranage4,0) array formula.

    However, note that you have text value in B18, but numeric in [Length (in)], and will need to convert B18 to numeric first before you can match.

    Using Aggregate function in place of MATCH (so that you don't have to use CTRL + SHIFT + ENTER to confirm formula) and assuming that you've done above clean up... something like below.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    "Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
    ― Robert A. Heinlein

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Return an answer if 4 conditions are satisfied

    And with the same assumptions another possibility
    =
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    05-21-2020
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    6

    Re: Return an answer if 4 conditions are satisfied

    You are a star CK76!!!! Works like a charm!!! Thanks

  5. #5
    Registered User
    Join Date
    05-21-2020
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    6

    Re: Return an answer if 4 conditions are satisfied

    Hi Arthurbr, your formula works too. Thanks very much

  6. #6
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,972

    Re: Return an answer if 4 conditions are satisfied

    You are welcome

    If you are satisfied with solution(s) provided, please mark the thread as solved. Using Thread tools found at top of your initial post.

  7. #7
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Return an answer if 4 conditions are satisfied

    Most welcome

+ 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. Track the number of SATISFIED Conditions as Individual or Overlapped...
    By e4excel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-14-2017, 01:20 AM
  2. [SOLVED] compute an average if certain conditions are satisfied
    By anita2017 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-07-2017, 10:29 AM
  3. Replies: 5
    Last Post: 08-18-2016, 09:13 AM
  4. Replies: 6
    Last Post: 09-07-2015, 02:48 PM
  5. Resetting running counter based on conditions being satisfied
    By Stdnt in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-17-2014, 06:15 PM
  6. Linked Lookup IF 2 conditions are satisfied
    By reghu in forum Excel General
    Replies: 0
    Last Post: 09-01-2010, 07:13 AM
  7. Replies: 10
    Last Post: 08-28-2008, 06:45 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