Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Help required for "between" dates formula

Hi

I have a column of dates in my spreadsheet database and I am trying to
extract data for each month. In an Access database the formula "between"
can be used, however, not in Excel. Could anyone help with this formaula
please such as,

COUNTIF(Date from & to, A2)

Thankyou for your anticiapted help.

Dave T


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Help required for "between" dates formula


Try something like this

Just change your range. Also you can swap the dates I put in to look at
a cell ref.

=SUMPRODUCT(--($A$19:$A$27=--"01/07/2006"),--($A$19:$A$27<=--"31/07/2006"))

More help can be found on

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=568725

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Help required for "between" dates formula

Many thanks
Dave T

"VBA Noob" wrote in
message ...

Try something like this

Just change your range. Also you can swap the dates I put in to look at
a cell ref.

=SUMPRODUCT(--($A$19:$A$27=--"01/07/2006"),--($A$19:$A$27<=--"31/07/2006"))

More help can be found on

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile:
http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=568725



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Help required for "between" dates formula

On Sun, 06 Aug 2006 08:42:58 GMT, "Dave T" wrote:

Hi

I have a column of dates in my spreadsheet database and I am trying to
extract data for each month. In an Access database the formula "between"
can be used, however, not in Excel. Could anyone help with this formaula
please such as,

COUNTIF(Date from & to, A2)

Thankyou for your anticiapted help.

Dave T


One way, using COUNTIF:

=COUNTIF(range,"="&start_date) - COUNTIF(range,""&end_date)


--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
formula for specific dates based on another date in worksheet Carol Excel Discussion (Misc queries) 6 August 1st 06 11:05 AM
How Do I Add Dates in a formula? Rogue Excel Worksheet Functions 3 January 9th 06 07:12 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Formula including dates R L Sandel Excel Worksheet Functions 2 May 25th 05 12:30 PM
Rate of return required formula Alorasdad Excel Worksheet Functions 1 November 18th 04 03:14 AM


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