+ Reply to Thread
Results 1 to 9 of 9

Count if Help

  1. #1
    Registered User
    Join Date
    06-08-2007
    Posts
    28

    Count if Help

    Hi Guys,

    I have searched for a solution but have not been able to find one in the old threads.
    My problem is that I want to count how many times a product accours in each channel.
    For example the product accurs 5 times in the corporate reseller channel and 15 times in the mail order channel.
    Is there a way of doing this?
    I have tried the countif formula but I couldnt get around it.

    Any help is appriciated.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    Why not add countifs?

    =COUNTIF(A2:A35,"MAIL ORDER")+COUNTIF(A2:A35,"CORPORATE RESELLER")

    Does this help?

  3. #3
    Registered User
    Join Date
    06-08-2007
    Posts
    28
    Thanks for the reply but this doesnt help.
    You see, what i am tring to do is count the accurances in each channel.
    Basically i'm trying to do the job of a pivot table without using pivots.

    Hope this is clear.

    Thanks

    Resul

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Count if Help

    Here's one way:

    =SUM(COUNTIF(A1:A34,{"Corporate Reseller","Mail Order"}))

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  5. #5
    Registered User
    Join Date
    06-08-2007
    Posts
    28
    no guys, I dont I'm clear.
    I want to find the number of each accurance in each channel.
    Bear in mind that I have thounds of channels and products.

    A way i can get around it is if I contatenate cells A and B and the do the formula 'COUNTIF(D2:D34,D2)'.
    But is there a way of doig this without mixing the data?

  6. #6
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Count if Help

    Quote Originally Posted by resulgul
    Thanks for the reply but this doesnt help.
    You see, what i am tring to do is count the accurances in each channel.
    Basically i'm trying to do the job of a pivot table without using pivots.

    Hope this is clear.

    Thanks

    Resul
    Hi, Resul....

    Are you hoping to automatically list each unique Channel and display the corresponding count?

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    06-08-2007
    Posts
    28
    Yep, thats exactly what I'm trying to do

  8. #8
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Count if Help

    Quote Originally Posted by resulgul
    Yep, thats exactly what I'm trying to do
    OK....Here you go:

    Please Login or Register  to view this content.
    Is that something you can work with?

  9. #9
    Registered User
    Join Date
    06-08-2007
    Posts
    28
    i have tried this as well but it doesnt do what i want it to do.
    I guess I will just concatenate and then use the countif formula.

    Thanks for all your help and ideas guys.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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