Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jerry W
 
Posts: n/a
Default count an entry if ????

I know this has probably been addressed but cant locate my specific issue:
I would like to count entries in columns b & c that meet criteria in column
a. Here is an example:
Date Cash Check
01/19/05 2.00
01/19/05 5.00
01/19/05 5.00
01/19/05 3.00
02/28/05 1.00
02/28/05 2.00

What formula would give these counts as the end result?:
01/19/05 2 2
02/28/05 1 1
Thanks - Jerry
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($B$1:$B$1000))

and

=SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($C$1:$C$1000))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jerry W" wrote in message
...
I know this has probably been addressed but cant locate my specific issue:
I would like to count entries in columns b & c that meet criteria in

column
a. Here is an example:
Date Cash Check
01/19/05 2.00
01/19/05 5.00
01/19/05 5.00
01/19/05 3.00
02/28/05 1.00
02/28/05 2.00

What formula would give these counts as the end result?:
01/19/05 2 2
02/28/05 1 1
Thanks - Jerry



  #3   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

=SUMPRODUCT(--(DateRange=Date),--ISNUMBER(CashRange))

=SUMPRODUCT(--(DateRange=Date),--ISNUMBER(CheckRange))

Ranges cannot refer to whole columns like A:A in this type of formula.

Jerry W wrote:
I know this has probably been addressed but cant locate my specific issue:
I would like to count entries in columns b & c that meet criteria in column
a. Here is an example:
Date Cash Check
01/19/05 2.00
01/19/05 5.00
01/19/05 5.00
01/19/05 3.00
02/28/05 1.00
02/28/05 2.00

What formula would give these counts as the end result?:
01/19/05 2 2
02/28/05 1 1
Thanks - Jerry

  #4   Report Post  
Jerry W
 
Posts: n/a
Default

Bob - Thanks for the quick reply. Sorry, I did not mention the entries in b
& c are derived from formulas themselves. Your formula is working except it
is counting the formula (I think) within the counted cell so I am coming up
with a count of 4 instead of 2.

"Bob Phillips" wrote:

=SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($B$1:$B$1000))

and

=SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($C$1:$C$1000))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jerry W" wrote in message
...
I know this has probably been addressed but cant locate my specific issue:
I would like to count entries in columns b & c that meet criteria in

column
a. Here is an example:
Date Cash Check
01/19/05 2.00
01/19/05 5.00
01/19/05 5.00
01/19/05 3.00
02/28/05 1.00
02/28/05 2.00

What formula would give these counts as the end result?:
01/19/05 2 2
02/28/05 1 1
Thanks - Jerry




  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

Jerry,

Try this then

=SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--(ISNUMBER($B$1:$B$100)))

and

=SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--(ISNUMBER($C$1:$C$100)))

as Aladin also suggested.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jerry W" wrote in message
...
Bob - Thanks for the quick reply. Sorry, I did not mention the entries in

b
& c are derived from formulas themselves. Your formula is working except

it
is counting the formula (I think) within the counted cell so I am coming

up
with a count of 4 instead of 2.

"Bob Phillips" wrote:

=SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($B$1:$B$1000))

and

=SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($C$1:$C$1000))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jerry W" wrote in message
...
I know this has probably been addressed but cant locate my specific

issue:
I would like to count entries in columns b & c that meet criteria in

column
a. Here is an example:
Date Cash Check
01/19/05 2.00
01/19/05 5.00
01/19/05 5.00
01/19/05 3.00
02/28/05 1.00
02/28/05 2.00

What formula would give these counts as the end result?:
01/19/05 2 2
02/28/05 1 1
Thanks - Jerry








  #6   Report Post  
Jerry W
 
Posts: n/a
Default

PERFECTOMUNDO!!!
=SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--(ISNUMBER($B$1:$B$100))) worked
just fine. Thank you so much...Jerrry W - Safety Harbor, FL

"Bob Phillips" wrote:

Jerry,

Try this then

=SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--(ISNUMBER($B$1:$B$100)))

and

=SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--(ISNUMBER($C$1:$C$100)))

as Aladin also suggested.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jerry W" wrote in message
...
Bob - Thanks for the quick reply. Sorry, I did not mention the entries in

b
& c are derived from formulas themselves. Your formula is working except

it
is counting the formula (I think) within the counted cell so I am coming

up
with a count of 4 instead of 2.

"Bob Phillips" wrote:

=SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($B$1:$B$1000))

and

=SUMPRODUCT(--($A$1:$A$100=--"2005-01-19"),--($C$1:$C$1000))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jerry W" wrote in message
...
I know this has probably been addressed but cant locate my specific

issue:
I would like to count entries in columns b & c that meet criteria in
column
a. Here is an example:
Date Cash Check
01/19/05 2.00
01/19/05 5.00
01/19/05 5.00
01/19/05 3.00
02/28/05 1.00
02/28/05 2.00

What formula would give these counts as the end result?:
01/19/05 2 2
02/28/05 1 1
Thanks - Jerry






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
Match Last Occurrence of two numbers and Count to Previous Occurence Sam via OfficeKB.com Excel Worksheet Functions 33 April 4th 05 02:17 PM
Filter Count of Records Retrieved. amkazen Excel Discussion (Misc queries) 2 March 31st 05 10:03 PM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM
Count number to reach a cumulative value Bruce Excel Worksheet Functions 5 January 25th 05 05:14 PM
How to you count cells that contain any entry? Robin C Excel Discussion (Misc queries) 3 January 16th 05 02:25 AM


All times are GMT +1. The time now is 02:54 PM.

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"