+ Reply to Thread
Results 1 to 8 of 8

Need Help With the best way to go about applying a COUNTIFS formula

  1. #1
    Registered User
    Join Date
    04-01-2019
    Location
    Rhode Island
    MS-Off Ver
    MS Office 2010
    Posts
    5

    Exclamation Need Help With the best way to go about applying a COUNTIFS formula

    Good morning! I've attached my work for reference. I've narrowed down that I need to use a COUNTIFS formula to be able to filter the information that I need. I have two columns containing dates. One is the date the property was obtained. The other is the date that it was sold. What I need is to be able to input a given date, and have the owner of each property on that given date either highlight or filter. I believe a COUNTIFS formula is going to be the best way to do this, as adding auto filters just filters out information from the first column. I'm not very familiar with COUNTIFS formula, so any help to put one together that will do what I need it to do will be greatly appreciated. Thanks!
    Last edited by cmello1314; 04-03-2019 at 10:27 AM.

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

    Re: Need Help With the best way to go about applying a COUNTIFS formula

    So if it’s after the “Sold” date, then it is the person in column D and if it’s before the “Sold” date, it’s the person in column C? Does this apply if it’s before the “Obtained Date” or should it be ignored in that case?

    Should someone (C or D) be highlighted on every line?
    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
    04-01-2019
    Location
    Rhode Island
    MS-Off Ver
    MS Office 2010
    Posts
    5

    Re: Need Help With the best way to go about applying a COUNTIFS formula

    Someone should be highlighted on every line. I'm looking to set it up so that I can highlight the owner of record on a given date. For example, if I search 3/28/2006, I would like the owner of record for that particular date for each property to either be filtered out or highlighted somehow.

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

    Re: Need Help With the best way to go about applying a COUNTIFS formula

    Okay, with C6 To C10000 selected, this formula in conditional formatting
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    With D6:D10000 selected, this formula in conditional formatting
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See attached
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-01-2019
    Location
    Rhode Island
    MS-Off Ver
    MS Office 2010
    Posts
    5

    Re: Need Help With the best way to go about applying a COUNTIFS formula

    Unfortunately, that didn't seem to work. When I put in the date 11/29/1988 it highlighted ALL of the names in column A. So what its doing is highlighting owners AFTER the given date, I believe. What I'm looking to do is highlight only the owner on a specific given date. Is that possible?

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

    Re: Need Help With the best way to go about applying a COUNTIFS formula

    Okay, In P6 with the formula copied down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This will give you a 1 if the owner is in column C and a 2 if in column D and “”(null set) if neither.
    Then a simple Conditional formatting
    In C6:C10000
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In D6:D10000
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Is this what you are looking for?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-01-2019
    Location
    Rhode Island
    MS-Off Ver
    MS Office 2010
    Posts
    5

    Re: Need Help With the best way to go about applying a COUNTIFS formula

    YES!! Thank you!!! You are a lifesaver. I have been trying different things all day, with no luck. Formulas are not my strong suit.

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

    Re: Need Help With the best way to go about applying a COUNTIFS formula

    Glad to help

+ 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] Applying formula while using filters
    By fahadmohsin in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-23-2016, 07:36 AM
  2. Help with applying if and or formula
    By djmatok in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-15-2012, 10:34 PM
  3. Macro: Applying formula to multiple cells in excel (formula editing)
    By city in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-27-2012, 06:41 AM
  4. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  5. applying formula to the cells
    By associates in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-10-2006, 01:46 AM
  6. [SOLVED] applying formula
    By Pat N. in forum Excel General
    Replies: 1
    Last Post: 04-25-2006, 03:50 PM
  7. Applying a formula to a column
    By Andrew Clark in forum Excel General
    Replies: 5
    Last Post: 01-28-2005, 04: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