#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 53
Default Date Range

I have a list of Sales (column A) and a list of closing dates (Column B). On
a separate sheet, I have a summary page showing total sales closing within
30day,then 60days then 90days.

I was going to use the Sumif functions =sumif(B1:B1000, criteria, A1:A1000)
but I can't figure out the criteria formula for each of the 3 periods.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Date Range

Use something like this:

=SUMIF(B1:B1000,"<="&TODAY()+30,A1:A1000) - SUMIF(B1:B1000,"<"&TODAY
(),A1:A1000)

The first term sums all the sales up to 30 days away, and the second
term (subtracted from this) is all the sales before today.

Just change the 30 to 60 or 90 for your other date ranges.

Hope this helps.

Pete

On Aug 21, 1:20*am, JeffK wrote:
I have a list of Sales (column A) and a list of closing dates (Column B). *On
a separate sheet, I have a summary page showing total sales closing within
30day,then 60days then 90days.

I was going to use the Sumif functions =sumif(B1:B1000, criteria, A1:A1000)
but I can't figure out the criteria formula for each of the 3 periods.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Date Range

Suppose your summary sheet has got Start date and end date and in ColC you
need the totoal between..try the below formula
Col A Col B Col C
8/21/2009 8/23/2009 =

=SUMPRODUCT(--(Sheet1!B1:B1000=A1),--(Sheet1!B1:B1000<=B1),Sheet1!A1:A1000)

Sheet1 cols A and B contains the data

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


"Pete_UK" wrote:

Use something like this:

=SUMIF(B1:B1000,"<="&TODAY()+30,A1:A1000) - SUMIF(B1:B1000,"<"&TODAY
(),A1:A1000)

The first term sums all the sales up to 30 days away, and the second
term (subtracted from this) is all the sales before today.

Just change the 30 to 60 or 90 for your other date ranges.

Hope this helps.

Pete

On Aug 21, 1:20 am, JeffK wrote:
I have a list of Sales (column A) and a list of closing dates (Column B). On
a separate sheet, I have a summary page showing total sales closing within
30day,then 60days then 90days.

I was going to use the Sumif functions =sumif(B1:B1000, criteria, A1:A1000)
but I can't figure out the criteria formula for each of the 3 periods.



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
Find Last cell in Range when range is date format default105 Excel Discussion (Misc queries) 5 July 7th 09 03:11 PM
Sum If range of dates date range, sum totals Stilmovin Excel Worksheet Functions 7 December 16th 08 05:49 PM
Create a formula in a date range to locate a specific date - ecel util Excel Discussion (Misc queries) 0 February 19th 07 03:03 PM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Discussion (Misc queries) 1 April 20th 06 10:03 PM
How to count dates within a certain range in a column with mutiple date range entries Krisjhn Excel Worksheet Functions 2 September 1st 05 01:59 PM


All times are GMT +1. The time now is 08:03 PM.

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"