Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kevbro7189
 
Posts: n/a
Default How do I add items within the last 12 months?

I want to add up numbers that only happened within the last 12 months from
the current date. I do have a column with the date I want to reference to.


  #2   Report Post  
Domenic
 
Posts: n/a
Default How do I add items within the last 12 months?

Assuming that Column A contains the date, and Column B contains the
numbers, try...

=SUMIF(A1:A100,"="&TODAY()-365,B1:B100)

Hope this helps!

In article ,
"Kevbro7189" wrote:

I want to add up numbers that only happened within the last 12 months from
the current date. I do have a column with the date I want to reference to.

  #3   Report Post  
bpeltzer
 
Posts: n/a
Default How do I add items within the last 12 months?

If the figures to conditionally add are in column B, and the dates are in A,
=SUMIF(A:A,"=" & TODAY()-365,B:B) would add up all the values from the past
366 days (including the current day). Use that anywhere except in columns A
or B (in A or B you'll get a circular reference).

"Kevbro7189" wrote:

I want to add up numbers that only happened within the last 12 months from
the current date. I do have a column with the date I want to reference to.


  #4   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default How do I add items within the last 12 months?

On Tue, 18 Oct 2005 17:42:02 -0700, "Kevbro7189"
wrote:

I want to add up numbers that only happened within the last 12 months from
the current date. I do have a column with the date I want to reference to.


If your column of dates is named "dates" and your column of numbers is named
"numbers" then:

A1: StartDate of period of interest
A2: EndDate of period of interest

=SUMIF(dates,"="&A1,numbers) - SUMIF(dates,""&A2,numbers)

should do it.


--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
Calculating Dates in Terms of Months Jessica Excel Worksheet Functions 4 September 20th 05 06:35 PM
months between 2 dates!!! speary Excel Discussion (Misc queries) 1 August 19th 05 03:22 PM
Why "datedif" function results sometimes negative numbers? Ambrosiy Excel Worksheet Functions 1 July 8th 05 11:29 AM
How do i change 15 months to read 1 year and 3 months? Marty Excel Discussion (Misc queries) 1 February 17th 05 11:21 PM
Pivot Table - Group by Month - Show Items with no data Dan Reynolds Excel Discussion (Misc queries) 0 November 28th 04 01:01 AM


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