+ Reply to Thread
Results 1 to 4 of 4

looking up and summing from a table with conditions

  1. #1
    Registered User
    Join Date
    03-21-2007
    Posts
    2

    looking up and summing from a table with conditions

    OK, so I have a large table of numbers and text, including formulas. I want to be able to find a formula that looks in the table for all of the entries that have Category X, and return the sum of their corresponding numbers.

    I've attached an example file of what I mean.

    (I'm new to this forum, go easy on me if I did something wrong!)
    Attached Images Attached Images

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try

    =SUMIF($B$2:$B$4,A7,$C$2:$C$4)

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    03-21-2007
    Posts
    2
    Ah, that did it. I didn't quite know that's how SUMIF works obviously... to say the least, he he...

    Thanks a lot!

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    No problem

    Glad it helped

    VBA Noob

+ 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