PC Review


Reply
Thread Tools Rate Thread

Countif with Conditions

 
 
=?Utf-8?B?R2FyeQ==?=
Guest
Posts: n/a
 
      12th Jun 2007
I need assistance with a formula that will count locations within a certain
radius on a certain date. Column A is the date, Column B is a location, and
Column C is miles away. The current formula which is not yielding any
results is as follows:

=SUMPRODUCT(($A$3:$A$286="4/3/2007")*($C$3:$C$286<=5))


Thanks,

Gary

 
Reply With Quote
 
 
 
 
Peo Sjoblom
Guest
Posts: n/a
 
      12th Jun 2007
Try


=SUMPRODUCT(($A$3:$A$286=--"4/3/2007")*($C$3:$C$286<=5))



--
Regards,

Peo Sjoblom



"Gary" <(E-Mail Removed)> wrote in message
news:36CDE8A5-2CB9-4EB9-A7DB-(E-Mail Removed)...
>I need assistance with a formula that will count locations within a certain
> radius on a certain date. Column A is the date, Column B is a location,
> and
> Column C is miles away. The current formula which is not yielding any
> results is as follows:
>
> =SUMPRODUCT(($A$3:$A$286="4/3/2007")*($C$3:$C$286<=5))
>
>
> Thanks,
>
> Gary
>



 
Reply With Quote
 
=?Utf-8?B?VG9wcGVycw==?=
Guest
Posts: n/a
 
      12th Jun 2007
try:

=SUMPRODUCT(($A$3:$A$286=DATEVALUE("4/3/2007"))*($C$3:$C$286<=5))

..... where is column B in the formula?

=SUMPRODUCT(($A$3:$A$286=DATEVALUE("4/3/2007"))*($B$3:$B$286=loc)*($C$3:$C$286<=5))

Better to put parameters in cells:

e.g. G1=Date
G2=Location
G3=Distance

=SUMPRODUCT(($A$3:$A$286=G1)*($B$3:$B$286=G2)*($C$3:$C$286<=G3))

HTH






"Gary" wrote:

> I need assistance with a formula that will count locations within a certain
> radius on a certain date. Column A is the date, Column B is a location, and
> Column C is miles away. The current formula which is not yielding any
> results is as follows:
>
> =SUMPRODUCT(($A$3:$A$286="4/3/2007")*($C$3:$C$286<=5))
>
>
> Thanks,
>
> Gary
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: COUNTIF With Conditions RoadKill Microsoft Excel Worksheet Functions 1 31st Oct 2008 01:15 AM
Countif Conditions - Use of conditions that vary by cell value JonTarg Microsoft Excel Misc 1 30th May 2008 01:21 PM
Countif with two different conditions =?Utf-8?B?Vmlja3k=?= Microsoft Excel Discussion 1 14th May 2006 10:53 AM
COUNTIF for 2 conditions =?Utf-8?B?QnJ1Y2U=?= Microsoft Excel Worksheet Functions 3 15th Jun 2005 09:59 AM
I Want To Use Countif With 2 Conditions JAYDE Microsoft Excel Worksheet Functions 1 10th Sep 2003 09:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:59 AM.