+ Reply to Thread
Results 1 to 3 of 3

Thread: Countif formula with multiple criteria ie >30 and <60?

  1. #1
    Dali
    Guest

    Countif formula with multiple criteria ie >30 and <60?

    What is the syntax for writing a CountIf formula to find items that are >30
    and <60 from a range of numbers?

    I tried =COUNTIF(Days_to_Process_Query!$D$2:$D$20840,">60 and <=90") and it
    doesn't work.

  2. #2
    Don Guillett
    Guest

    Re: Countif formula with multiple criteria ie >30 and <60?

    You can use 2 countifs or
    =sumproduct((rnga>60)*(rngA<=90))

    --
    Don Guillett
    SalesAid Software
    donaldb@281.com
    "Dali" <Dali@discussions.microsoft.com> wrote in message
    news:5B22E5DF-E9EF-4E81-AC3B-5A86FBBF9451@microsoft.com...
    > What is the syntax for writing a CountIf formula to find items that are
    >30
    > and <60 from a range of numbers?
    >
    > I tried =COUNTIF(Days_to_Process_Query!$D$2:$D$20840,">60 and <=90") and

    it
    > doesn't work.




  3. #3
    Dave R.
    Guest

    Re: Countif formula with multiple criteria ie >30 and <60?

    The numbers in your sentence don't match those in the formula, but one way
    is to count the number greater than 30 then subtract the number greater than
    60.

    =COUNTIF(A1:A100,">30")-COUNTIF(A1:A100,">60")


    "Dali" <Dali@discussions.microsoft.com> wrote in message
    news:5B22E5DF-E9EF-4E81-AC3B-5A86FBBF9451@microsoft.com...
    > What is the syntax for writing a CountIf formula to find items that are
    >30
    > and <60 from a range of numbers?
    >
    > I tried =COUNTIF(Days_to_Process_Query!$D$2:$D$20840,">60 and <=90") and

    it
    > doesn't work.




+ 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.2.0