Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Sum within date span

I have a date column (C) and another column (D) with a numerical value.
I want to get a sum of all the values in column D for all entries in
the last 6 months.

Any suggestions on how I can accomplish that?

Jim

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Sum within date span

Possibly

=SUMIF(C:C,""&DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY())),D:D)

--
Regards,
Tom Ogilvy




wrote in message
oups.com...
I have a date column (C) and another column (D) with a numerical value.
I want to get a sum of all the values in column D for all entries in
the last 6 months.

Any suggestions on how I can accomplish that?

Jim



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default Sum within date span

In your reply, you stated the following:

=SUMIF(C:C,""&DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY())),D:D)

IT WORKS PERFECTLY.

There are 2 items I do NOT understand.

1) the C:C and D:D references (although I can figure it out) and

2) The use of "&" -- the ambersand.

Thank you,

FLKulchar


"Tom Ogilvy" wrote:

Possibly

=SUMIF(C:C,""&DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY())),D:D)

--
Regards,
Tom Ogilvy




wrote in message
oups.com...
I have a date column (C) and another column (D) with a numerical value.
I want to get a sum of all the values in column D for all entries in
the last 6 months.

Any suggestions on how I can accomplish that?

Jim




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Sum within date span

see response in other thread.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"F. Lawrence Kulchar" wrote in
message ...
In your reply, you stated the following:

=SUMIF(C:C,""&DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY())),D:D)

IT WORKS PERFECTLY.

There are 2 items I do NOT understand.

1) the C:C and D:D references (although I can figure it out) and

2) The use of "&" -- the ambersand.

Thank you,

FLKulchar


"Tom Ogilvy" wrote:

Possibly

=SUMIF(C:C,""&DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY())),D:D)

--
Regards,
Tom Ogilvy




wrote in message
oups.com...
I have a date column (C) and another column (D) with a numerical value.
I want to get a sum of all the values in column D for all entries in
the last 6 months.

Any suggestions on how I can accomplish that?

Jim






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
Graph over a time span daisy Charts and Charting in Excel 1 April 14th 10 06:24 PM
Time Span calculations Jafferi[_2_] Excel Worksheet Functions 4 June 8th 09 05:43 AM
Count and/or sum data within a date span. JM Excel Worksheet Functions 5 May 5th 08 07:29 PM
Can I span a record (or row of information) over more than one row caramon2000 Excel Discussion (Misc queries) 6 October 10th 07 01:43 AM
Time Span mrbalaje Excel Discussion (Misc queries) 6 June 16th 05 11:34 PM


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