Consulting

Results 1 to 3 of 3

Thread: VBA Code / Formula for salary per dept

  1. #1
    VBAX Tutor gnod's Avatar
    Joined
    Apr 2006
    Posts
    257
    Location

    Question VBA Code / Formula for salary per dept

    hi,,

    how can i compute the total per dept and put it in the User Template without putting the salary of the employee.. pls see my remarks in the attached file..

    tnx..

  2. #2
    Site Admin
    Jedi Master
    VBAX Guru Jacob Hilderbrand's Avatar
    Joined
    Jun 2004
    Location
    Roseville, CA
    Posts
    3,712
    Location
    You can use SumIf to get the total per department.
    =SUMIF(C2:C6,"Finance",D2:D6)

  3. #3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •