Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default conditional formula based on dates

Hi,

You can also use either of the following:

1. DSUM function. Please read up on this in Excel's Help menu;
2. =SUM(IF((A2:A200=start_date)*(A2:A200<=start_date ),B2:B100)). This is
an array formula - so please use a Ctrl+Shift+Enter.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"filups" wrote in message
...
I would like to write a formula that adds numbers between certain dates.
Lets say I have this worksheet:

A B
01-01-08 5
01-02-08 7
......
11-28-08 3
11-29-08 11

In another worksheet, I would like to be able to type in two dates , and
have excel look back at the original worksheet and add all the values in
column B between the two dates listed. Is that possible?

The date ranges will be added anyway, so using them to do the formula
would
be much easier than going back and highlighting the data range every time.



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
sumif formula based on dates linnipen Excel Worksheet Functions 2 September 24th 08 11:10 PM
Array formula based on text and dates.. GD Excel Discussion (Misc queries) 3 January 16th 08 01:39 PM
formula for specific dates based on another date in worksheet Carol Excel Discussion (Misc queries) 6 August 1st 06 11:05 AM
Need help with a formula for calculating based on a rage of dates djeans Excel Discussion (Misc queries) 7 July 2nd 05 09:06 PM
formula to calculate a column based on dates in a different colum. Pam Excel Worksheet Functions 1 April 7th 05 07:59 PM


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