+ Reply to Thread
Results 1 to 5 of 5

sum like cells in a ticket

  1. #1
    Registered User
    Join Date
    07-10-2012
    Location
    Midland, TX
    MS-Off Ver
    Excel 2010
    Posts
    37

    sum like cells in a ticket

    I have a ticket process that I am trying to clean up. I work for a oil field cement company that pumps similar materials in different cement slurries. Currently, they show up as different line items depending on the number of slurries I run. I have attached an example ticket where I ran several sacks of Class H cement with fluid loss, retarder and silica flour. I ran four different slurries so all four items show up four seperate times on my ticket. I would like for all of Class H to be added together, all fluid loss added together etc...
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: sum like cells in a ticket

    You can use SUMIF() for this. For instance, on Sheet2, put the matching words Fluid Loss in A2. Then this formula in B2:
    =SUMIF(Sheet1!C:C, A2, Sheet1!P:P)

    Then put Silica Flour in A3, and copy B2 down...

    Etc. Remember that the codes on sheet2 you put in column A should be an exact match for the text strings in Sheet1 column C.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: sum like cells in a ticket

    I placed the requested summary in sheet2
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-10-2012
    Location
    Midland, TX
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: sum like cells in a ticket

    That certainly got me started in the right direction. However, the information on my ticket pulls from a Data Bid Sheet, which I included in this spreadsheet. It is summing correctly but I don't know how to get the items to only appear once on my ticket. It will sum like materials but the materials still appear on my ticket 4 times and are charged 4 times more than the actual cost.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: sum like cells in a ticket

    Let me assume that each line in the bid is for each slurry so take out 3 of the 4 references if you want a consolidated bill.

+ 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