+ Reply to Thread
Results 1 to 7 of 7

COUNTIF, dates and blank cell criteria

Hybrid View

  1. #1
    Bob Phillips
    Guest

    Re: COUNTIF, dates and blank cell criteria

    =SUM(IF((TODAY()>A1:INDEX(A:A,MAX(IF(ISBLANK(G1:G65535),0,ROW(G1:G65535))))+
    28)*
    (G1:INDEX(G:G,MAX(IF(ISBLANK(G1:G65535),0,ROW(G1:G65535))))=""),1))

    which is an array formula, it should be committed with Ctrl-Shift-Enter, not
    just Enter.

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with googlemail if mailing direct)

    "luvthavodka" <luvthavodka@discussions.microsoft.com> wrote in message
    news:B8D96D87-169F-4DAD-ACFB-B13C6FC2AC3C@microsoft.com...
    > I'm looking to count the number of blank cells in column G (only upto the
    > bottom of the data table I'm using - the length of which is unknown until

    the
    > end of the month, but only if the corresponding cell in column A (a date)

    is
    > greater than 28 days old. What formula should I use?




  2. #2
    luvthavodka
    Guest

    Re: COUNTIF, dates and blank cell criteria

    Thanks Bob, but i'm getting a #VALUE return with this. Have committed with
    Ctrl-Shift-Enter...is there anything else I could have done wrong?

    Regards

    Jenny

    "Bob Phillips" wrote:

    > =SUM(IF((TODAY()>A1:INDEX(A:A,MAX(IF(ISBLANK(G1:G65535),0,ROW(G1:G65535))))+
    > 28)*
    > (G1:INDEX(G:G,MAX(IF(ISBLANK(G1:G65535),0,ROW(G1:G65535))))=""),1))
    >
    > which is an array formula, it should be committed with Ctrl-Shift-Enter, not
    > just Enter.
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > (replace somewhere in email address with googlemail if mailing direct)
    >
    > "luvthavodka" <luvthavodka@discussions.microsoft.com> wrote in message
    > news:B8D96D87-169F-4DAD-ACFB-B13C6FC2AC3C@microsoft.com...
    > > I'm looking to count the number of blank cells in column G (only upto the
    > > bottom of the data table I'm using - the length of which is unknown until

    > the
    > > end of the month, but only if the corresponding cell in column A (a date)

    > is
    > > greater than 28 days old. What formula should I use?

    >
    >
    >


  3. #3
    Bob Phillips
    Guest

    Re: COUNTIF, dates and blank cell criteria

    It might be the NG wrap-around. Try this version

    =SUM(IF((TODAY()>A1:INDEX(A:A,MAX(IF(ISBLANK(G1:G65535),0,ROW(G1:G65535))))
    +28)*(G1:INDEX(G:G,MAX(IF(ISBLANK(G1:G65535),0,ROW(G1:G65535))))=""),1))

    still array entered

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "luvthavodka" <luvthavodka@discussions.microsoft.com> wrote in message
    news:94C950A3-1209-4FF8-B23A-F2253212B091@microsoft.com...
    > Thanks Bob, but i'm getting a #VALUE return with this. Have committed with
    > Ctrl-Shift-Enter...is there anything else I could have done wrong?
    >
    > Regards
    >
    > Jenny
    >
    > "Bob Phillips" wrote:
    >
    > >

    =SUM(IF((TODAY()>A1:INDEX(A:A,MAX(IF(ISBLANK(G1:G65535),0,ROW(G1:G65535))))+
    > > 28)*
    > > (G1:INDEX(G:G,MAX(IF(ISBLANK(G1:G65535),0,ROW(G1:G65535))))=""),1))
    > >
    > > which is an array formula, it should be committed with Ctrl-Shift-Enter,

    not
    > > just Enter.
    > >
    > > --
    > > HTH
    > >
    > > Bob Phillips
    > >
    > > (replace somewhere in email address with googlemail if mailing direct)
    > >
    > > "luvthavodka" <luvthavodka@discussions.microsoft.com> wrote in message
    > > news:B8D96D87-169F-4DAD-ACFB-B13C6FC2AC3C@microsoft.com...
    > > > I'm looking to count the number of blank cells in column G (only upto

    the
    > > > bottom of the data table I'm using - the length of which is unknown

    until
    > > the
    > > > end of the month, but only if the corresponding cell in column A (a

    date)
    > > is
    > > > greater than 28 days old. What formula should I use?

    > >
    > >
    > >




  4. #4
    luvthavodka
    Guest

    Re: COUNTIF, dates and blank cell criteria

    Still suffering the #VALUE??!!! Thanks for your help anyway Bob....I shall
    spend a few more hours trying to figure this one out...grrrrr...

    "Bob Phillips" wrote:

    > It might be the NG wrap-around. Try this version
    >
    > =SUM(IF((TODAY()>A1:INDEX(A:A,MAX(IF(ISBLANK(G1:G65535),0,ROW(G1:G65535))))
    > +28)*(G1:INDEX(G:G,MAX(IF(ISBLANK(G1:G65535),0,ROW(G1:G65535))))=""),1))
    >
    > still array entered
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > (replace somewhere in email address with gmail if mailing direct)
    >
    > "luvthavodka" <luvthavodka@discussions.microsoft.com> wrote in message
    > news:94C950A3-1209-4FF8-B23A-F2253212B091@microsoft.com...
    > > Thanks Bob, but i'm getting a #VALUE return with this. Have committed with
    > > Ctrl-Shift-Enter...is there anything else I could have done wrong?
    > >
    > > Regards
    > >
    > > Jenny
    > >
    > > "Bob Phillips" wrote:
    > >
    > > >

    > =SUM(IF((TODAY()>A1:INDEX(A:A,MAX(IF(ISBLANK(G1:G65535),0,ROW(G1:G65535))))+
    > > > 28)*
    > > > (G1:INDEX(G:G,MAX(IF(ISBLANK(G1:G65535),0,ROW(G1:G65535))))=""),1))
    > > >
    > > > which is an array formula, it should be committed with Ctrl-Shift-Enter,

    > not
    > > > just Enter.
    > > >
    > > > --
    > > > HTH
    > > >
    > > > Bob Phillips
    > > >
    > > > (replace somewhere in email address with googlemail if mailing direct)
    > > >
    > > > "luvthavodka" <luvthavodka@discussions.microsoft.com> wrote in message
    > > > news:B8D96D87-169F-4DAD-ACFB-B13C6FC2AC3C@microsoft.com...
    > > > > I'm looking to count the number of blank cells in column G (only upto

    > the
    > > > > bottom of the data table I'm using - the length of which is unknown

    > until
    > > > the
    > > > > end of the month, but only if the corresponding cell in column A (a

    > date)
    > > > is
    > > > > greater than 28 days old. What formula should I use?
    > > >
    > > >
    > > >

    >
    >
    >


+ 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