+ Reply to Thread
Results 1 to 4 of 4

Counifs then multiply to another column

  1. #1
    Registered User
    Join Date
    02-15-2011
    Location
    Quezon City, Philippines
    MS-Off Ver
    Excel 2007
    Posts
    2

    Counifs then multiply to another column

    Hi, I need to to produce a total of items with two categories. I have to count the number of times a text occurs in a column and on another column its category. The third column would be the quantity that I have to multiply with the result.

    Example:

    Animal: Dog
    Type: German Shephered
    Qty: 5

    I have tried countifs but I cannot work it out to multiply with the quantity.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Counifs then multiply to another column

    I think you need the SUMIFS function in XL2007 - Can't help further, not familiar with the syntax yet :-(

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Counifs then multiply to another column

    In SUMIFS terms

    Please Login or Register  to view this content.
    where C is summation range (Qty), A is Animal and B is Breed.

    If you need to repeat for other combinations you might consider using a Pivot Table with Col A & Col B as Row Labels and Col C as Data Field set to SUM

  4. #4
    Registered User
    Join Date
    02-15-2011
    Location
    Quezon City, Philippines
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Counifs then multiply to another column

    Thanks DonkeyOte, you have provided the solution I need.

+ 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