Ron,
Using the formula you and others supplied, my count is 181.
Using =COUNTIF(F2:F276,3) I also get 181.
There are a toatal of 115 rows that have both a 3 in column F and a number
greater than zero in Q.
There are 66 rows that have a 3 in column F and a zero or negative # in
column Q.
Another strange thing: I put an auto filter on the spreadsheet and filtered
column F to pull up all the "3"s. =181.
Then I tried a custom filter on column Q to show everything greater than 0.
No result. ...when there is actually 115 lines.
"Ron Rosenfeld" wrote:
On Wed, 24 Aug 2005 09:39:04 -0700, Lucien
wrote:
All of the formula help from every one has been great. However, I am not
getting the correct answer based on the data. Maybe it is in my explanation
of what I need.
I want to search through F2:F276 for any cell that contains a 3.
Let's say that identifies 50 cells.
Then, from only those 50 cells, which of them have a qty 0 in column Q.
I want it to count the number of occurrences that this happens in one formula.
I apologize for any confusion I have caused and at the same time appreciate
the help received so far.
That is exactly what the formula I supplied (and some of the others) will do.
What do you get as a result if you use my formula?
What do you get if you use the formula =COUNTIF(F2:F276,3) ?
If you get the same results, can you identify a row which has a 3 in column F
and a 0 or negative number in column Q?
"Ron Rosenfeld" wrote:
On Tue, 23 Aug 2005 14:45:45 -0700, Lucien
wrote:
I have a large spreadsheet that includes the following detail.
Column F has numerical values of either 1, 2, or 3 ranging from F2:F276.
Column Q has varying numerical values ranging from Q2:Q276.
I need one formula to count with this criteria:
Column F is 3 and
Column Q 0
So, I need it to count how many occurrences a line has both, a "3" in column
F and, the qty in column Q is greater than zero.
Any help would be greatly appreciated.
=SUMPRODUCT((F2:F276=3)*(Q2:Q2760))
--ron
--ron
|