+ Reply to Thread
Results 1 to 3 of 3

Help adding countif to a formula

  1. #1
    Registered User
    Join Date
    08-08-2017
    Location
    Florida
    MS-Off Ver
    O365
    Posts
    40

    Help adding countif to a formula

    Hey There,

    I've attached a sheet with sample data and desired result. If I can get some help adding countif to remove the duplicates from results row that would be great! Or if there's another formula(s) that work better that's great too.

    Formula is: =INDEX($F$6:$F$35,(MATCH(1,($B$6:$B$35>=$I$5)*($B$6:$B$35<=$J$5)*($C$6:$C$35=$H$5),0))) entered with CSE

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Help adding countif to a formula

    You would need a different array formula:
    Enter formula in H8 and drag across

    ***Array formula
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.
    You will know the array is active when you see curly braces { } appear around your formula.
    If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    08-08-2017
    Location
    Florida
    MS-Off Ver
    O365
    Posts
    40

    Re: Help adding countif to a formula

    Alkey,

    Works perfect, thanks so much. I just could not figure it out, I could either have multiple criteria with duplicates or one criteria and no duplicates.

    Thanks for adding in the iferror too, much appreciated.

+ 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. Adding a COUNTIF function to an existing IF AND COUNTIF Formula...
    By Ourkid123uk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-24-2018, 10:09 AM
  2. [SOLVED] Adding an AND Function to a =IF(COUNTIF.... Formula
    By Ourkid123uk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-30-2017, 11:51 AM
  3. [SOLVED] Adding Indirect formula to a Countif
    By nikkilynn2 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-03-2014, 08:24 PM
  4. [SOLVED] Need help adding addional criteria to a countif formula
    By kcleere in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-13-2013, 10:32 AM
  5. COUNTIF formula changing when adding new data to a table.
    By oldraper in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-16-2013, 10:44 AM
  6. Adding a CountIF to a formula that is already Countif
    By Cmorgan in forum Excel General
    Replies: 4
    Last Post: 06-01-2011, 09:34 AM
  7. Adding a CountIF to a formula
    By Cmorgan in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-01-2011, 07:24 AM

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