+ Reply to Thread
Results 1 to 9 of 9

Noob Totaling rows based on Column heading

  1. #1
    Registered User
    Join Date
    02-26-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    5

    Noob Totaling rows based on Column heading

    OK - I know this should be simple - but as an Enthusiast rather than a power user its doing my head in!

    I have a table and I want to Sum rows based on column headings. Column headings may be duplicated across the sheet. I have attached a simple example of the type of table I am working on (simplified) - any help would be appreciated!

    Thanks in advance!!

    SimpleQuestion.xlsx

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Noob Totaling rows based on Column heading

    Under Data ribbon, there is a Consolidate function you can probably look into it. I put an example in the attached workbook.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-26-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    5

    Talking Re: Noob Totaling rows based on Column heading

    Perfect - so simple I did not see it!

    Thanks!

  4. #4
    Registered User
    Join Date
    02-26-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    5

    Re: Noob Totaling rows based on Column heading

    Now - if I can just work out how to mark this post as solved

  5. #5
    Registered User
    Join Date
    02-26-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    5

    Re: Noob Totaling rows based on Column heading

    OK - is it possible to do the same thing with a formula? I want to be able to distribute this table for people to enter their data into and see the effect?

    Thanks

  6. #6
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Noob Totaling rows based on Column heading

    You might need to extract all the column headers first. In J5, enter =SUM(IF(TRANSPOSE($C$4:$H$4)=J$3,TRANSPOSE($C5:$H5),0)) with Ctrl + Shift + Enter keys enter together.

    PS: Caution on the $ sigh for the cell reference.
    Attached Files Attached Files

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Noob Totaling rows based on Column heading

    This uses a formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  8. #8
    Registered User
    Join Date
    02-26-2015
    Location
    UK
    MS-Off Ver
    2013
    Posts
    5

    Re: Noob Totaling rows based on Column heading

    Thanks for all your help - a very happy (and relieved) person here! Saved me a few hours work!

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Noob Totaling rows based on Column heading

    You're welcome.
    Thanks for giving feedback.

+ 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. Calculate standard deviation for column based on column heading
    By mattadler22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-06-2013, 04:25 PM
  2. Adding Column values based on Column Heading
    By sjhanson in forum Excel General
    Replies: 1
    Last Post: 11-17-2011, 02:58 PM
  3. Finding column Heading based on max row value
    By Sandies in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-25-2007, 03:51 AM
  4. totaling figures in rows based on criterior incolumns
    By andy taylor in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-13-2007, 02:23 PM
  5. Offset based on column heading
    By achidsey in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-30-2005, 09:10 PM

Tags for this Thread

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