+ Reply to Thread
Results 1 to 5 of 5

Thread: Sum by tool# help

  1. #1
    Barn Legend Rebelle will become famous soon enough Rebelle's Avatar
    Join Date
    Mar 2008
    Posts
    1,522
    Rep Power
    5

    Sum by tool# help

    Hi All,

    Is there a way to sum each tool# in excel without having to a pivot table?

    ex: take...
    Tool# .....January Qty
    1234........1
    2332........3
    1234........5
    2311........2
    2332........1

    and make:
    Tool#.....January Tot Qty
    1234.......6
    2332.......4
    2311.......2

    Thanks!

  2. #2
    Administrator richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere only we know...
    Posts
    3,207
    Blog Entries
    14
    Real Name
    Rich
    Rep Power
    14

    You could try using SUMIF function
    Code:
    (A1)
    Tool# .....January Qty
    1234........1
    2332........3
    1234........5
    2311........2
    2332........1(B6)
    
    
    Tool#.....January Tot Qty
    (A9)1234.......=SUMIF($A$1:$B$6,A9,$B$1:$B$6)
    2332.......=SUMIF($A$1:$B$6,A10,$B$1:$B$6)
    2311.......=SUMIF($A$1:$B$6,A11,$B$1:$B$6)
    
    Hope that helps.

  3. #3
    Lightning Master AOG123 is a jewel in the rough AOG123 is a jewel in the rough AOG123 is a jewel in the rough AOG123 is a jewel in the rough AOG123's Avatar
    Join Date
    Mar 2008
    Location
    Fortress Of Solitude
    Posts
    394
    Rep Power
    7

    pivot is your best bet, i guess without writing some serious vba you could use

    =SUMIF

    I.e

    Create Fields for each of your groups,


    Group name total
    1234 =SUMIF(A1:A10,"1234",B1:B10)
    2332 =SUMIF(A1:A10,"2332",B1:B10)

    with the correct ranges, that is
    If i helped you, make me famous by clicking the

  4. #4
    Barn Legend Rebelle will become famous soon enough Rebelle's Avatar
    Join Date
    Mar 2008
    Posts
    1,522
    Rep Power
    5

    okie dokie...wasn't sure if there was another way in case when new tool#'s are added.

    Thanks peeps!

  5. #5
    I like Data Cubes too... Lauramc has a spectacular aura about Lauramc has a spectacular aura about Lauramc's Avatar
    Join Date
    Mar 2008
    Location
    Far Far Away
    Posts
    387
    Real Name
    Laura
    Rep Power
    5

    It is correct that pivots are the best bet. If you set a pivot table's range to entire columns (like A:B for example) you can add new entires and refresh the pivot table. I believe you can even set the pivot table to refresh each time the file is opened.

    You can do a similar thing with SUMIF() but a pivot table is less work IMHO.

    Just my .02
    "The Enrichment Center is required to remind you that first you will be baked, then there will be cake." - GLaDOS

+ Reply to Thread

Similar Threads

  1. Where is the Web Admin Tool?
    By leemind in forum .NET Development
    Replies: 1
    Last Post: October 13th, 2008, 10:36 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

SEO by vBSEO