+ Reply to Thread
Results 1 to 5 of 5

Multiple Count Criteria Formula

  1. #1
    Registered User
    Join Date
    09-27-2007
    Location
    UK
    MS-Off Ver
    MS365
    Posts
    69

    Multiple Count Criteria Formula

    I have a sheet with 4 headings - Name, Appointments, Sales, Revenue

    I need to have a table at the side with a count of each persons results. I have counted the appointments by simply counting the amount of times the persons name occurs.
    Now I don't know how to count the sales and revenue associated with that person.

    What I would like help with is like this

    Name Sale Rev
    A Y 500
    B N 0
    A N 0
    C Y 650
    B Y 320

    I need to total the amount of sales per person where Y = 1 sale and then add the associated revenue.

    Any help would be greatly appreciated.

    Thank you

  2. #2
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Multiple Count Criteria Formula

    Hello
    Try something like this
    =SUMIFS(C1:C5,A1:A5,"A",B1:B5,"Y")
    where A column is name B is Y or N and C is revenue

    You can change the formula like this for B
    =SUMIFS(C1:C5,A1:A5,"B",B1:B5,"Y")

    Tell me if it works right….

    Hope it helps
    Do ask for any other query you may have…

    If you feel that someone spent time on solving your problem then you can mark the thread as “SOLVED” (by going to thread tools at the top and clicking on “mark this thread as solved”) can just click on ADD REPUTATION below the posts to say thanks...
    Regards
    Sourabh Gupta

  3. #3
    Registered User
    Join Date
    09-27-2007
    Location
    UK
    MS-Off Ver
    MS365
    Posts
    69

    Re: Multiple Count Criteria Formula

    Thank you Sourabh. This has worked for the revenue column. I still can't show the volume of sales per person in the sales column. This would mean counting "Y" against the name. Hope this makes sense.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Multiple Count Criteria Formula

    Pls attach sample excel file with desired result
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Multiple Count Criteria Formula

    =countifs(a1:a5,"a",b1:b5,"y")

+ 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. Help, Formula to count based on multiple criteria
    By DKerr in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-07-2013, 02:37 PM
  2. [SOLVED] Formula how to count the date with multiple criteria.
    By felixpanganiban in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-04-2012, 10:40 AM
  3. Multiple Criteria, Lookup & Count formula.
    By JapanDave in forum Excel General
    Replies: 3
    Last Post: 11-08-2010, 03:01 AM
  4. Need formula to count cells with multiple criteria
    By robemichael in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-09-2009, 05:25 PM
  5. Count formula - multiple criteria
    By martins in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-16-2008, 02:08 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