Re: A question about the Count/CountIf function



Hi Carl

Try
=SUMPRODUCT(($A$1:$A$100="ABC")*($B$1:$B$100<1)*($C$1:$C$100>200))
Change ranges to suit, but ensure that they are of equal length.
--
Regards

Roger Govier


"carl" <carl@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:81B41734-BA5D-4D1C-A591-F30E4854CB7F@xxxxxxxxxxxxxxxx
I have a counting question.

I have some columns that have codes and numbers in them and want to
count
the amount of times that they appear in that specific column. That is
easy.
But I also have other data in other columns that I want the count
function to
refer to. So I have one column with codes in (e.g. ABC and DEF) and I
have
another column with weights in (e.g 0.7 and 1.4). I want to create a
function that counts how many times ABC appears when it weighs less
than 1.0.
Can I do this?

Also, can I expand the function further. For example I have another
column
with length in it (e.g 120 and 340). Can I have a function that
counts the
amount of times that ABC appears when it weighs less than 1.0 and is
longer
that 200?


.



Relevant Pages

  • Re: Bye bye Miss American Pie...the levee wasnt dry!
    ... regulations and codes. ... My own homeowner's policy automatically escalates in payoff amount ... Our policy has the extended replacement cost and code upgrade items as part ...
    (alt.usage.english)
  • Re: Looking up a value within a range of 3 letter or number codes
    ... correct West or East designation if I were looking for the code "500". ... if the formula was looking in the range for the code "ABC" and it ... Any thoughts on how to make the formula work with both 3 character codes ... if whatever is in the cell B3 is ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Bye bye Miss American Pie...the levee wasnt dry!
    ... > regulations and codes. ... > My own homeowner's policy automatically escalates in payoff amount ... also a separate rider on our insurance. ...
    (alt.usage.english)
  • Re: Insert Column after specific text title the new column and add
    ... Thank you for taking the time and writting the codes, ... however it could be as simple as +the value in amount column/1000. ... Dim FoundCell As Range ... Dim myStr As String ...
    (microsoft.public.excel.misc)
  • Open form on two criteria
    ... I have a form that contains an amount field and a combo box which has three ... For example i have three codes... ... selection of expression builder, code ...
    (microsoft.public.access.formscoding)

Quantcast