+ Reply to Thread
Results 1 to 3 of 3

Summing cells with different numbers of rows (large data sheet, HELP)

Hybrid View

  1. #1
    Registered User
    Join Date
    10-23-2018
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Office 365
    Posts
    4

    Question Summing cells with different numbers of rows (large data sheet, HELP)

    Hello,

    I have a large amount of data, and I need to figure out a formula to sum up only the values with specific numeric labels. Here's an example of the layout:

    1 32
    1 45
    1 11
    1 38
    1 65
    2 45
    2 89
    2 67
    3 55
    3 45
    3 67
    3 10

    As you can see, each label in the first column has a different number of rows. How could I insert a formula to the right of this that would only sum the values next to 1's, 2's 3's, and so on?

    Thanks,
    B
    Attached Images Attached Images

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,372

    Re: Summing cells with different numbers of rows (large data sheet, HELP)

    A SUMIFS() function should be able to do that -- if a formula solution is required: https://support.office.com/en-us/art...6-611cebce642b

    A pivot table would also do that, if you would prefer a pivot table approach: http://www.excel-easy.com/data-analy...ot-tables.html
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Summing cells with different numbers of rows (large data sheet, HELP)

    I'd just use pivot table. But if that's not an option...

    May be...
    =IF(COUNTIF($A$2:A2,A2)=1,SUMIF(A:A,A2,B:B),"")

    This will show total value for each number group at first appearance of that number.
    0.JPG
    "Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
    ― Robert A. Heinlein

+ 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. Separating numbers from words in cells in large data file
    By cbarth in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-08-2015, 07:06 AM
  2. Insert/Delete rows based on the same numbers of rows with data in other sheet
    By Blokeman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-25-2015, 08:28 PM
  3. Summing large amounts of data based on certain attributes
    By excel_newbert in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-18-2012, 04:25 PM
  4. Large amount of data, summing 144 lines previous
    By firewater88 in forum Excel General
    Replies: 4
    Last Post: 05-24-2011, 12:47 PM
  5. Summing large numbers with decimals in Excel
    By PradeepKel in forum Excel General
    Replies: 1
    Last Post: 06-05-2006, 11:15 PM
  6. Summing large numbers...
    By Buildscharacter in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-13-2005, 04:10 PM
  7. [SOLVED] Conditional summing with large amounts of data
    By Revontulet in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-26-2005, 05:06 PM

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