+ Reply to Thread
Results 1 to 2 of 2

simplify multiple criteria searches and outputs

  1. #1
    Registered User
    Join Date
    01-23-2015
    Location
    Tucson
    MS-Off Ver
    2013
    Posts
    1

    simplify multiple criteria searches and outputs

    Hello,
    I have work book that I use to combine different options from established roles to create a new role. in the attached book TESTROLES.xlsx I have a small sample of what I have set up (the actual workbook is huge). Here is what I am doing.

    Sheet1 is the original or base roles and options. the roles are the top row and the options are in column A. Row 2 is just the number of the column for use in a formula. These sheets do not change.
    The OUTPUT sheet has the same column headers and column A as Sheet1. Row 2 contains this formula to match up to the INPUT sheet: =IF(AND(B1=INDIRECT(ADDRESS(COLUMN(),1,,,"NEW ROLE")),INDIRECT(ADDRESS(COLUMN(),2,,,"NEW ROLE"))="Y"),"Y","")
    The rest of OUTPUT pulls in the corresponding column from sheet1 using this formula: =IF(B$2="Y",VLOOKUP($A3,Sheet1!$A$1:$E$7,Sheet1!B$2,FALSE),"")
    I then added a column (called output) that combines the results of the rest of the columns using this formula =IF(COUNTIF(B3:E3,"F")>0,"F",IF(COUNTIF(B3:E3,"AU")>0,"AU",IF(COUNTIF(B3:E3,"V")>0,"V",IF(COUNTIF(B3:E3,"N")>0,"N",""))))
    in the INPUT sheet you would create a new role by marking Y/N to the desired roles that you'd like to combine (column A).
    in the NEW ROLE sheet you would then choose your new role name from the drop down in cell B1. This will populate the results of your Y/N selections on the INPUT sheet in cells B2:B5 (this is really just to double check that the correct roles are being selected)
    In the NEWROLE sheet cells E2:E6 are populated with the output column in the OUTPUT sheet

    Now here is my delema.
    My master list has four sheets so I had to create OUTPUT1, OUTPUT2, OUTPUT3, etc... for each base sheet. These sheets are extremely large (one is 16,000 rows) so anytime I make a change it takes a while to compute the results. It also makes the workbook a pretty large file so I can't always email it.

    I would like to have a way to only have the base sheets, the INPUT sheet and the NEW ROLE sheet without having to have the different output sheets.
    In other words is there a way to tell the workbook to take the selected roles and combine them onto a new page without having to have all of the OUTPUT pages.

    I know this sounds confusing but hopefully the attched file will help make sense of it all.\
    Thanks in advance
    Peter

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: simplify multiple criteria searches and outputs

    Hi, and welcome to the forum

    Can we go back to basics since I find your explanation difficult to understand.

    Can you describe in a narrative way the essence of the task. What you start with, what you change and what is the output and reference the specific cells. It would help if you could show a few examples where you have changed the inputs and what the results are.

    Since you want to avoid the Output sheet don't mention that in your narrative or examples since the answer we come up with has to avoid that.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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. [SOLVED] Display multiple outputs based on combination of multiple inputs
    By jtilley in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-11-2012, 09:03 PM
  2. How to simplify index match to multiple criteria
    By chrissio in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-11-2012, 05:20 AM
  3. Replies: 1
    Last Post: 09-19-2011, 08:07 PM
  4. Manipulating dates outputs with criteria
    By stpetece in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-16-2011, 04:13 PM
  5. [SOLVED] Getting valid web searches and avoiding sites that contaminate web searches
    By David McRitchie in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-12-2006, 10:10 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