+ Reply to Thread
Results 1 to 5 of 5

Sum Multiple Criteria

  1. #1
    Registered User
    Join Date
    03-11-2010
    Location
    Bendigo, Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    Sum Multiple Criteria

    Hi

    I have extracted some wages data from our software at work with the intention of calculating out how many overtime hours our staff work in each pay week.

    The extracted data contains 3 columns being pay date, transaction code and hours.

    Overtime is represented as HALFA in the TRAN_CODE column and the overtime hours worked is represented by the number in corresponding cell under the HRS_AMOUNT column.

    I have so far managed to use a =SUMIF(D2:D3537,"HALFA",E2:E3537) which sums ALL the HALFA hours for the whole selected array however i need to limit the sum to only summing the HALFA hours for a specified date.

    I hope all that makes sense. I have attached the spreadsheet which i have included further explanations.

    Any assistance would be greatly appreciated.
    Attached Files Attached Files
    Last edited by Chanley24; 11-27-2012 at 04:11 AM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Sum Multiple Criteria

    In H12 cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag it to right


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Sum Multiple Criteria

    Quote Originally Posted by :) Sixthsense :) View Post
    In H12 cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag it to right
    I would advise against using entire columns

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Sum Multiple Criteria

    Quote Originally Posted by Pepe Le Mokko View Post
    I would advise against using entire columns
    No worries.. In General the Iteration will go upto the last used cell instead of whole column. Even myself not interested in referencing to whole column but some times I used to refer it based on the OP's comfort zone in case of any addition in data.

  5. #5
    Registered User
    Join Date
    03-11-2010
    Location
    Bendigo, Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Sum Multiple Criteria

    Hi Guys

    Every week this data will be refreshed and every week there will be additional data due to our weekly pay run so i think referencing the whole column will work fine in this case.

    Thank you both for your input and helping me out with this. it has been greatly appreciated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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