Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Help Please: Need an Average for 16 Weeks according to Month

Vendor Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7
Jun 8 Jun 15 Jun 22 Jun 29 Jul 6
Jul 13 Jul 20
Manhattan 346 349 351 348 340
333 328
El Paso 518 549 558 584 596
607 616
Terra H 478 484 470 485 470
506 491

Above is a sampling of my data. I am in desparate need of a calc that will
give me the average for each Vendor by Month according to the month that is
associated to Week. (there are actually 16 weeks). Every week my dates will
change. Thank you!


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Help Please: Need an Average for 16 Weeks according to Month

Hi,

Try something like this array formula:

=AVERAGE(IF(MONTH(B$2:Z$2)=6,B3:Z3,""))

copy down. This assumes that the dates are Excel dates and are on row 2
with the first vendor's data on row 3. Extend out as many columms as you
like. Array formulas are entered by pressing Shift+Ctrl+Enter, not Enter.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"drober" wrote:

Vendor Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7
Jun 8 Jun 15 Jun 22 Jun 29 Jul 6
Jul 13 Jul 20
Manhattan 346 349 351 348 340
333 328
El Paso 518 549 558 584 596
607 616
Terra H 478 484 470 485 470
506 491

Above is a sampling of my data. I am in desparate need of a calc that will
give me the average for each Vendor by Month according to the month that is
associated to Week. (there are actually 16 weeks). Every week my dates will
change. Thank you!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Help Please: Need an Average for 16 Weeks according to Month

Shane

I tried this but I get #value. Also wont MONTH(B$2:Z$2)=6; only return June?

Thanks for your help with this, I am at a lost ; (

"Shane Devenshire" wrote:

Hi,

Try something like this array formula:

=AVERAGE(IF(MONTH(B$2:Z$2)=6,B3:Z3,"")))

copy down. This assumes that the dates are Excel dates and are on row 2
with the first vendor's data on row 3. Extend out as many columms as you
like. Array formulas are entered by pressing Shift+Ctrl+Enter, not Enter.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"drober" wrote:

Vendor Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7
Jun 8 Jun 15 Jun 22 Jun 29 Jul 6
Jul 13 Jul 20
Manhattan 346 349 351 348 340
333 328
El Paso 518 549 558 584 596
607 616
Terra H 478 484 470 485 470
506 491

Above is a sampling of my data. I am in desparate need of a calc that will
give me the average for each Vendor by Month according to the month that is
associated to Week. (there are actually 16 weeks). Every week my dates will
change. Thank you!


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
How do you calculate the number of weeks on a month Sunnyskies Excel Discussion (Misc queries) 7 April 4th 23 11:23 AM
Sequence of Weeks in a month Elton Law[_2_] Excel Worksheet Functions 4 May 15th 09 02:20 AM
Sum data for weeks in a month Eloise Excel Discussion (Misc queries) 4 March 18th 08 08:43 PM
How do I count the number of even weeks in the current month. dd Excel Worksheet Functions 6 February 22nd 07 07:29 AM
Archiving 4 weeks of data into Month folders mosh Excel Discussion (Misc queries) 1 June 19th 06 12:32 AM


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