+ Reply to Thread
Results 1 to 4 of 4

How to SUM using some odd criteria? SUMIFS or SUMIF will not work...

  1. #1
    Registered User
    Join Date
    10-01-2012
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    2

    Question How to SUM using some odd criteria? SUMIFS or SUMIF will not work...

    Hi

    Thanks for your time.

    I've a problem...

    Assume this data:

    Person Product Price
    1 A 10€
    2 A 20€
    1 B 30€
    3 A 40€
    4 A 50€
    5 A 60€
    1 A 70€
    6 B 80€

    I need to know how much did I sell (SUM Price column) from product B from people that have also bought Product A.

    For example, the price total of people that bought B and also A it's 30€ (the Person 6 didn't bought A).
    The total sum of product A from people that bought also B it's 10€+70€=80€

    Can someone help me in this?
    I must also use this formula for more Products. Not only A and B.

    Thanks for your time!

    Best regards!

    João Lopes

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,420

    Re: How to SUM using some odd criteria? SUMIFS or SUMIF will not work...

    I would suggest that you use a Pivot Table.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-01-2012
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: How to SUM using some odd criteria? SUMIFS or SUMIF will not work...

    Hi

    Thanks for your reply.

    This file will increase. The idea it's to be able to update the source data and update all the graphs automatically.
    If I use a PT, I will need to edit it and refresh it in order to have the correct data.

    Any other sugestion?

    Thanks!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,420

    Re: How to SUM using some odd criteria? SUMIFS or SUMIF will not work...

    Any other sugestion?
    No, sorry, not from me.

+ 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