+ Reply to Thread
Results 1 to 4 of 4

COUNT and OFFSET

  1. #1
    Forum Contributor
    Join Date
    04-25-2006
    Posts
    215

    COUNT and OFFSET

    I have a range of Data: F8:CT8

    I need to count the 1st column in this data range with there being 3 columns.

    I just need to count if there is data in the cell excluding zeros.

    In other words F8 F9 F10 F11 F12 F13
    12 17


    I need to know if there is data in f8 and f11 and so forthe...

    Expect result is 2

    Thanks in advance.

    Regards,

    EP

  2. #2
    Biff
    Guest

    Re: COUNT and OFFSET

    Hi!

    Try this:

    =SUMPRODUCT(--(MOD(ROW(F8:F100),3)=2),--(F8:F100<>0),--(F8:F100<>""))

    Adjust for the end of the range.

    If you might insert new rows before the start of the range:

    =SUMPRODUCT(--(MOD(ROW(F8:F100)-ROW(F8),3)=0),--(F8:F100<>0),--(F8:F100<>""))

    Biff

    "edwardpestian" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > I have a range of Data: F8:CT8
    >
    > I need to count the 1st column in this data range with there being 3
    > columns.
    >
    > I just need to count if there is data in the cell excluding zeros.
    >
    > In other words F8 F9 F10 F11 F12 F13
    > 12 17
    >
    >
    > I need to know if there is data in f8 and f11 and so forthe...
    >
    > Expect result is 2
    >
    > Thanks in advance.
    >
    > Regards,
    >
    > EP
    >
    >
    > --
    > edwardpestian
    > ------------------------------------------------------------------------
    > edwardpestian's Profile:
    > http://www.excelforum.com/member.php...o&userid=33809
    > View this thread: http://www.excelforum.com/showthread...hreadid=541381
    >




  3. #3
    Forum Contributor
    Join Date
    04-25-2006
    Posts
    215
    Changed ROW to COLUMN, and the Range to F8:CT8, and it worked like a charm.

    Thanks for the help.

    Regards

  4. #4
    Biff
    Guest

    Re: COUNT and OFFSET

    You're welcome. Thanks for the feedback!

    Biff

    "edwardpestian" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Changed ROW to COLUMN, and the Range to F8:CT8, and it worked like a
    > charm.
    >
    > Thanks for the help.
    >
    > Regards
    >
    >
    > --
    > edwardpestian
    > ------------------------------------------------------------------------
    > edwardpestian's Profile:
    > http://www.excelforum.com/member.php...o&userid=33809
    > View this thread: http://www.excelforum.com/showthread...hreadid=541381
    >




+ 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