+ Reply to Thread
Results 1 to 6 of 6

Countif to return partial result?

  1. #1
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Countif to return partial result?

    Hi Im a bit stuck

    Im using countifs to return values based on 3 set criteria. The criteria are chosen using vlookups

    Is it possible to return partial search results based only on 2 criteria?

    Ive uploaded a mock up to demonstrate.

    Ive selected Sat as Criteria 1, and Aug For Criteria 2, but nothing yet for criteria 3. As predicted the COUNT is zero because all 3 criteria have not been met..

    Id like it to be able to return partial results, Is that possible

    There for the COUNT would be 4 as Sat, and Aug appear 4 times.#

    HELP much appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Countif to return partial result?

    How about:

    HTML Code: 
    1. Click on the * Add Reputation if you think this helped you
    2. Mark your thread as SOLVED when question is resolved

    Modytrane

  3. #3
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Countif to return partial result?

    sorry, misunderstood the issue.
    Let me think of something else.

  4. #4
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Re: Countif to return partial result?

    Thanks modytrane

  5. #5
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Countif to return partial result?

    If Year is the only one that could be blank then you can use the following:

    HTML Code: 
    With the situation described in your post, this will give you result of 4.

    If it is possible to be missing any one of those three [Day, Month or Year] then you may have to build in IF conditions for all three possibilities.
    Something like:

    HTML Code: 

  6. #6
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Countif to return partial result?

    You also have to clean up few other things.
    Your day column has Tue and Tues.
    Your data validation list has Jan.Feb,Mar,Apr.........
    You need to change . to , after Jan.

+ 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] Lookup partial values and if match return partial value from another cell
    By Renejorgensen in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-01-2017, 07:53 AM
  2. [SOLVED] need to do Partial name search and return the value against the partial name
    By Kiran Kurapati in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-09-2013, 09:40 AM
  3. [SOLVED] COUNTIF Criteria Does Not Return Expected Result
    By SLJackson in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-30-2013, 04:12 PM
  4. Partial countif
    By C21 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-04-2013, 04:35 PM
  5. COUNTIF for a partial value
    By KL in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-06-2005, 05:05 PM
  6. COUNTIF for a partial value
    By Jonah in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 PM
  7. [SOLVED] COUNTIF for a partial value
    By Jonah in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 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