Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Help - Search for set dates then average other cells values

Hi,

I hope someone can help me.

I have a spreadsheet that has Dates in Column A - Eg 01/01/06 to
31/12/06.
Each date has a value next to it in Column B

Can you search for between specific dates and then average the values
in column B that link to the dates in the range?

Many thanks in advance

Rob

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 324
Default Help - Search for set dates then average other cells values

This worked using US dates (1/1/06 & 12/31/06) so it should work with your
date format, I think.

=(SUMIF(A1:A100,"=1/1/06",B1:B100)-SUMIF _(A1:A100,"=31/12/06",A1:A100))/ _
(COUNTIF(A1:A100,"=A/1/06")- _
(COUNTIF(A1:A100,"31/12/06")))
--
Best wishes,

Jim


"rob117" wrote:

Hi,

I hope someone can help me.

I have a spreadsheet that has Dates in Column A - Eg 01/01/06 to
31/12/06.
Each date has a value next to it in Column B

Can you search for between specific dates and then average the values
in column B that link to the dates in the range?

Many thanks in advance

Rob


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
average of different cells ignoring zero values awais Excel Discussion (Misc queries) 1 June 14th 08 11:45 PM
from a group of cells.find average of cells containing values farm Excel Discussion (Misc queries) 1 December 21st 06 08:50 PM
average values in non-contiguous cells, ignoring 0 values RWormdahl Excel Worksheet Functions 3 October 30th 06 01:06 AM
How do I obtain the Average Values between 2 dates? gimiv Excel Worksheet Functions 5 June 30th 06 05:50 PM
Running average without nonzero values or empty cells wjsubs[_3_] Excel Programming 1 July 8th 04 04:24 PM


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