+ Reply to Thread
Results 1 to 2 of 2

Creating dependent list with Criterias

Hybrid View

  1. #1
    Registered User
    Join Date
    10-14-2020
    Location
    Dublin
    MS-Off Ver
    Professional plus
    Posts
    44

    Creating dependent list with Criterias

    Hello,

    Just a quick question.
    In the excel doc, you will see that There are 2 tables with 2 lists.
    The first table contains Names, number of times for the name to repeat itself, and the Language.

    So with the following formula i cant have the names repeat in a list based on the amount of times i state on the table.

    I have managed to do so with the following formula in cell A17:

    =IFERROR(INDEX(Dashboard!$A$4:$A$14,MATCH(0,INDEX(--(COUNTIF($A$16:A16,Dashboard!$A$4:$A$14)=Dashboard!$B$4:$B$14),0),0)),"")


    What I want to do now, is create a following list that is suppose to be right next to the first one, which is suppose to do the same thing, but it cant have the same name in the same row, and the names have to have the same language.

    So basically the second list has to depend on the first to do the same thing but with these additional requirements:
    -The names in the two lists cant have the same name in the same row.
    -The name in list 2 has to have the same langauge as the one in list one.

    So basically same list but without matching row names, and matching language.


    I hope my silly explanation makes sense.


    Here is an example:

    List a List b
    a b
    a b
    b c
    b c
    c d
    c d
    d a
    d a
    But for example the name a in list A, and b in list B are both the same language.


    I tried to do something like this:
    =INDEX($A$16:$AA$4000,AGGREGATE(15,6,ROW($A$16:$AA$4000)/(($A$16:$AA$4000 <>$B16)*(COUNTIF($B$16:$B4000,$A$16:$AA$4000)=0)*($B$16:$B4000=INDEX($C$10:$C$30,MATCH($AA2,$A$10:$A$30,0),))),COUNTIF($AA$2:$AA2,$AA2)))


    But i know that allot is wrong in this formula.
    I thought maybe by filtering.

    Because this formula works brilliantly and gives me the repeated values:
    =IFERROR(INDEX(Dashboard!$A$4:$A$14,MATCH(0,INDEX(--(COUNTIF($A$16:A16,Dashboard!$A$4:$A$14)=Dashboard!$B$4:$B$14),0),0)),"")


    I just dont know how to add a condition to not have the same value in the same row...
    Attached Files Attached Files
    Last edited by Nicolantonio; 05-27-2021 at 09:34 AM.

  2. #2
    Registered User
    Join Date
    10-14-2020
    Location
    Dublin
    MS-Off Ver
    Professional plus
    Posts
    44

    Re: Creating dependent list with Criterias

    I tried to do something like this:
    =INDEX($A$16:$AA$4000,AGGREGATE(15,6,ROW($A$16:$AA$4000)/(($A$16:$AA$4000 <>$B16)*(COUNTIF($B$16:$B4000,$A$16:$AA$4000)=0)*($B$16:$B4000=INDEX($C$10:$C$30,MATCH($AA2,$A$10:$A$30,0),))),COUNTIF($AA$2:$AA2,$AA2)))


    But i know that allot is wrong in this formula.
    I thought maybe by filtering.

    Because this formula works brilliantly and gives me the repeated values:
    =IFERROR(INDEX(Dashboard!$A$4:$A$14,MATCH(0,INDEX(--(COUNTIF($A$16:A16,Dashboard!$A$4:$A$14)=Dashboard!$B$4:$B$14),0),0)),"")


    I just dont know how to add a condition to not have the same value in the same row...

+ 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. Dropdown list dependent on 2 criterias
    By DKOG in forum Excel General
    Replies: 5
    Last Post: 11-07-2019, 06:28 AM
  2. Help with creating a list dependent on a value and without blanks
    By JamieL0780 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-14-2017, 07:55 AM
  3. Creating dynamic top 10 list with multiple conditions and criterias
    By yabadabado in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-06-2014, 10:11 AM
  4. Creating dependent lists on the first list
    By jvermillion in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-09-2013, 08:21 AM
  5. Creating 4th, 5th.... dependent list (validation List)
    By Elainefish in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-04-2013, 04:51 PM
  6. Creating a Dependent Validation List
    By cpalmer72 in forum Excel General
    Replies: 5
    Last Post: 01-31-2013, 12:38 PM
  7. creating dependent list boxes
    By twlove@ontuet.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-29-2005, 05:06 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