Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 53
Default Count function for multip criterian

I am having problems trying to create an equation to count the number of
instances a certain situation occurs. It is quite complicated and have been
unable to find any working answers when searching the forums or even when
using the live microsoft chat help.

In my table I am monitoring the progress of reports. The report is sent to
an affiliate and they return a set tracking form to say whether they have
submitted it or not. I have the added problem that I am working with
government regulations, so as this table will be featured in a report of it's
own, I cannot change the layout of the table.

The 3 relevant colunms include;
A - date (if the report is submitted),
B - "x" if the report is not submitted, (it is left blank if unknown or
if it has been submitted)
C - "x" if we have not received the tracking sheet (also left blank if
otherwise)

It can occur that we know through a another source (eg email) that the
report has been submitted or not even though we have received no tracking
form.
Eg - Column A would contain a date, and Colum C would have a "x" (did not
received tracking sheet but report was submitted)
- Column B would contain an "x" and column C would contain an "x" (did
not received tracking sheet but report was not submitted)

So I need to count the number of times situations like this have occured. I
have tried all sorts of functions such as COUNTA, SUMPRODUCT, etc and
obviously I have the wrong idea.

I hope this is clear
I would really appreciate some help with this as it has already swallowed a
lot of my time!
Thank you in advance

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Count function for multip criterian

To count how many times you have an X in both B and C
=SUMPRODUCT(--(B1:B100="x"),--(C1:C100="x"))
To count how many times you have an X in C and B is blank
=SUMPRODUCT(--(B1:B100=""),--(C1:C100="x"))

Unless you have Excel 2007 do NOT use full column references as in
=SUMPRODUCT(--(B:B="x"),--(C:C="x"))

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Joanne" wrote in message
...
I am having problems trying to create an equation to count the number of
instances a certain situation occurs. It is quite complicated and have
been
unable to find any working answers when searching the forums or even when
using the live microsoft chat help.

In my table I am monitoring the progress of reports. The report is sent to
an affiliate and they return a set tracking form to say whether they have
submitted it or not. I have the added problem that I am working with
government regulations, so as this table will be featured in a report of
it's
own, I cannot change the layout of the table.

The 3 relevant colunms include;
A - date (if the report is submitted),
B - "x" if the report is not submitted, (it is left blank if unknown
or
if it has been submitted)
C - "x" if we have not received the tracking sheet (also left blank if
otherwise)

It can occur that we know through a another source (eg email) that the
report has been submitted or not even though we have received no tracking
form.
Eg - Column A would contain a date, and Colum C would have a "x" (did not
received tracking sheet but report was submitted)
- Column B would contain an "x" and column C would contain an "x"
(did
not received tracking sheet but report was not submitted)

So I need to count the number of times situations like this have occured.
I
have tried all sorts of functions such as COUNTA, SUMPRODUCT, etc and
obviously I have the wrong idea.

I hope this is clear
I would really appreciate some help with this as it has already swallowed
a
lot of my time!
Thank you in advance



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Count function for multip criterian

Hi Joanne, first check enter

=SUMPRODUCT(--(A1:A11<""),--(C1:C11="x"))

2nd formula


=SUMPRODUCT(--(B1:B6="x"),--(C1:C6="x"))

Change the range to your needs


"Joanne" wrote:

I am having problems trying to create an equation to count the number of
instances a certain situation occurs. It is quite complicated and have been
unable to find any working answers when searching the forums or even when
using the live microsoft chat help.

In my table I am monitoring the progress of reports. The report is sent to
an affiliate and they return a set tracking form to say whether they have
submitted it or not. I have the added problem that I am working with
government regulations, so as this table will be featured in a report of it's
own, I cannot change the layout of the table.

The 3 relevant colunms include;
A - date (if the report is submitted),
B - "x" if the report is not submitted, (it is left blank if unknown or
if it has been submitted)
C - "x" if we have not received the tracking sheet (also left blank if
otherwise)

It can occur that we know through a another source (eg email) that the
report has been submitted or not even though we have received no tracking
form.
Eg - Column A would contain a date, and Colum C would have a "x" (did not
received tracking sheet but report was submitted)
- Column B would contain an "x" and column C would contain an "x" (did
not received tracking sheet but report was not submitted)

So I need to count the number of times situations like this have occured. I
have tried all sorts of functions such as COUNTA, SUMPRODUCT, etc and
obviously I have the wrong idea.

I hope this is clear
I would really appreciate some help with this as it has already swallowed a
lot of my time!
Thank you in advance

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 53
Default Count function for multip criterian

Thank you that was very usefull. Is there a way to combine the two into one
equation or is that over complicating things?

"Eduardo" wrote:

Hi Joanne, first check enter

=SUMPRODUCT(--(A1:A11<""),--(C1:C11="x"))

2nd formula


=SUMPRODUCT(--(B1:B6="x"),--(C1:C6="x"))

Change the range to your needs


"Joanne" wrote:

I am having problems trying to create an equation to count the number of
instances a certain situation occurs. It is quite complicated and have been
unable to find any working answers when searching the forums or even when
using the live microsoft chat help.

In my table I am monitoring the progress of reports. The report is sent to
an affiliate and they return a set tracking form to say whether they have
submitted it or not. I have the added problem that I am working with
government regulations, so as this table will be featured in a report of it's
own, I cannot change the layout of the table.

The 3 relevant colunms include;
A - date (if the report is submitted),
B - "x" if the report is not submitted, (it is left blank if unknown or
if it has been submitted)
C - "x" if we have not received the tracking sheet (also left blank if
otherwise)

It can occur that we know through a another source (eg email) that the
report has been submitted or not even though we have received no tracking
form.
Eg - Column A would contain a date, and Colum C would have a "x" (did not
received tracking sheet but report was submitted)
- Column B would contain an "x" and column C would contain an "x" (did
not received tracking sheet but report was not submitted)

So I need to count the number of times situations like this have occured. I
have tried all sorts of functions such as COUNTA, SUMPRODUCT, etc and
obviously I have the wrong idea.

I hope this is clear
I would really appreciate some help with this as it has already swallowed a
lot of my time!
Thank you in advance

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Count function for multip criterian

Hi Joanne,
if the answer was helpfull could you please rate it on the left bottom
corner thank you

"Joanne" wrote:

Thank you that was very usefull. Is there a way to combine the two into one
equation or is that over complicating things?

"Eduardo" wrote:

Hi Joanne, first check enter

=SUMPRODUCT(--(A1:A11<""),--(C1:C11="x"))

2nd formula


=SUMPRODUCT(--(B1:B6="x"),--(C1:C6="x"))

Change the range to your needs


"Joanne" wrote:

I am having problems trying to create an equation to count the number of
instances a certain situation occurs. It is quite complicated and have been
unable to find any working answers when searching the forums or even when
using the live microsoft chat help.

In my table I am monitoring the progress of reports. The report is sent to
an affiliate and they return a set tracking form to say whether they have
submitted it or not. I have the added problem that I am working with
government regulations, so as this table will be featured in a report of it's
own, I cannot change the layout of the table.

The 3 relevant colunms include;
A - date (if the report is submitted),
B - "x" if the report is not submitted, (it is left blank if unknown or
if it has been submitted)
C - "x" if we have not received the tracking sheet (also left blank if
otherwise)

It can occur that we know through a another source (eg email) that the
report has been submitted or not even though we have received no tracking
form.
Eg - Column A would contain a date, and Colum C would have a "x" (did not
received tracking sheet but report was submitted)
- Column B would contain an "x" and column C would contain an "x" (did
not received tracking sheet but report was not submitted)

So I need to count the number of times situations like this have occured. I
have tried all sorts of functions such as COUNTA, SUMPRODUCT, etc and
obviously I have the wrong idea.

I hope this is clear
I would really appreciate some help with this as it has already swallowed a
lot of my time!
Thank you in advance

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
Count Function Mickey Excel Worksheet Functions 5 November 12th 08 11:55 PM
COUNT FUNCTION? Zakynthos Excel Worksheet Functions 5 May 9th 08 03:14 PM
Criterian Range taking value from another cell Shrikant Excel Discussion (Misc queries) 0 November 7th 07 09:52 AM
Can I use a lookup function that pulls referenced cells in multip. SBB Excel Worksheet Functions 0 June 20th 06 04:46 PM
using the count function barklek Excel Discussion (Misc queries) 3 August 22nd 05 01:00 PM


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