Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Baltimore, MD, Maryland, USA
    Posts
    254
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Countif forcomparing values in 2 columns (XL 97 SR2)

    Hi Gang:
    I am sure that I had this one down but it seems that the model for it was in some files that I lost. Anyway, I have 2 columns of numbers and I want to count the number of rows where the value in Column A is less than the value in Column B.
    I have already spent too much time on this; so, if someone has the answer at hand, I would appreciate some help.
    Thanks
    Stephen

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Countif forcomparing values in 2 columns (XL 97 SR2)

    One approach is an array formula:

    {=SUM((A1:A100<B1:B100)*1)}

    Ctrl-Shift-Enter without the {}.
    -John ... I float in liquid gardens
    UTC -7ąDS

  3. #3
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Baltimore, MD, Maryland, USA
    Posts
    254
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Countif forcomparing values in 2 columns (XL 97 SR2)

    Hi John:
    Thanks so much. This is exactly what I need.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •