LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Sumif with multiple lookup values

Hi,

I have a spreadsheet where I enter hours worked for employees. Some
employees work more than one department. After entering the hours and
departments, I have a pivot table that summarizes everything by (1) employee,
and (2) department. This works well.

Next, I have a data file that I use to import the info into ADP's PayExpert
payroll software. The data file uses sumif formulas to summarize each
employee's hours. It sums hours based on employee number. The problem is, I
need to figure out how to summarize the hours for the multiple department
employees by each department for each employee. For example, below is what
it's doing now:

Employee Temp. Dept. Hours O/T
Hours Mileage
100 23
$12.00
101 40
3.5 $0
102 35
$0
104 32
$9.60

In the above example, assuming employees 100 and 104 worked multiple
departments, what I need to do is have the hours and mileage summarized for
each department worked. Example:

Employee Temp. Dept. Hours O/T
Hours Mileage
100 15
$6.00
100 412623 8
$6.00
101 40
3.5 $0
102 35
$0
104 16
$2.80
104 416206 8
$2.80
104 416225 8
$4.00

Some other things to consider: Not all multiple department employees work
the same departments each week. There are more than 50 departments, and
almost every employee can possibly work at least 8-10 of 30 departments each
week.

Is this possible?

Thanks in advance!
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple lookup values and adding multiple rates across together ssolomon Excel Worksheet Functions 5 November 16th 07 09:02 PM
Lookup on multiple values The Rook[_2_] Excel Discussion (Misc queries) 1 March 2nd 07 03:37 PM
Lookup in Multiple Columns, Return Multiple Values andy62 Excel Worksheet Functions 3 July 6th 06 02:36 AM
Lookup multiple values on multiple sheets RealGomer Excel Programming 1 June 7th 05 05:41 PM
Using SumIF formulas with multiple lookup values Chris Freeman Excel Worksheet Functions 3 April 13th 05 01:40 AM


All times are GMT +1. The time now is 07:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"