Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Count If Statement Using Dates

I want to check a spreadsheet and count the cell based on dates. If the date
in the cell is less than 7 days before today then count. Then another count
if for if the date is 8 to 30 days before today. Any suggestions would be
greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Count If Statement Using Dates

try
=sum(if(today()-range<7,1,0)) entered as an array control-shift-enter
and
=sum(and(today()-range7,today()-range<=30,1,0)entered as array

what happens when it is 7 days exactly? you may need to add an = to one of
the equations

"Chris O''''Neill" wrote:

I want to check a spreadsheet and count the cell based on dates. If the date
in the cell is less than 7 days before today then count. Then another count
if for if the date is 8 to 30 days before today. Any suggestions would be
greatly appreciated.

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
If statement with dates Vivian H. New Users to Excel 5 September 14th 06 08:27 AM
IF statement with two dates jbormann Excel Discussion (Misc queries) 2 July 18th 06 05:32 PM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 PM
Help with Count IF Statement [email protected] Excel Discussion (Misc queries) 3 November 3rd 05 09:02 AM
count if statement NYDIA Excel Discussion (Misc queries) 4 February 1st 05 09:30 PM


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