Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
RobPot
 
Posts: n/a
Default COUNTIF / SUM problem


Hi all,
I’m trying to sort a large amount of data where over a year events
occur a given period (fortnight) but that event is not necessarily
input within the given period.

This formula gives me all of the events where C5 contains the start
date of the period, D5 contains the end date of the period, and the
‘DATE’ range contains the actual event date:

{=SUM(('D District Date Sort 2003-4.xls'!Date=$C5)*('D District Date
Sort 2003-4.xls'!Date<=$D5)}

What I thought I could do if have another condition *('D District Date
Sort 2003-4.xls'!Date_Entered$D5)) where ‘Date_Entered’ range is when
the event was input onto the system – but it doesn’t work!

Any ideas please?

Thanks

Robert


--
RobPot
------------------------------------------------------------------------
RobPot's Profile: http://www.excelforum.com/member.php...o&userid=18721
View this thread: http://www.excelforum.com/showthread...hreadid=390876

  #2   Report Post  
Richard Buttrey
 
Posts: n/a
Default

On Thu, 28 Jul 2005 04:26:05 -0500, RobPot
wrote:


Hi all,
I’m trying to sort a large amount of data where over a year events
occur a given period (fortnight) but that event is not necessarily
input within the given period.

This formula gives me all of the events where C5 contains the start
date of the period, D5 contains the end date of the period, and the
‘DATE’ range contains the actual event date:

{=SUM(('D District Date Sort 2003-4.xls'!Date=$C5)*('D District Date
Sort 2003-4.xls'!Date<=$D5)}

What I thought I could do if have another condition *('D District Date
Sort 2003-4.xls'!Date_Entered$D5)) where ‘Date_Entered’ range is when
the event was input onto the system – but it doesn’t work!

Any ideas please?

Thanks

Robert


Does it result in an error, or an just a wrong value?



__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
  #3   Report Post  
RobPot
 
Posts: n/a
Default


Well done Richard!

I think it does work - my 'Date_Entered' range was incorrect.

Thanks for that!


--
RobPot
------------------------------------------------------------------------
RobPot's Profile: http://www.excelforum.com/member.php...o&userid=18721
View this thread: http://www.excelforum.com/showthread...hreadid=390876

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
COUNTIF and automatic type conversion problem joes Excel Discussion (Misc queries) 2 July 25th 05 03:26 PM
COUNTIF and automatic type conversion problem joes Excel Worksheet Functions 2 July 25th 05 03:26 PM
COUNTIF Problem Eaglered Excel Discussion (Misc queries) 1 May 23rd 05 06:20 PM
countif problem WYN Excel Discussion (Misc queries) 4 April 25th 05 04:28 PM
COUNTIF or SUMIF Problem s boak Excel Discussion (Misc queries) 4 March 24th 05 02:45 PM


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