Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Averageing monthly data by type

Geez! I'm probably being a dunce, but I cannot figure out how to get some
averages from my data sheet. What I need is the average # of hours per month
of each worker type per shift. Here is my data example:

Month/Day Worker type 08-1600 1600-2400 2400-0800
1-Apr B 5 4
2
C 7 3
2
D 12 8
4
2-Apr B 8 4
2
C 10 8
4





--
Mudbug
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default Averageing monthly data by type

Hi,

Set up a summary area like the following:
08-1600 1600-2400 2400-0800
B 6.5 4 2
C 8.5 5.5 3
D 12 8 4

Assume your original data starts in cell A1:E6 with dates in column A titles
on row 1.
Assume that the above summary area occupies the range G1:J4, enter the
following formula in H2 and copy it down and over:

=AVERAGE(IF((H$1=$C$1:$E$1)*($G2=$B$2:$B$6)*$C$2:$ E$6<0,(H$1=$C$1:$E$1)*($G2=$B$2:$B$6)*$C$2:$E$6," "))

This is an array formula so you need to press Shift+Ctrl+Enter when you
enter it not Enter.


If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"Mudbug" wrote:

Geez! I'm probably being a dunce, but I cannot figure out how to get some
averages from my data sheet. What I need is the average # of hours per month
of each worker type per shift. Here is my data example:

Month/Day Worker type 08-1600 1600-2400 2400-0800
1-Apr B 5 4
2
C 7 3
2
D 12 8
4
2-Apr B 8 4
2
C 10 8
4





--
Mudbug

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Averageing monthly data by type

Thank you Shane. I think this will work except my first row of data (the 6.5
figure) is in B2. It looks like I need the range of B2:G4 What do I need to
change in the formula you gave me?

Mudbug

"ShaneDevenshire" wrote:

Hi,

Set up a summary area like the following:
08-1600 1600-2400 2400-0800
B 6.5 4 2
C 8.5 5.5 3
D 12 8 4

Assume your original data starts in cell A1:E6 with dates in column A titles
on row 1.
Assume that the above summary area occupies the range G1:J4, enter the
following formula in H2 and copy it down and over:

=AVERAGE(IF((H$1=$C$1:$E$1)*($G2=$B$2:$B$6)*$C$2:$ E$6<0,(H$1=$C$1:$E$1)*($G2=$B$2:$B$6)*$C$2:$E$6," "))

This is an array formula so you need to press Shift+Ctrl+Enter when you
enter it not Enter.


If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"Mudbug" wrote:

Geez! I'm probably being a dunce, but I cannot figure out how to get some
averages from my data sheet. What I need is the average # of hours per month
of each worker type per shift. Here is my data example:

Month/Day Worker type 08-1600 1600-2400 2400-0800
1-Apr B 5 4
2
C 7 3
2
D 12 8
4
2-Apr B 8 4
2
C 10 8
4





--
Mudbug

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
Converting daily data into weekly, monthly and yearly data CEGavinMcGrath Excel Discussion (Misc queries) 4 April 3rd 23 06:54 PM
AVERAGEing non contiguous rows Mike McLellan Excel Discussion (Misc queries) 2 April 14th 08 09:21 PM
Averageing Costs Harlan Excel Discussion (Misc queries) 2 March 5th 07 04:09 AM
How do I set up monthly random work schedule for 60 hours monthly The Ace of the Base Excel Discussion (Misc queries) 0 April 4th 06 07:36 PM
Mortgage template comparing interest pd, monthly, bi-monthly, ext. JMC Excel Discussion (Misc queries) 0 April 14th 05 02:35 PM


All times are GMT +1. The time now is 11:46 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"