Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Marcus
 
Posts: n/a
Default Finding Dates in a date range

I have a column in a spreadsheet that consists of dates in dd/mm/yyyy format.
I'm trying to write a formula that looks at the dates by row in the colum
and if the date falls within a certain range (eg from 01/04/2004 to
01/06/2004) then I want to sum the values in another column. I've worked out
that I need to use the sumif function but I can't work out how to analyse the
date range.

How do I tell the function to look at the dates in the column and if they
are within a certain range to sum the values in another column. As I said,
I'm pretty sure I need to use the sumif function - I kust can't work out how
to specify that only dates within a certain periodshould be chosen.

Can any body help me work this out?

Thanks in advance.

Marcus
  #2   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Mon, 4 Apr 2005 16:45:07 -0700, Marcus
wrote:

I have a column in a spreadsheet that consists of dates in dd/mm/yyyy format.
I'm trying to write a formula that looks at the dates by row in the colum
and if the date falls within a certain range (eg from 01/04/2004 to
01/06/2004) then I want to sum the values in another column. I've worked out
that I need to use the sumif function but I can't work out how to analyse the
date range.

How do I tell the function to look at the dates in the column and if they
are within a certain range to sum the values in another column. As I said,
I'm pretty sure I need to use the sumif function - I kust can't work out how
to specify that only dates within a certain periodshould be chosen.

Can any body help me work this out?

Thanks in advance.

Marcus


In general:

=SUMIF(date_rng,"="&cell_ref_start_date,rng_to_su m) -
SUMIF(date_rng,""&cell_ref_end_date,rng_to_sum)

date_rng: range containing the dates
rng_to_sum: range containing values to be summed
cell_ref_start_date: A cell containing the beginning date of the range to
sum
cell_ref_end_date: A cell containing the ending date.


--ron
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 I get an IF statement to pull a date range?? Brooke Medvecky Excel Worksheet Functions 9 April 19th 06 08:48 PM
need help finding a Date range within long list A shink Excel Worksheet Functions 2 March 30th 05 05:01 PM
Using a col of Dates by day I want to determine a wk ending date. Ken Espo Excel Worksheet Functions 4 February 3rd 05 11:03 PM
Using a col of Dates by day I want to determine a wk ending date. Ken Espo Excel Worksheet Functions 1 February 3rd 05 08:09 PM
I have a list of dates that I need to count based on a date range ejb030353 Excel Worksheet Functions 4 November 24th 04 02:27 PM


All times are GMT +1. The time now is 07:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"