+ Reply to Thread
Results 1 to 5 of 5

Generate list based on multiple criteria - list active projects by engineer

  1. #1
    Registered User
    Join Date
    10-17-2022
    Location
    Oregon, USA
    MS-Off Ver
    365
    Posts
    2

    Post Generate list based on multiple criteria - list active projects by engineer

    I'm trying to generate a list based on multiple criteria. I've followed a guide but it only uses a single criteria. When I try to make a complicated IF statement using AND or OR, it stops returning arrays and the whole formula breaks.

    End Goal: list of active projects Bill works on. From Column B (status), any of "Design","Quoting","Feasibility","Post Design" are considered active
    Current work: I've figured out how to get a list of internal codes for projects Bill works on using the guide. However, AND() doesn't return an array like IF() does, so saying IF(AND(<bill works on it>, <is active>)) doesn't fit in my formula.
    I want to say IF cell[X,I] contains "Bill" AND cell[X,B] is one of "Design","Quoting","Feasibility","Post Design" then return true, RETURN AN ARRAY

    Maybe there's a different way to go about it but this is the route I'm taking so far! Please see the attached WorkBook, there's notes in there as well with proxy data and my formulas so far.

    Simplified Example of what I want to do in the middle of my larger listing formula:
    I generate a 4x5 array of TRUE/FALSE values. I want to create a second array, this one 1x5, that takes the first as an input and OR's each row to into a single column. i.e.:
    TRUE FALSE FALSE FALSE
    FALSE FALSE FALSE FALSE
    FALSE FALSE FALSE FALSE
    FALSE FALSE TRUE FALSE
    FALSE FALSE FALSE FALSE

    turns into

    TRUE
    FALSE
    FALSE
    TRUE
    FALSE

    Thank you in advance!

  2. #2
    Forum Contributor Dante Amor's Avatar
    Join Date
    07-24-2020
    Location
    MEXICO
    MS-Off Ver
    Excel 2013
    Posts
    212

    Re: Generate list based on multiple criteria - list active projects by engineer

    Try:

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

  3. #3
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Generate list based on multiple criteria - list active projects by engineer

    Here are 2 options to reach the end goal:

    Option 1 available for all 365 en 2021 users

    This options needs 2 formula's: Please try in G10:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and in I10 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Option 2 available for 365 users with BYROW function available (depends on exact version)

    This option does the 2 formulas of option 1 in once:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by HansDouwe; 10-18-2022 at 04:22 AM.

  4. #4
    Registered User
    Join Date
    10-17-2022
    Location
    Oregon, USA
    MS-Off Ver
    365
    Posts
    2

    Re: Generate list based on multiple criteria - list active projects by engineer

    Thank you both. I used a brute force method where I generated an array to a hidden area of the sheet, and then did calculations based on those cells. Both you you guys have clean formula based solutions Will definitely be fixing mine!

  5. #5
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Generate list based on multiple criteria - list active projects by engineer

    You are welcome, I'm glad to help, thanks for the feedback and rep. .

+ 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. I try to generate a list based on a criteria, but ...
    By Georgeunlock in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 09-21-2022, 10:49 PM
  2. [SOLVED] Generate combobox from list but not show the active list sheet
    By danny25 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-30-2021, 03:28 AM
  3. Generate a list based of certain criteria from multiple sheets
    By yarmin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-31-2018, 03:36 AM
  4. [SOLVED] Generate a list based on meeting certain criteria.
    By Losguapos1 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-01-2015, 01:32 PM
  5. How to generate from larger list a short list that meets multiple criteria
    By ablacksheep in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-28-2014, 09:37 AM
  6. Generate list of names based on multiple criteria
    By mattadler22 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-03-2013, 06:02 PM
  7. Generate List of Inactive Projects Using Two Lists
    By skoodog in forum Excel General
    Replies: 3
    Last Post: 03-27-2009, 06:11 PM

Tags for this Thread

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