+ Reply to Thread
Results 1 to 4 of 4

countif followup

  1. #1
    Lee Harris
    Guest

    countif followup

    Sorry fellas,
    forgot to ask - how can you extend the counting to have limits specified in
    a cell,


    i.e. this won't work, but I need to vary the limit paramaters and see the
    results,
    =COUNTIF(A:A,"<B1")-COUNTIF(A:A,"<=C1")


    I knew I hadn't gone bonkers, got confused about what I was asking!



  2. #2
    Rowan Drummond
    Guest

    Re: countif followup

    Try

    =COUNTIF(A:A,"<"&B1)-COUNTIF(A:A,"<="&C1)

    Regards
    Rowan

    Lee Harris wrote:
    > Sorry fellas,
    > forgot to ask - how can you extend the counting to have limits specified in
    > a cell,
    >
    >
    > i.e. this won't work, but I need to vary the limit paramaters and see the
    > results,
    > =COUNTIF(A:A,"<B1")-COUNTIF(A:A,"<=C1")
    >
    >
    > I knew I hadn't gone bonkers, got confused about what I was asking!
    >
    >


  3. #3
    Lee Harris
    Guest

    Re: countif followup


    "Rowan Drummond" <rowanzsaNotThis@hotmail.com> wrote in message
    news:OflPbHn6FHA.4076@tk2msftngp13.phx.gbl...
    > Try
    >
    > =COUNTIF(A:A,"<"&B1)-COUNTIF(A:A,"<="&C1)
    >
    > Regards
    > Rowan


    oo, that's like a programming indirection - never seen that before, many
    thanks!


    >
    > Lee Harris wrote:
    >> Sorry fellas,
    >> forgot to ask - how can you extend the counting to have limits specified
    >> in a cell,
    >>
    >>
    >> i.e. this won't work, but I need to vary the limit paramaters and see the
    >> results,
    >> =COUNTIF(A:A,"<B1")-COUNTIF(A:A,"<=C1")
    >>
    >>
    >> I knew I hadn't gone bonkers, got confused about what I was asking!




  4. #4
    Rowan Drummond
    Guest

    Re: countif followup

    You're welcome. Not sure about a "programming indirection", I would
    probably have referred to it as a concatenation.

    Lee Harris wrote:
    > "Rowan Drummond" <rowanzsaNotThis@hotmail.com> wrote in message
    > news:OflPbHn6FHA.4076@tk2msftngp13.phx.gbl...
    >
    >>Try
    >>
    >>=COUNTIF(A:A,"<"&B1)-COUNTIF(A:A,"<="&C1)
    >>
    >>Regards
    >>Rowan

    >
    >
    > oo, that's like a programming indirection - never seen that before, many
    > thanks!
    >
    >
    >
    >>Lee Harris wrote:
    >>
    >>>Sorry fellas,
    >>>forgot to ask - how can you extend the counting to have limits specified
    >>>in a cell,
    >>>
    >>>
    >>>i.e. this won't work, but I need to vary the limit paramaters and see the
    >>>results,
    >>>=COUNTIF(A:A,"<B1")-COUNTIF(A:A,"<=C1")
    >>>
    >>>
    >>>I knew I hadn't gone bonkers, got confused about what I was asking!

    >
    >
    >


+ 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