Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default Averaging Month & weekdays

I have a spreadsheet that has 4 columns (month name, date, calls offered, &
calls handled.)
I have sorted the file by month, date and now I need to get the averages (by
day of week) for each of the last 2 columns.
In th sample below there are 2 Wed. and 2 Thurs. that I need to average.
I need to place this formula(s) in a different colmn to the right of the data.
I'm not sure if a formula will work. I have attempted a pivot table but I
am new to these and it gets really ugly everytime I've attempted to create
one.
There is more data; entire years worth.

I am at a loss on how to approach this challenge and any help would be
appreciated. I've tried search this site but my search keys aren't working.

Thanks for your time and efforts.

Sample data:

Month DOW Date Offered Handled
January Tue 01/01/08 222 209
January Wed 01/02/08 447 412
January Wed 01/02/08 149 521
January Thu 01/03/08 450 398
January Thu 01/03/08 432 405
January Fri 01/04/08 362 328
January Sat 01/05/08 369 321

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Averaging Month & weekdays

Hi,

This does that for column D. Put it in a cell and enter as an array. see
instructions below, and drag down for 6 cells for each day of the week.

'This is an array formula which must be entered with CTRL+Shift+Enter and NOT
'just enter. If you do it correctly then Excel will put curly brackets around
'the formula{}. You can't type these yourself. If you Edit the ranges
'then you must re-enter as An array.

It will return div/0 error if there are no data for that day of week but you
can wrap it in an iserror to eliminate that.

=AVERAGE(IF(WEEKDAY($C$1:$C$50)=ROW(A1),$D$1:$D$50 ))

you should

"El Bee" wrote:

I have a spreadsheet that has 4 columns (month name, date, calls offered, &
calls handled.)
I have sorted the file by month, date and now I need to get the averages (by
day of week) for each of the last 2 columns.
In th sample below there are 2 Wed. and 2 Thurs. that I need to average.
I need to place this formula(s) in a different colmn to the right of the data.
I'm not sure if a formula will work. I have attempted a pivot table but I
am new to these and it gets really ugly everytime I've attempted to create
one.
There is more data; entire years worth.

I am at a loss on how to approach this challenge and any help would be
appreciated. I've tried search this site but my search keys aren't working.

Thanks for your time and efforts.

Sample data:

Month DOW Date Offered Handled
January Tue 01/01/08 222 209
January Wed 01/02/08 447 412
January Wed 01/02/08 149 521
January Thu 01/03/08 450 398
January Thu 01/03/08 432 405
January Fri 01/04/08 362 328
January Sat 01/05/08 369 321

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 189
Default Averaging Month & weekdays

Hi,

I suggest you try with subtotals.

click on the header row go to the menubar and DATA|Subtotals
in the subtotals select 1. (at each change in) Date, 2. (Use
function)Average, 3.(Add subtotals to) offered and handled.

Please uncheck replace the current subtotals

This is working fine as per your requirement. the example is given below.

Month DOW Date Offered Handled
January Tue 1/1/08 222 209
1/1/08 Average 222 209
January Wed 1/2/08 447 412
January Wed 1/2/08 149 521
1/2/08 Average 298 466.5
January Thu 1/3/08 450 398
January Thu 1/3/08 432 405
1/3/08 Average 441 401.5
January Fri 1/4/08 362 328
1/4/08 Average 362 328
January Sat 1/5/08 369 321
1/5/08 Average 369 321
Grand Average 347.2857143 370.5714286

--
Thanks
Suleman Peerzade


"El Bee" wrote:

I have a spreadsheet that has 4 columns (month name, date, calls offered, &
calls handled.)
I have sorted the file by month, date and now I need to get the averages (by
day of week) for each of the last 2 columns.
In th sample below there are 2 Wed. and 2 Thurs. that I need to average.
I need to place this formula(s) in a different colmn to the right of the data.
I'm not sure if a formula will work. I have attempted a pivot table but I
am new to these and it gets really ugly everytime I've attempted to create
one.
There is more data; entire years worth.

I am at a loss on how to approach this challenge and any help would be
appreciated. I've tried search this site but my search keys aren't working.

Thanks for your time and efforts.

Sample data:

Month DOW Date Offered Handled
January Tue 01/01/08 222 209
January Wed 01/02/08 447 412
January Wed 01/02/08 149 521
January Thu 01/03/08 450 398
January Thu 01/03/08 432 405
January Fri 01/04/08 362 328
January Sat 01/05/08 369 321

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default Averaging Month & weekdays

Mike,

I attempted your formula and it didn't work
It came back with #VALUE
Here's the modified formula:
=AVERAGE(IF(WEEKDAY($C$2:$C$8)=ROW(A2),$D$1:$D$8))

A B C D E
1 Month DOW Date Offered Handled
2 January Tue 1/1/2008 222 209
3 January Wed 1/2/2008 447 412
4 January Wed 1/2/2008 149 521
5 January Thu 1/3/2008 450 398
6 January Thu 1/3/2008 432 405
7 January Fri 1/4/2008 362 328
8 January Sat 1/5/2008 369 321


"Mike H" wrote:

Hi,

This does that for column D. Put it in a cell and enter as an array. see
instructions below, and drag down for 6 cells for each day of the week.

'This is an array formula which must be entered with CTRL+Shift+Enter and NOT
'just enter. If you do it correctly then Excel will put curly brackets around
'the formula{}. You can't type these yourself. If you Edit the ranges
'then you must re-enter as An array.

It will return div/0 error if there are no data for that day of week but you
can wrap it in an iserror to eliminate that.

=AVERAGE(IF(WEEKDAY($C$1:$C$50)=ROW(A1),$D$1:$D$50 ))

you should

"El Bee" wrote:

I have a spreadsheet that has 4 columns (month name, date, calls offered, &
calls handled.)
I have sorted the file by month, date and now I need to get the averages (by
day of week) for each of the last 2 columns.
In th sample below there are 2 Wed. and 2 Thurs. that I need to average.
I need to place this formula(s) in a different colmn to the right of the data.
I'm not sure if a formula will work. I have attempted a pivot table but I
am new to these and it gets really ugly everytime I've attempted to create
one.
There is more data; entire years worth.

I am at a loss on how to approach this challenge and any help would be
appreciated. I've tried search this site but my search keys aren't working.

Thanks for your time and efforts.

Sample data:

Month DOW Date Offered Handled
January Tue 01/01/08 222 209
January Wed 01/02/08 447 412
January Wed 01/02/08 149 521
January Thu 01/03/08 450 398
January Thu 01/03/08 432 405
January Fri 01/04/08 362 328
January Sat 01/05/08 369 321

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default Averaging Month & weekdays

Suleman,
I need to gather these subtotals and make a graph for projecting future
needs. Can you create a graph from subtotal rows without having to
copy/paste those values somewhere else on the spreadsheet?

Thanks for replying

"Suleman Peerzade" wrote:

Hi,

I suggest you try with subtotals.

click on the header row go to the menubar and DATA|Subtotals
in the subtotals select 1. (at each change in) Date, 2. (Use
function)Average, 3.(Add subtotals to) offered and handled.

Please uncheck replace the current subtotals

This is working fine as per your requirement. the example is given below.

Month DOW Date Offered Handled
January Tue 1/1/08 222 209
1/1/08 Average 222 209
January Wed 1/2/08 447 412
January Wed 1/2/08 149 521
1/2/08 Average 298 466.5
January Thu 1/3/08 450 398
January Thu 1/3/08 432 405
1/3/08 Average 441 401.5
January Fri 1/4/08 362 328
1/4/08 Average 362 328
January Sat 1/5/08 369 321
1/5/08 Average 369 321
Grand Average 347.2857143 370.5714286

--
Thanks
Suleman Peerzade


"El Bee" wrote:

I have a spreadsheet that has 4 columns (month name, date, calls offered, &
calls handled.)
I have sorted the file by month, date and now I need to get the averages (by
day of week) for each of the last 2 columns.
In th sample below there are 2 Wed. and 2 Thurs. that I need to average.
I need to place this formula(s) in a different colmn to the right of the data.
I'm not sure if a formula will work. I have attempted a pivot table but I
am new to these and it gets really ugly everytime I've attempted to create
one.
There is more data; entire years worth.

I am at a loss on how to approach this challenge and any help would be
appreciated. I've tried search this site but my search keys aren't working.

Thanks for your time and efforts.

Sample data:

Month DOW Date Offered Handled
January Tue 01/01/08 222 209
January Wed 01/02/08 447 412
January Wed 01/02/08 149 521
January Thu 01/03/08 450 398
January Thu 01/03/08 432 405
January Fri 01/04/08 362 328
January Sat 01/05/08 369 321

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
Extract Number of Weekdays (Mon-Fri) & Saturdays for a particular Month/Yr Max Excel Worksheet Functions 13 July 9th 08 08:38 AM
Weekdays of the month. Dean Excel Discussion (Misc queries) 17 August 1st 07 05:15 PM
averaging a total out over a month Simon Parker Excel Discussion (Misc queries) 0 April 3rd 07 02:06 PM
Forumla for averaging within a month Woody13 Excel Discussion (Misc queries) 11 September 29th 06 02:53 AM
Weekdays Jeff Excel Discussion (Misc queries) 7 February 15th 05 12:18 AM


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