+ Reply to Thread
Results 1 to 1 of 1

How do you use a box with text in to act as a category?

  1. #1
    Registered User
    Join Date
    11-14-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    0

    How do you use a box with text in to act as a category?

    First post - excel noob so please be kind!

    In the follow example, I'm looking to add a formula to the table to determine the sum total of each individual's spend.

    Name: Spend:
    Emma $4.50
    John $5.00
    Emma $3.75
    Emma $5.00
    John $3.00
    John $6.00
    Emma $2.75

    There would be 2 categories: "Emma" and "John" - I would be looking for the sum total of the "spend" for both.

    Maybe a formula that recognises that if a box has the word "Emma" in it, it should take the box to the immediate right (the amount) and add all the totals together.

    Hope this explains the problem adequately!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How do you use a box with text in to act as a category?

    See the SUMIF function.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    05-07-2013
    Location
    apple valley ca
    MS-Off Ver
    Excel 2007
    Posts
    110

    Re: How do you use a box with text in to act as a category?

    here you go.. this should work
    =SUMIF(A2:B8,D2,B2:B8)

  4. #4
    Forum Contributor
    Join Date
    05-07-2013
    Location
    apple valley ca
    MS-Off Ver
    Excel 2007
    Posts
    110

    Re: How do you use a box with text in to act as a category?

    here you go.. this should work
    =SUMIF(A2:B8,D2,B2:B8) where D2 is a drop down in my sheet..

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Filtering by text
    By saltarazan in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-16-2013, 04:18 AM
  2. Replies: 2
    Last Post: 09-14-2012, 04:31 AM
  3. [SOLVED] Productsum: Highest Frequency Category, Specific Main Category, Frequency of Category
    By T86157 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-24-2012, 12:43 PM
  4. Single field fits fault category, event category determined by group of faults
    By SchoobsVT in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-07-2010, 08:51 AM
  5. Sum values according to category (text)
    By Oscar in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-22-2005, 09:06 AM

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