Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How does one get excel sum of a column based on given dates range

in an excel database, there ais one column with multiple dates (some dates
are repeated) and another with related values.

How does one get a sum of related values for a user given date range? What
about averages excluding those with zero values?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default How does one get excel sum of a column based on given dates range

Here is the first part. Say the dates are in column A and the values are in
column B. Then:
=SUMPRODUCT((A1:A100DATE(2008,3,12))*(A1:A100<DAT E(2008,3,24)),(B1:B100))

will give the sum of the values between 3/13/2008 and 3/23/2008
--
Gary''s Student - gsnu200774


"co_jer" wrote:

in an excel database, there ais one column with multiple dates (some dates
are repeated) and another with related values.

How does one get a sum of related values for a user given date range? What
about averages excluding those with zero values?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How does one get excel sum of a column based on given dates range

Gary"s student. Partial solution is better than none! I wil give it a try.
Thanks much.

"co_jer" wrote:

in an excel database, there ais one column with multiple dates (some dates
are repeated) and another with related values.

How does one get a sum of related values for a user given date range? What
about averages excluding those with zero values?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default How does one get excel sum of a column based on given dates ra

If it is possible, convert the zeros into blanks. AVERAGE() will ignore blanks
--
Gary''s Student - gsnu200774


"co_jer" wrote:

Gary"s student. Partial solution is better than none! I wil give it a try.
Thanks much.

"co_jer" wrote:

in an excel database, there ais one column with multiple dates (some dates
are repeated) and another with related values.

How does one get a sum of related values for a user given date range? What
about averages excluding those with zero values?

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
I want to use sumif to sum up a column based on a range of dates Ricky from Pine Island Excel Worksheet Functions 2 April 13th 07 03:04 PM
Excel 2007 Display value based on values in another column range ChrisM Excel Worksheet Functions 2 September 4th 06 03:32 PM
Lookup based on range of dates dls2193 Excel Worksheet Functions 1 March 30th 06 11:21 PM
return based on range of dates Matt Excel Worksheet Functions 6 February 15th 06 08:36 PM
EXCEL Sum column based on time range in different column? RD975 Excel Worksheet Functions 2 October 13th 05 05:19 PM


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