+ Reply to Thread
Results 1 to 3 of 3

If multiple criteria are met, then .. for all values based on 1 criteria

  1. #1
    Registered User
    Join Date
    10-18-2017
    Location
    The Netherlands
    MS-Off Ver
    O365
    Posts
    9

    If multiple criteria are met, then .. for all values based on 1 criteria

    Hi,

    I'm stuck on a formula which I hope is even possible to write without VBA.

    Column A = my parameter, which is duplicated in multiple rows. So let's say I have 5 rows with "X", 4 rows with "Y" and 7 rows with "Z".
    Column B = finished: Y/N
    Column C = where the formula should come

    If I take parameter "X" as example. In 3/5 rows finished is N and in 2/5 rows finished is Y.

    I want my formula to do the following:

    If Parameter = Parameter (so for all values with "X")
    And at least 1 row has Finished = Yes
    Then all cells in C have value = "Yes"

    Any tips on how to achieve this?

    Parameter Finished Desired Output
    X Y Y
    X Y Y
    X N Y
    X N Y
    X N Y
    Y Y Y
    Y N Y
    Y N Y
    Y N Y
    Z N N
    Z N N
    Z N N
    Z N N
    Z N N
    Z N N
    Z N N
    Last edited by Amadan90; 05-18-2021 at 03:19 AM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: If multiple criteria are met, then .. for all values based on 1 criteria

    Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    10-18-2017
    Location
    The Netherlands
    MS-Off Ver
    O365
    Posts
    9

    Re: If multiple criteria are met, then .. for all values based on 1 criteria

    Omg it really was that easy. Thanks!

+ 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] Values based on multiple criteria including grouped criteria
    By adsako in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 03-21-2020, 01:24 PM
  2. Replies: 6
    Last Post: 08-21-2019, 09:10 AM
  3. Sum values based on multiple criteria
    By stuver in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-15-2017, 09:07 PM
  4. VBA Macro Dividing Values Based upon Matching Criteria and Description Criteria
    By pvsvprasad in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 09-18-2016, 12:39 PM
  5. [SOLVED] Add Multiple Values Based on Criteria
    By mastertonn in forum Excel General
    Replies: 7
    Last Post: 07-17-2014, 05:29 AM
  6. [SOLVED] Sum Values based on multiple criteria
    By coda1395 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-11-2014, 01:09 PM
  7. [SOLVED] How to sum values based on multiple criteria with multple possibilities for each criteria?
    By boredaxel in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-05-2013, 02:26 AM

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