+ Reply to Thread
Results 1 to 7 of 7

COUNTIFS or SUMIFS total the entries not the amount - please help

  1. #1
    Registered User
    Join Date
    01-21-2019
    Location
    Guernsey, Channel Islands
    MS-Off Ver
    2007
    Posts
    3

    COUNTIFS or SUMIFS total the entries not the amount - please help

    Hi there,

    Need a little help if anyone can please.

    One column holds data of names of staff who try to make appointments, for this instance "Dave" "John" and "Trevor"
    Another column holds a list of appointments made set to a simple "Yes" or "No"
    A 3rd column lists a value of sales that result from those appointments (entered manually as a figure e.g. 100 for £100)

    I have used a SUMIF TO give me a total amount of sales if set to "Dave" and "Yes" for example but i also want to see the number of sales. So for the attachment i would like it to show me a figure of 2 as 2 sales have resulted from "Dave" and "Yes".

    Many thanks in advance.
    Attached Images Attached Images

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: COUNTIFS or SUMIFS total the entries not the amount - please help

    Try:
    =COUNTIFS($B$1:$B$4,"dave",$C$1:$C$4,"yes")
    =SUMIFS($D$1:$D$4,$B$1:$B$4,"dave",$C$1:$C$4,"yes")
    Click the * to say thanks.

  3. #3
    Registered User
    Join Date
    01-21-2019
    Location
    Guernsey, Channel Islands
    MS-Off Ver
    2007
    Posts
    3

    Re: COUNTIFS or SUMIFS total the entries not the amount - please help

    Hi thanks, my fault for not explaining with enough clarity but there may be times where there is nothing filled in to column D. So i need a count of all the times Dave is set to Yes AND there is a financial figure entered into D (The d entry could change each time e.g 10 or 50 or 100)

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,794

    Re: COUNTIFS or SUMIFS total the entries not the amount - please help

    Try these:

    =COUNTIFS($B$1:$B$4,"dave",$C$1:$C$4,"yes",$D$1:$D$4,"<>")
    =SUMIFS($D$1:$D$4,$D$1:$D$4,"<>",$B$1:$B$4,"dave",$C$1:$C$4,"yes")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: COUNTIFS or SUMIFS total the entries not the amount - please help

    So, anything except blanks, right?
    =COUNTIFS($B$1:$B$4,"dave",$C$1:$C$4,"yes",$D$1:$D$4,"<>")

  6. #6
    Registered User
    Join Date
    01-21-2019
    Location
    Guernsey, Channel Islands
    MS-Off Ver
    2007
    Posts
    3

    Re: COUNTIFS or SUMIFS total the entries not the amount - please help

    That is just what i need, perfect, thank you very much!

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,794

    Re: COUNTIFS or SUMIFS total the entries not the amount - please help

    You're welcome.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. SUmifs / countifs?
    By IsabellaLearning in forum Excel General
    Replies: 2
    Last Post: 11-09-2017, 05:52 PM
  2. Countifs or sumifs
    By jyadayada in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-26-2017, 07:59 AM
  3. Countifs & sumifs Help!
    By Roo007 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-30-2016, 09:39 PM
  4. [SOLVED] SumIfs and CountIfs Help
    By ScabbyDog in forum Excel General
    Replies: 1
    Last Post: 03-14-2016, 06:37 AM
  5. [SOLVED] Tell me about countifs & sumifs
    By keshavtale in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-29-2015, 09:01 AM
  6. how to work out rate based on total time and total amount
    By lisaathers in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-09-2013, 06:44 AM
  7. [SOLVED] How do I calculate Amount of Sales Tax from Total Amount?
    By MikeS in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-26-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