+ Reply to Thread
Results 1 to 4 of 4

Thread: contingency totals

  1. #1
    Registered User
    Join Date
    12-08-2010
    Location
    Bethlehem, Pa
    MS-Off Ver
    Excel 2010
    Posts
    13

    contingency totals

    I'm setting up a spreadsheet for tracking emplyee sick time and vacation hours. Underneath each employee name I have three rows, the first for date entry (no problem), the second row the number of hours taken on that particular day. The third row has a dropdown list from which may be chosen V-S-P, representing 'vacation, 'sick' and 'personal'

    What formula do I use to obtain separate totals for each contigency... ie, have the counts show only those hours for vacation, those for sick time etc?

    New at this so any help is greatly appreciated.
    Steve
    Last edited by SteveJF; 12-11-2010 at 10:23 PM.

  2. #2
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    19,224

    Re: contingency totals

    The function you want is SUMIF(). I couldn't explain it better than Excel's own help files, press F1 and read the info on it.
    _________________
    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
    Registered User
    Join Date
    12-08-2010
    Location
    Bethlehem, Pa
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: contingency totals

    Worked beautifully... thank you, Jerry!

  4. #4
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    19,224

    Re: contingency totals

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.
    _________________
    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!)

+ 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.2.0