Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Adding Cells to a grand total

I have three employees that can work between 3 and 5 days per week. The
data looks like this:
Hours are recorded for the day and the weekly pay is calculated on the total
line.

Date Employee1 Employee2 Employee3
1/1/05 8 8 8
1/2/05 8 8 8
1/3/05 8 8 8
Total 600.00 500.00 450.00
1/8/05 8 8 8
1/9/05 8 8 8
Total 325.00 305.00 312.00
1/10/05 8 8 8
1/11/05 8 8 8
1/13/05 8 8 8
1/14/05 8 8 8
1/15/05 8 8 8
Total 600.00 500.00 450.00

Is there a way to total all the total dollars for each employee
programatically? On the total lines for each employee is a =SUM formula to
calculate the dollar amount. Since there are about a years worth of data
this would help lots.

Thanks,

Gary


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,089
Default Adding Cells to a grand total

Gary

have a look at SUMIF

=SUMIF(A2:Axxx,"Total",B2,Bxxx)

Or if the totals are in a dufferent column, you could just use:

=SUMIF(A:A,"Total",B,B)

Regards

Trevor


"Gary Paris" wrote in message
...
I have three employees that can work between 3 and 5 days per week. The
data looks like this:
Hours are recorded for the day and the weekly pay is calculated on the
total line.

Date Employee1 Employee2 Employee3
1/1/05 8 8 8
1/2/05 8 8 8
1/3/05 8 8 8
Total 600.00 500.00 450.00
1/8/05 8 8 8
1/9/05 8 8 8
Total 325.00 305.00 312.00
1/10/05 8 8 8
1/11/05 8 8 8
1/13/05 8 8 8
1/14/05 8 8 8
1/15/05 8 8 8
Total 600.00 500.00 450.00

Is there a way to total all the total dollars for each employee
programatically? On the total lines for each employee is a =SUM formula
to calculate the dollar amount. Since there are about a years worth of
data this would help lots.

Thanks,

Gary




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Adding Cells to a grand total - Thanks

Thanks... Worked like a charm!


"Trevor Shuttleworth" wrote in message
...
Gary

have a look at SUMIF

=SUMIF(A2:Axxx,"Total",B2,Bxxx)

Or if the totals are in a dufferent column, you could just use:

=SUMIF(A:A,"Total",B,B)

Regards

Trevor


"Gary Paris" wrote in message
...
I have three employees that can work between 3 and 5 days per week. The
data looks like this:
Hours are recorded for the day and the weekly pay is calculated on the
total line.

Date Employee1 Employee2 Employee3
1/1/05 8 8 8
1/2/05 8 8 8
1/3/05 8 8 8
Total 600.00 500.00 450.00
1/8/05 8 8 8
1/9/05 8 8 8
Total 325.00 305.00 312.00
1/10/05 8 8 8
1/11/05 8 8 8
1/13/05 8 8 8
1/14/05 8 8 8
1/15/05 8 8 8
Total 600.00 500.00 450.00

Is there a way to total all the total dollars for each employee
programatically? On the total lines for each employee is a =SUM formula
to calculate the dollar amount. Since there are about a years worth of
data this would help lots.

Thanks,

Gary






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,089
Default Adding Cells to a grand total - Thanks

You're welcome


"Gary Paris" wrote in message
...
Thanks... Worked like a charm!


"Trevor Shuttleworth" wrote in message
...
Gary

have a look at SUMIF

=SUMIF(A2:Axxx,"Total",B2,Bxxx)

Or if the totals are in a dufferent column, you could just use:

=SUMIF(A:A,"Total",B,B)

Regards

Trevor


"Gary Paris" wrote in message
...
I have three employees that can work between 3 and 5 days per week. The
data looks like this:
Hours are recorded for the day and the weekly pay is calculated on the
total line.

Date Employee1 Employee2 Employee3
1/1/05 8 8 8
1/2/05 8 8 8
1/3/05 8 8 8
Total 600.00 500.00 450.00
1/8/05 8 8 8
1/9/05 8 8 8
Total 325.00 305.00 312.00
1/10/05 8 8 8
1/11/05 8 8 8
1/13/05 8 8 8
1/14/05 8 8 8
1/15/05 8 8 8
Total 600.00 500.00 450.00

Is there a way to total all the total dollars for each employee
programatically? On the total lines for each employee is a =SUM formula
to calculate the dollar amount. Since there are about a years worth of
data this would help lots.

Thanks,

Gary








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
Duplicate Running Total Grand Total In Pivot Table Mathew P Bennett[_2_] Excel Discussion (Misc queries) 1 August 17th 08 03:13 AM
Pivot Table Grand Total - Cells Blank Johnnie Excel Discussion (Misc queries) 2 June 25th 08 03:17 AM
Excel 2002 : Any single button to get sub total and grand total ? Mr. Low Excel Discussion (Misc queries) 2 May 22nd 07 08:46 AM
Grand total time between two total cells Gwynn Excel Discussion (Misc queries) 4 May 9th 06 09:00 PM
Adding Data Using Multiple Worksheets to Total into a Grand Total Lillie Excel Worksheet Functions 1 April 19th 05 08:34 PM


All times are GMT +1. The time now is 08:28 PM.

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"