+ Reply to Thread
Results 1 to 2 of 2

3 Different Total Values in Same Column Based on 2 Other Columns

  1. #1
    Registered User
    Join Date
    03-18-2011
    Location
    Jonesboro, AR
    MS-Off Ver
    Excel 2010
    Posts
    13

    3 Different Total Values in Same Column Based on 2 Other Columns

    Is there any way to sum three different things in a column based on two other columns?

    Here is an example of what I want to do:

    Example.png


    Basically I want the totals of a certain fruit from a group, then I want the totals of all other fruits in the group and the the total of everything else.

    The tricky part is that I want it based on the group number (order) it is in as shown in the example. Then I want to base it off the type it is in the Type column. Is this possible without VBA coding?

    TIA

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: 3 Different Total Values in Same Column Based on 2 Other Columns

    hello

    In cell D2=countif(B1:B10,"apples") displays number of apples

    In cell D3=countif(C2:C10,"fruits") - D2 or =countif(C2:C10,"fruits") - countif(B1:B10,"apples") counts number of fruits then subtract number of apples..

    In cell D4 = countif(C2:C10,"<>fruits") counts number of "not fruits"
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ 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