+ Reply to Thread
Results 1 to 3 of 3

How to make multiple formula criteria hierarchical

  1. #1
    Registered User
    Join Date
    12-08-2020
    Location
    Columbus, OH
    MS-Off Ver
    365
    Posts
    2

    How to make multiple formula criteria hierarchical

    I am trying to output either TRUE or FALSE and apply conditional formatting based on that output. But I'm struggling with how to arrange this in regard to boolean operators and syntax.

    Condition 1: Date in column A is no further back than 15 days from today
    Condition 2: Value in column B appears 3 times or more in column B

    I want output from my formula to be true if and only if condition 1 is met. So condition 2 should only be checked if the other entries fall within the date range.

    Please look at the attached screenshot. Column C is just a test so I can see if the output of the formula is what I want it to be before I make it a new conditional formatting rule. Obviously my formula is failing, as you can see by the TRUE value next to 3311, which only appears twice within the specified date range (run date was 12/8/2020). I know why it's failing, but I don't yet know how to fix it by nesting or whatever.

    TIA for your help
    Attached Images Attached Images

  2. #2
    Registered User
    Join Date
    12-08-2020
    Location
    Columbus, OH
    MS-Off Ver
    365
    Posts
    2

    Re: How to make multiple formula criteria hierarchical

    I have tried applying both criteria in the conditional formatting stack one at a time, with the Stop checkbox checked if the date is NOT within the specified range. But that didn't work either.

    I'm just starting out with conditional formatting, so I'm unsure on how stacking them works.
    Attached Images Attached Images

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,591

    Re: How to make multiple formula criteria hierarchical

    Hello dougalf and Welcome to Excel Forum.
    Try (untested): =and(a2>=today()-15,countifs(B:B,B2,A:A,">="&today()-15)>=3)
    If that doesn't work please utilize the instructions in the banner at the top of the page to upload an .xlsx file
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Create hierarchical numbering out of multiple columns
    By bucsie in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-15-2019, 03:57 PM
  2. [SOLVED] how to make formula to sum with multiple criteria considering horizontal and vertical way
    By felixpanganiban in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-21-2019, 02:42 AM
  3. How to make multiple criteria dividing with SUMPRODUCT
    By miru9117 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-14-2019, 02:20 AM
  4. Help! Looking to make a List based on multiple criteria
    By CelesteD in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-20-2017, 10:58 AM
  5. [SOLVED] how to make nested if statement for multiple criteria and ignore false's
    By kevinu in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2017, 05:32 PM
  6. Need help to Make random color based on multiple criteria
    By Naveed Raza in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-27-2015, 03:06 AM
  7. Make a List from a table with multiple criteria
    By turist in forum Excel General
    Replies: 7
    Last Post: 04-22-2014, 12:31 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