+ Reply to Thread
Results 1 to 6 of 6

How to count only specific values

  1. #1
    Registered User
    Join Date
    02-03-2015
    Location
    Canberra
    MS-Off Ver
    ms office 2013
    Posts
    19

    How to count only specific values

    My spread sheets has many columns.
    Column A id ID No
    Cloumn B is dropdown list- Open, Closed, Monitored, further investigations, Duplicate Monitored

    Cloumn C has Query Source- Like From Provider1, Service, Staff, Guest

    Column M Has Query Type- Enquiry, Feedback, Concern, Appreciation.

    I have to create a dash board- That will tell-

    Count all Column B Except Duplicate Monitoring for each source

    Second table -I have to prepare query type for Open, Closed, Monitored, further investigation except duplicate monitored.

    I have work-sheet and dash-board on two separate worksheets.

    I tried all formulas but it doesn't give correct data. All the time it is counting duplicate Monitored also. Please advise...
    Any help - much appreciated.

  2. #2
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: How to count only specific values

    Hi. It would be easier to answer you if you upload a sample file, with confidential data removed.

    For the first part I would do something like:
    =COUNTIF(Worksheet!B:B,[Source])

    For the second I would do something like:
    =COUNTIFS(Worksheet!B:B,"<>"&"Duplicate Monitored",Worksheet!M:M,[Query Type])

    Replace the square brackets with references, or text in quotes as necessary.
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

  3. #3
    Registered User
    Join Date
    02-03-2015
    Location
    Canberra
    MS-Off Ver
    ms office 2013
    Posts
    19

    Re: How to count only specific values

    I have attached the sheet. The formula I used:=COUNTIFS('[Report on Incidents & Service Recovery v0.5.xlsx]REGISTER'!$M:$M,D$19,'[Report on Incidents & Service Recovery v0.5.xlsx]REGISTER'!$E:$E,$B20) But it is counting duplicate internal Monitoring also.

    Excel Spreadasheet- query.png

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: How to count only specific values

    Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff) - and, depending on what browser is being used, some pics dont even show up on the forum

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    02-03-2015
    Location
    Canberra
    MS-Off Ver
    ms office 2013
    Posts
    19

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: How to count only specific values

    COUNTIFS() only works on open workbooks. Can you put the dashboard into the same file as the data?

+ 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. VBA code to count specific values
    By missy22 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-20-2013, 12:58 PM
  2. count specific values in a range
    By tammy25 in forum Excel General
    Replies: 6
    Last Post: 09-01-2011, 08:09 AM
  3. Count specific values in a cell
    By jason500 in forum Excel General
    Replies: 3
    Last Post: 01-29-2010, 09:43 AM
  4. [SOLVED] Trying to count specific values
    By JanetP3810 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-27-2005, 07: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