+ Reply to Thread
Results 1 to 2 of 2

Counting values between 70 and 140

  1. #1
    Erin
    Guest

    Counting values between 70 and 140

    I'm creating a worksheet that requires a function that counts the number of
    values between 70 and 140.

    I've tried =COUNTIF(U60:AM90,">70")-COUNTIF(U60:AM90,"<140") however this
    duplicate counts the over 70 group.

    Any help would be appreciated!
    Erin

  2. #2
    Govind
    Guest

    Re: Counting values between 70 and 140

    Hi,

    A simple change would fix this

    =COUNTIF(U60:AM90,">70")-COUNTIF(U60:AM90,">140")

    IN the first countif, you count everything above 70 (which would also
    include values above 140) and in second countit you reduce the values
    which are above 140. so the net result is values between 70 and 140.

    Regards

    Govind.

    Erin wrote:
    > I'm creating a worksheet that requires a function that counts the number of
    > values between 70 and 140.
    >
    > I've tried =COUNTIF(U60:AM90,">70")-COUNTIF(U60:AM90,"<140") however this
    > duplicate counts the over 70 group.
    >
    > Any help would be appreciated!
    > Erin


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1