+ Reply to Thread
Results 1 to 6 of 6

Help Adding up data from a table

  1. #1
    Forum Contributor
    Join Date
    11-08-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    279

    Help Adding up data from a table

    Hi,

    I was looking for a bit of help with a problem I have,

    Please see the attached worksheet,

    I have done 3 sets of data validation lists in cells B33-B35

    I’m looking to be able to change any of the lists and for it to work out the correct sums, I have tried using sumifs but I couldn’t get it to work,

    So for example I would like to be able to change the name to alex the type to F2F and the month to March and for it to add up the relevant cells from the table.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Help Adding up data from a table

    hi skate1991, you may try this:
    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    11-08-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Help Adding up data from a table

    Hi Benishiryo,

    I tried copying that formula to cell C33 and its coming back with a circular ref error,

    Any Ideas.

    Thanks

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Help Adding up data from a table

    i used column C to count the number of rows you have. so copying this formula into C will have problems. does this range always change? if it does not, you can use:
    =SUMIFS(OFFSET($B$1,1,MATCH($B$35,$C$1:$L$1,0),29),$A$2:$A$30,$B$33,$B$2:$B$30,$B$34)

    or if it is dynamic & you need your formula in column C, do the count in some other column. i will use L for eg:
    =SUMIFS(OFFSET($B$1,1,MATCH($B$35,$C$1:$L$1,0),COUNT($L:$L)),$A$2:$A$30,$B$33,$B$2:$B$30,$B$34)

  5. #5
    Forum Contributor
    Join Date
    12-26-2008
    Location
    India
    MS-Off Ver
    2007
    Posts
    122

    Re: Help Adding up data from a table

    Hi Skate,

    Why not you add a pivot?


    Vinod
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    11-08-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Help Adding up data from a table

    Thanks To both of you both solutions work.

+ 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