+ Reply to Thread
Results 1 to 4 of 4

Getting a yes/no for repeating items based on criteria

  1. #1
    Registered User
    Join Date
    06-12-2017
    Location
    Pittsburgh, PA
    MS-Off Ver
    365
    Posts
    16

    Getting a yes/no for repeating items based on criteria

    I am requesting help getting a YES/NO based on repeating items with unique categories where only one item can include the yes.

    I have a table with a drop down of BASE, ALT, ADD. Producing YES/NO from the BASE was easy. Producing YES/NO when each item only had 2 categories was easy. It is the 3rd category which is throwing me off. I need to do this as a formula within the include column.

    Please see the below examples. here is a editable version: //1drv.ms/x/s!AuSAY8w45lIm_RTA8v2IDmdMC59g just missing the "https:" dont have enough posts yet to share a link properly

    Any help would be greatly appreciated.

    My values are located in the following cells:


    a b c
    1 Select: BASE
    2
    3 Item Category Include
    4 a BASE YES
    5 b BASE YES
    6 b ALT NO
    7 c BASE YES
    8 c ADD NO
    9 c ALT NO
    10 d BASE YES
    11 d ADD NO


    What I need to do is when I change the selection box to for example base, all the items that are base need to say YES in the include column and NO for the non base items as in the above example.

    When I select ALT, it needs to say YES for those items that either only have a BASE or if they have a multiple options the ALT line needs to say YES while the others say NO as in the below example.

    a b c
    1 Select: ALT
    2
    3 Item Category Include
    4 a BASE YES
    5 b BASE NO
    6 b ALT YES
    7 c BASE NO
    8 c ADD NO
    9 c ALT YES
    10 d BASE YES
    11 d ADD NO

    When I select ADD, it needs to say YES for those items that either only have a BASE or if they have a multiple options the ADD line needs to say YES while the others say NO as in the below example.

    a b c
    1 Select: ADD
    2
    3 Item Category Include
    4 a BASE YES
    5 b BASE YES
    6 b ALT NO
    7 c BASE NO
    8 c ADD YES
    9 c ALT NO
    10 d BASE NO
    11 d ADD YES
    Last edited by istank; 08-13-2018 at 09:40 AM.

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Getting a yes/no for repeating items based on criteria

    This formula will match the written description of what you require:

    Please Login or Register  to view this content.
    Note that, as far as I can tell, your written description and your examples disagree in the case of:
    Row 11 ("d" & "Base") for B2 = ALT
    Row 6 ("b" & "Base") for B2 = ADD
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  3. #3
    Registered User
    Join Date
    06-12-2017
    Location
    Pittsburgh, PA
    MS-Off Ver
    365
    Posts
    16

    Re: Getting a yes/no for repeating items based on criteria

    I did check the values and I think I got it right as to you comments about the mismatch between examples and description.

    Thanks for the help with that formula but is there a way I can modify this to work in the event I have to add more drop down options? The formula worked perfect but it has absolute variables such as "BASE" and seems to require extension of the formula if I add an option of lets say "BASE 2".

  4. #4
    Registered User
    Join Date
    06-12-2017
    Location
    Pittsburgh, PA
    MS-Off Ver
    365
    Posts
    16

    Re: Getting a yes/no for repeating items based on criteria

    Doing some searching and trial and error I solved the issue.

    Sadly It will not let me post the solution because I don't have a high enough post count.

+ 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] Search for more items based on a criteria
    By basvankrimpen in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-05-2017, 09:28 AM
  2. [SOLVED] Extract unique items based on criteria
    By YasserKhalil in forum Excel General
    Replies: 4
    Last Post: 09-03-2015, 03:29 AM
  3. Extract unique items based on criteria
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-08-2015, 03:10 PM
  4. Index items based on criteria
    By royalB in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-09-2014, 08:39 AM
  5. [SOLVED] Dynamic repeating order that needs to change based on specific criteria
    By rcoope02 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-14-2013, 11:30 AM
  6. formula to get list of items from 1 col based on a criteria in another col
    By aravindhan_31 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-31-2009, 08:25 AM
  7. Top Five selections based on sum of items meeting criteria
    By Joe D in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-20-2005, 07:50 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