+ Reply to Thread
Results 1 to 8 of 8

COUNTIF or COUNT formula help required

  1. #1
    Registered User
    Join Date
    07-14-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    66

    COUNTIF or COUNT formula help required

    Dear All,

    Please help me to following situation, data is arranged as below;

    In row A serial numbers from A2:A3726 is mentioned

    In row B sales person name is appearing from B2:B3726 (there are 8 different names appearing repeatedly without any sequence)

    In row C fix items (products) are appearing from C2:C3726 (eg Banana, Apple, Orange etc)

    In row D month is appearing from D2:D3726 (for eg JAN, FEB, MAR etc)

    Now if I want to count how many times Mr. A had sold ITEM X in the month of JAN? For this I tried following formulas:
    {=COUNTIF(A2:A3726,(SUM(B2:B3726="Mr. A")*(C2:C3726="Banana")*(D2:D3726="JAN"))} but this is not working

    Or I may put my question again if above is not clear I want to find how many times Mr. A had sold Banana in the month of January?

    Is there is any way to find countif with multiple criteria? Please do not suggest countifs

    Appreciate your help in this regard.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,778

    Re: COUNTIF or COUNT formula help required

    You are on the right track, but you want to use SUMPRODUCT. You do not need to use an array formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I have not tested this exact formula but that is the idea.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    07-14-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    66

    Re: COUNTIF or COUNT formula help required

    Dear Jeff,

    Thanks for your kind and quick reply, but this gives answer ZERO (0)

    I've used your advised formula to calculate amount of sales these sales person done, but now I also want to count or calculate number of sales they have done so I can make an idea that how much revenue they did by doing how many number of sales and for that I was thinking to if I could find any way to count serial numbers by using countif or counta formula with multiple criteria.

    Appreciate if you could assist me on that?

    Thanks in advance!!

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,778

    Re: COUNTIF or COUNT formula help required

    Please attach your file.

  5. #5
    Registered User
    Join Date
    07-14-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    66

    Re: COUNTIF or COUNT formula help required

    Here you go..... I've prepared a test file for you to review.
    Attached Files Attached Files

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,778

    Re: COUNTIF or COUNT formula help required

    Worked fine for me. Note that the data columns in your file don't match your description (month is in E, not D).
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-14-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    66

    Re: COUNTIF or COUNT formula help required

    Thanks a lot for the assistance!!!

  8. #8
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,778

    Re: COUNTIF or COUNT formula help required

    You're welcome! Thanks for the rep, and thanks for marking your thread Solved!

+ 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. Lookup / count formula help required
    By willsm in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-19-2013, 08:35 AM
  2. COUNT Formula Required
    By bigjohnuk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-12-2012, 04:39 AM
  3. [SOLVED] Count formula required
    By ukphoenix in forum Excel General
    Replies: 13
    Last Post: 03-28-2012, 09:47 PM
  4. Count Formula Required
    By ids2uk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-21-2007, 08:51 AM
  5. Simple Count formula required
    By mike_vr in forum Excel General
    Replies: 2
    Last Post: 01-23-2006, 11:35 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