A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

COUNT BETWEEN A SPECIFIC DATE RANGE



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old June 2nd, 2010, 02:49 PM posted to microsoft.public.excel.misc
Dave
external usenet poster
 
Posts: 2,331
Default COUNT BETWEEN A SPECIFIC DATE RANGE

Hi. Our yearly calendar runs from 01/11 - 31/10 every year.

I have a spreadsheet that contains dates from 01/11/2006 onwards in column
a. I would like to be able to mark the dates that are in the year to a date
shown on another spreadsheet.

So....if the date shown is 25/04/2007, I would like to be able to mark each
row with a date between 01/11/2006 and the 25/04/2007. If the date shown is
25/04/2007, then each row with a date from 01/11/2007 to 25/04/2007 and so on.

I know this is quite complicated and have tried to think of a practical
solution but to no avail. If anyone can help it would be really appreciated.
This is an example of the formula i am using at the moment:

=IF(AND(M2=DateCell,M2=DATE(YEAR(DateCell)-1,MONTH(DateCell),DAY(DateCell))),"Yes","No")

Thanks
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:06 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.