+ Reply to Thread
Results 1 to 5 of 5

How do you add all the values within a 'category'?

  1. #1
    Registered User
    Join Date
    03-24-2008
    Posts
    14

    How do you add all the values within a 'category'?

    Hi everyone,

    I really need some help. I'm designing a worksheet that's going to get used daily by maybe a dozen people in the company, but I lack the skills to get Excel to do what I want. Here's want I want to do:

    Column A contains categories (e.g. Expenses), column B contains names of items within categories (e.g. Taxes, Maintenance), and column C contains the prices of various items.

    I want Excel to find and add together the costs of all items categorized as Expenses in cell D1. Ideally I want to be able to add new rows for Expenses and still have the sum of all Expenses be automatically updated in D1 without having to expand the search area.

    How would you go about something like this?

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-24-2008
    Posts
    14
    Quote Originally Posted by darkyam
    Please Login or Register  to view this content.
    Thanks, that worked! Though for some reason I had to change the colons into semicolons.

  4. #4
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191
    Certain versions of Excel use a semicolon separator and others use a comma. Don't ask me why. Gotta love Microsoft.

  5. #5
    Registered User
    Join Date
    04-03-2008
    Posts
    1
    HI

    I usually use the sumif formula. my solution would be like this:

    =SUMIF(A:A,"Expenses",C:C)

    Where the category is in A and the values in C.


    I am new to excel as well, so i dint understand the complicated offset solution.
    Is there something wrong that i am doing or both ways are possible.

    regards,
    Anand

+ 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