Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Sum data if dates in a column are w/in a specific range

I am trying to have Excel sum data in column €œM€ if data in column €œA€ is a
certain date range. Any tips/advice?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Sum data if dates in a column are w/in a specific range

Don't multi-post - refer to your other post for a solution.

Pete

On Aug 13, 4:55*pm, Dhardy wrote:
I am trying to have Excel sum data in column “M” if data in column “A” is a
certain date range. Any tips/advice?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Sum data if dates in a column are w/in a specific range

With the start and end dates in C1 and D1 ;try the below formula

=SUMPRODUCT(--(A1:A100=C1),--(A1:A100<=D1),M1:M100)

If this post helps click Yes
---------------
Jacob Skaria


"Dhardy" wrote:

I am trying to have Excel sum data in column €œM€ if data in column €œA€ is a
certain date range. Any tips/advice?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Sum data if dates in a column are w/in a specific range

=SUMPRODUCT(--(A2:A1000=DATEVALUE("1/1/09"),--(A2:A1000<DATEVALUE("8/1/09"),M2:M1000)


=sumif(

"Dhardy" wrote:

I am trying to have Excel sum data in column €œM€ if data in column €œA€ is a
certain date range. Any tips/advice?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Sum data if dates in a column are w/in a specific range

For example:

=SUMPRODUCT(--(A1:A100DATEVALUE("7/1/2009")),--(A1:A100<DATEVALUE("7/23/2009")),(H1:H100))

--
Gary''s Student - gsnu200860


"Dhardy" wrote:

I am trying to have Excel sum data in column €œM€ if data in column €œA€ is a
certain date range. Any tips/advice?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Sum data if dates in a column are w/in a specific range

How do I tell it to calcuate the date range of 8/1/2009-8/7/2009?

Thanks in advance for your help!

"Sean Timmons" wrote:

=SUMPRODUCT(--(A2:A1000=DATEVALUE("1/1/09"),--(A2:A1000<DATEVALUE("8/1/09"),M2:M1000)


=sumif(

"Dhardy" wrote:

I am trying to have Excel sum data in column €œM€ if data in column €œA€ is a
certain date range. Any tips/advice?

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Sum data if dates in a column are w/in a specific range

Please disregard previous question...sorry and thanks.

"Sean Timmons" wrote:

=SUMPRODUCT(--(A2:A1000=DATEVALUE("1/1/09"),--(A2:A1000<DATEVALUE("8/1/09"),M2:M1000)


=sumif(

"Dhardy" wrote:

I am trying to have Excel sum data in column €œM€ if data in column €œA€ is a
certain date range. Any tips/advice?

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Sum data if dates in a column are w/in a specific range

:-) No Problem!

"Dhardy" wrote:

Please disregard previous question...sorry and thanks.

"Sean Timmons" wrote:

=SUMPRODUCT(--(A2:A1000=DATEVALUE("1/1/09"),--(A2:A1000<DATEVALUE("8/1/09"),M2:M1000)


=sumif(

"Dhardy" wrote:

I am trying to have Excel sum data in column €œM€ if data in column €œA€ is a
certain date range. Any tips/advice?

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Sum data if dates in a column are w/in a specific range

What do I need to change in the formula that you provided if I am evaluating
data from another workbook?

"Sean Timmons" wrote:

:-) No Problem!

"Dhardy" wrote:

Please disregard previous question...sorry and thanks.

"Sean Timmons" wrote:

=SUMPRODUCT(--(A2:A1000=DATEVALUE("1/1/09"),--(A2:A1000<DATEVALUE("8/1/09"),M2:M1000)


=sumif(

"Dhardy" wrote:

I am trying to have Excel sum data in column €œM€ if data in column €œA€ is a
certain date range. Any tips/advice?

  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Sum data if dates in a column are w/in a specific range

=SUMPRODUCT(--([Book1]Sheet1!A2:A1000=DATEVALUE("1/1/09"),--([Book1]Sheet1!A2:A1000<DATEVALUE("8/1/09"),[Book1]Sheet1!M2:M1000)

Of course, change Book1 and sheet1 to your workbook and sheet names.

It's actualyl easiest if you enter sumproduct( then click the Fx in yoru
address bar. Then, you can just cick and drag your sets desired and the
workbook and sheet will automatically show...

"Dhardy" wrote:

What do I need to change in the formula that you provided if I am evaluating
data from another workbook?

"Sean Timmons" wrote:

:-) No Problem!

"Dhardy" wrote:

Please disregard previous question...sorry and thanks.

"Sean Timmons" wrote:

=SUMPRODUCT(--(A2:A1000=DATEVALUE("1/1/09"),--(A2:A1000<DATEVALUE("8/1/09"),M2:M1000)


=sumif(

"Dhardy" wrote:

I am trying to have Excel sum data in column €œM€ if data in column €œA€ is a
certain date range. Any tips/advice?



  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Sum data if dates in a column are w/in a specific range

This is the formual I am working with:

SUMPRODUCT(--([Desiree.xls]August!$A$5:$A$500=DATEVALUE("8/3/2009"),--([Desiree.xls]August!$A$5:$A$500<=8/7/2009,[Desiree.xls]August!$M$5:$M$500)

It is coming back with an error & I'm not sure why.

"Sean Timmons" wrote:

=SUMPRODUCT(--([Book1]Sheet1!A2:A1000=DATEVALUE("1/1/09"),--([Book1]Sheet1!A2:A1000<DATEVALUE("8/1/09"),[Book1]Sheet1!M2:M1000)

Of course, change Book1 and sheet1 to your workbook and sheet names.

It's actualyl easiest if you enter sumproduct( then click the Fx in yoru
address bar. Then, you can just cick and drag your sets desired and the
workbook and sheet will automatically show...

"Dhardy" wrote:

What do I need to change in the formula that you provided if I am evaluating
data from another workbook?

"Sean Timmons" wrote:

:-) No Problem!

"Dhardy" wrote:

Please disregard previous question...sorry and thanks.

"Sean Timmons" wrote:

=SUMPRODUCT(--(A2:A1000=DATEVALUE("1/1/09"),--(A2:A1000<DATEVALUE("8/1/09"),M2:M1000)


=sumif(

"Dhardy" wrote:

I am trying to have Excel sum data in column €œM€ if data in column €œA€ is a
certain date range. Any tips/advice?

  #12   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Sum data if dates in a column are w/in a specific range

This formula worked
=SUMPRODUCT(--([Book1]Sheet1!A2:A1000=DATEVALUE("8/3/2009")),--([Book1]Sheet1!A2:A1000<=DATEVALUE("8/7/2009")),([Book1]Sheet1!M2:M1000))

Thank you SO much! You will be GOLD in no time!

"Sean Timmons" wrote:

=SUMPRODUCT(--([Book1]Sheet1!A2:A1000=DATEVALUE("1/1/09"),--([Book1]Sheet1!A2:A1000<DATEVALUE("8/1/09"),[Book1]Sheet1!M2:M1000)

Of course, change Book1 and sheet1 to your workbook and sheet names.

It's actualyl easiest if you enter sumproduct( then click the Fx in yoru
address bar. Then, you can just cick and drag your sets desired and the
workbook and sheet will automatically show...

"Dhardy" wrote:

What do I need to change in the formula that you provided if I am evaluating
data from another workbook?

"Sean Timmons" wrote:

:-) No Problem!

"Dhardy" wrote:

Please disregard previous question...sorry and thanks.

"Sean Timmons" wrote:

=SUMPRODUCT(--(A2:A1000=DATEVALUE("1/1/09"),--(A2:A1000<DATEVALUE("8/1/09"),M2:M1000)


=sumif(

"Dhardy" wrote:

I am trying to have Excel sum data in column €œM€ if data in column €œA€ is a
certain date range. Any tips/advice?

  #13   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Sum data if dates in a column are w/in a specific range

I want to sum B1, with date (constant e.g. DATEVALUE ("1/1/09"), no start
and end) IN A1. Any advice is appreciated.

AB
1 1/1/09 10
2 1/2/09 20
3 1/1/09 10
4 1/3/09 15
5

If i can find a way to sum and return values in A5 to equal 20 (1/1/09 is
10 + 10)

Thanks.
"Jacob Skaria" wrote:

With the start and end dates in C1 and D1 ;try the below formula

=SUMPRODUCT(--(A1:A100=C1),--(A1:A100<=D1),M1:M100)

If this post helps click Yes
---------------
Jacob Skaria


"Dhardy" wrote:

I am trying to have Excel sum data in column €œM€ if data in column €œA€ is a
certain date range. Any tips/advice?

  #14   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Sum data if dates in a column are w/in a specific range

I suggest you use C1 to put the date you are interested in, and then
in D1 you can have ths formula:

=SUMIF(A:A,C1,B:B)

This way your data can be as long as you like in columns A and B.

Hope this helps.

Pete

On Aug 13, 8:06*pm, lexmarcos
wrote:
I want to sum B1, with date *(constant e.g. DATEVALUE ("1/1/09"), no start
and end) IN A1. Any advice is appreciated.

AB
1 1/1/09 10
2 1/2/09 20
3 1/1/09 10
4 1/3/09 15
5

If i can find a way to sum and return values *in A5 to equal 20 (1/1/09 is
10 + 10)

Thanks.



"Jacob Skaria" wrote:
With the start and end dates in C1 and D1 ;try the below formula


=SUMPRODUCT(--(A1:A100=C1),--(A1:A100<=D1),M1:M100)


If this post helps click Yes
---------------
Jacob Skaria


"Dhardy" wrote:


I am trying to have Excel sum data in column “M” if data in column “A” is a
certain date range. Any tips/advice?- Hide quoted text -


- Show quoted text -


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
Counting records in a column range occuring between specific dates Jeremy Prosser New Users to Excel 4 January 24th 09 04:14 AM
Multiplying specific data within a range to get column totals MsChief Excel Worksheet Functions 2 March 30th 07 04:44 AM
Defining Range within Specific Dates Cardan Excel Worksheet Functions 0 July 26th 06 08:17 PM
Using a range of dates to add data in a different column? Outraged Excel Worksheet Functions 1 February 13th 06 04:33 PM
Using a range of dates to add data in a different column? Outraged Excel Worksheet Functions 2 February 13th 06 02:06 PM


All times are GMT +1. The time now is 08:51 AM.

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"