#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Summing Data

I have an Excel Worksheet includes travel costs by employee by type of
expense. These expense is allocate to cost centers based on the time each
employee spends in the cost center. The worksheet lay out is:


Col A Col B Col C Col E Col F Col G
Col H Col I
Employee Type of Exp Total exp 10-510 10-550 50-510 81-510 90-550
John Doe 5523 $500 $250 $50 $100 $0
$100
John Doe 5524 $250 $125 $25 $ 50 $0
$ 50
Mary Doe 5524 $100 $ 50
$50
Jack Doe 5523 $900 $250 $100 $250 $100
$200
Jack Doe 5524 $900 $250 $100 $250 $100
$200
Jane Doe 5523 $750 $500 $ 50 $ 50
$0 $150

The worksheet continues with some 100 employees and 8 different type of
expenses that they coud incurr.
What I would like to do is sum by cost center (i.e. 10-510, 10-550, 50-510,
etc.) and tpye of expense (i.e. 5523, 5524, 5525, etc).
What functions do I use? Do I have to have use several sumif statements?
Any help would be greately appreciated. Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Summing Data

If your two criteria is cost center and type, you can do some simple SUMIF
functions. Create a table similar to what you have now, with Cost Center
being your headers, and type being your row headers. I'll assume you've
created this on a new sheet, and your data is on "Data" sheet. In B2 of your
new sheet:
=SUMIF('Data'!$B:$B,$A2,'Data'!E:E)

Copy across and down as needed to fill your report table.

If you're looking for more data control/sorting capabilities, you might also
want to look into creating a PivotTable. They're very good for
organizing/summing data, and you can easily manipulate the layout.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"rfhorn" wrote:

I have an Excel Worksheet includes travel costs by employee by type of
expense. These expense is allocate to cost centers based on the time each
employee spends in the cost center. The worksheet lay out is:


Col A Col B Col C Col E Col F Col G
Col H Col I
Employee Type of Exp Total exp 10-510 10-550 50-510 81-510 90-550
John Doe 5523 $500 $250 $50 $100 $0
$100
John Doe 5524 $250 $125 $25 $ 50 $0
$ 50
Mary Doe 5524 $100 $ 50
$50
Jack Doe 5523 $900 $250 $100 $250 $100
$200
Jack Doe 5524 $900 $250 $100 $250 $100
$200
Jane Doe 5523 $750 $500 $ 50 $ 50
$0 $150

The worksheet continues with some 100 employees and 8 different type of
expenses that they coud incurr.
What I would like to do is sum by cost center (i.e. 10-510, 10-550, 50-510,
etc.) and tpye of expense (i.e. 5523, 5524, 5525, etc).
What functions do I use? Do I have to have use several sumif statements?
Any help would be greately appreciated. Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Summing Data

I'm sorry Luke M but I don't understand the formula you offered. What is the
"data"!E:E part?




"Luke M" wrote:

If your two criteria is cost center and type, you can do some simple SUMIF
functions. Create a table similar to what you have now, with Cost Center
being your headers, and type being your row headers. I'll assume you've
created this on a new sheet, and your data is on "Data" sheet. In B2 of your
new sheet:
=SUMIF('Data'!$B:$B,$A2,'Data'!E:E)

Copy across and down as needed to fill your report table.

If you're looking for more data control/sorting capabilities, you might also
want to look into creating a PivotTable. They're very good for
organizing/summing data, and you can easily manipulate the layout.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"rfhorn" wrote:

I have an Excel Worksheet includes travel costs by employee by type of
expense. These expense is allocate to cost centers based on the time each
employee spends in the cost center. The worksheet lay out is:


Col A Col B Col C Col E Col F Col G
Col H Col I
Employee Type of Exp Total exp 10-510 10-550 50-510 81-510 90-550
John Doe 5523 $500 $250 $50 $100 $0
$100
John Doe 5524 $250 $125 $25 $ 50 $0
$ 50
Mary Doe 5524 $100 $ 50
$50
Jack Doe 5523 $900 $250 $100 $250 $100
$200
Jack Doe 5524 $900 $250 $100 $250 $100
$200
Jane Doe 5523 $750 $500 $ 50 $ 50
$0 $150

The worksheet continues with some 100 employees and 8 different type of
expenses that they coud incurr.
What I would like to do is sum by cost center (i.e. 10-510, 10-550, 50-510,
etc.) and tpye of expense (i.e. 5523, 5524, 5525, etc).
What functions do I use? Do I have to have use several sumif statements?
Any help would be greately appreciated. Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Summing Data

Luke M, I got it to work. thanks for your help, I really appreciate it.


"Luke M" wrote:

If your two criteria is cost center and type, you can do some simple SUMIF
functions. Create a table similar to what you have now, with Cost Center
being your headers, and type being your row headers. I'll assume you've
created this on a new sheet, and your data is on "Data" sheet. In B2 of your
new sheet:
=SUMIF('Data'!$B:$B,$A2,'Data'!E:E)

Copy across and down as needed to fill your report table.

If you're looking for more data control/sorting capabilities, you might also
want to look into creating a PivotTable. They're very good for
organizing/summing data, and you can easily manipulate the layout.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"rfhorn" wrote:

I have an Excel Worksheet includes travel costs by employee by type of
expense. These expense is allocate to cost centers based on the time each
employee spends in the cost center. The worksheet lay out is:


Col A Col B Col C Col E Col F Col G
Col H Col I
Employee Type of Exp Total exp 10-510 10-550 50-510 81-510 90-550
John Doe 5523 $500 $250 $50 $100 $0
$100
John Doe 5524 $250 $125 $25 $ 50 $0
$ 50
Mary Doe 5524 $100 $ 50
$50
Jack Doe 5523 $900 $250 $100 $250 $100
$200
Jack Doe 5524 $900 $250 $100 $250 $100
$200
Jane Doe 5523 $750 $500 $ 50 $ 50
$0 $150

The worksheet continues with some 100 employees and 8 different type of
expenses that they coud incurr.
What I would like to do is sum by cost center (i.e. 10-510, 10-550, 50-510,
etc.) and tpye of expense (i.e. 5523, 5524, 5525, etc).
What functions do I use? Do I have to have use several sumif statements?
Any help would be greately appreciated. Thanks.

Reply
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
Summing Data Ruth Excel Worksheet Functions 3 October 21st 09 08:56 AM
Summing like data (2) nba Excel Discussion (Misc queries) 2 October 2nd 09 03:57 AM
Summing up Data Tom K[_2_] Excel Worksheet Functions 10 January 16th 09 02:57 AM
summing data david72 Excel Discussion (Misc queries) 1 May 17th 06 04:15 AM
Summing data yesac142 Excel Discussion (Misc queries) 6 June 20th 05 01:47 PM


All times are GMT +1. The time now is 11:39 AM.

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

About Us

"It's about Microsoft Excel"