+ Reply to Thread
Results 1 to 7 of 7

Counting Cells

  1. #1
    Bob Phillips
    Guest

    Re: Counting Cells

    =COUNTA(INDIRECT("A1:A"&DAY(TODAY())))

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Don" <[email protected]> wrote in message
    news:[email protected]...
    > I have a column of numbers, 1-31. Each number is the number of a day of

    the
    > month. Some days are missing and a blank has been left for those days (in
    > the column).
    > Can someone help me with this problem? I want to return the count for the
    > days that are listed (omitting the blanks) but I only want to count the

    days
    > that are less than or equal to =day(today()). Can someone show me how to
    > write this? It's driving me mad. Thanks for any help.
    > --
    > Don Rountree




  2. #2
    Roger Govier
    Guest

    Re: Counting Cells

    =SUMPRODUCT(--(A1:A31<>""),--(A1:A31<DAY(TODAY())))

    --
    Regards

    Roger Govier


    "Don" <[email protected]> wrote in message
    news:[email protected]...
    >I have a column of numbers, 1-31. Each number is the number of a day of
    >the
    > month. Some days are missing and a blank has been left for those days (in
    > the column).
    > Can someone help me with this problem? I want to return the count for the
    > days that are listed (omitting the blanks) but I only want to count the
    > days
    > that are less than or equal to =day(today()). Can someone show me how to
    > write this? It's driving me mad. Thanks for any help.
    > --
    > Don Rountree




  3. #3
    Bob Phillips
    Guest

    Re: Counting Cells

    =COUNTA(INDIRECT("A1:A"&DAY(TODAY())))

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Don" <[email protected]> wrote in message
    news:[email protected]...
    > I have a column of numbers, 1-31. Each number is the number of a day of

    the
    > month. Some days are missing and a blank has been left for those days (in
    > the column).
    > Can someone help me with this problem? I want to return the count for the
    > days that are listed (omitting the blanks) but I only want to count the

    days
    > that are less than or equal to =day(today()). Can someone show me how to
    > write this? It's driving me mad. Thanks for any help.
    > --
    > Don Rountree




  4. #4
    Roger Govier
    Guest

    Re: Counting Cells

    =SUMPRODUCT(--(A1:A31<>""),--(A1:A31<DAY(TODAY())))

    --
    Regards

    Roger Govier


    "Don" <[email protected]> wrote in message
    news:[email protected]...
    >I have a column of numbers, 1-31. Each number is the number of a day of
    >the
    > month. Some days are missing and a blank has been left for those days (in
    > the column).
    > Can someone help me with this problem? I want to return the count for the
    > days that are listed (omitting the blanks) but I only want to count the
    > days
    > that are less than or equal to =day(today()). Can someone show me how to
    > write this? It's driving me mad. Thanks for any help.
    > --
    > Don Rountree




  5. #5
    Don
    Guest

    Counting Cells

    I have a column of numbers, 1-31. Each number is the number of a day of the
    month. Some days are missing and a blank has been left for those days (in
    the column).
    Can someone help me with this problem? I want to return the count for the
    days that are listed (omitting the blanks) but I only want to count the days
    that are less than or equal to =day(today()). Can someone show me how to
    write this? It's driving me mad. Thanks for any help.
    --
    Don Rountree

  6. #6
    Bob Phillips
    Guest

    Re: Counting Cells

    =COUNTA(INDIRECT("A1:A"&DAY(TODAY())))

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Don" <[email protected]> wrote in message
    news:[email protected]...
    > I have a column of numbers, 1-31. Each number is the number of a day of

    the
    > month. Some days are missing and a blank has been left for those days (in
    > the column).
    > Can someone help me with this problem? I want to return the count for the
    > days that are listed (omitting the blanks) but I only want to count the

    days
    > that are less than or equal to =day(today()). Can someone show me how to
    > write this? It's driving me mad. Thanks for any help.
    > --
    > Don Rountree




  7. #7
    Roger Govier
    Guest

    Re: Counting Cells

    =SUMPRODUCT(--(A1:A31<>""),--(A1:A31<DAY(TODAY())))

    --
    Regards

    Roger Govier


    "Don" <[email protected]> wrote in message
    news:[email protected]...
    >I have a column of numbers, 1-31. Each number is the number of a day of
    >the
    > month. Some days are missing and a blank has been left for those days (in
    > the column).
    > Can someone help me with this problem? I want to return the count for the
    > days that are listed (omitting the blanks) but I only want to count the
    > days
    > that are less than or equal to =day(today()). Can someone show me how to
    > write this? It's driving me mad. Thanks for any help.
    > --
    > Don Rountree




+ 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