+ Reply to Thread
Results 1 to 3 of 3

Skipping cells when using SUMPRODUCT function

  1. #1
    Jason
    Guest

    Skipping cells when using SUMPRODUCT function

    I am trying to use the following function: SUMPRODUCT(--((E2:G2)>E2)) to find
    the number of positive changes in this series -- which works well. How would
    I do this for JUST E2 and G2 rather than E2, F2, and G2?

    Many thanks,

    Jason

  2. #2
    Bob Phillips
    Guest

    Re: Skipping cells when using SUMPRODUCT function

    Jason,

    You could use

    =SUMPRODUCT(--(MOD(COLUMN(E2:G2),2)=1),--(E2:G2>E2))

    but why not just

    =--G2>E2

    --
    HTH

    Bob Phillips

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

    "Jason" <[email protected]> wrote in message
    news:[email protected]...
    > I am trying to use the following function: SUMPRODUCT(--((E2:G2)>E2)) to

    find
    > the number of positive changes in this series -- which works well. How

    would
    > I do this for JUST E2 and G2 rather than E2, F2, and G2?
    >
    > Many thanks,
    >
    > Jason




  3. #3
    Jason
    Guest

    Re: Skipping cells when using SUMPRODUCT function

    Bob,

    Thanks. Sometimes simple is best.

    "Bob Phillips" wrote:

    > Jason,
    >
    > You could use
    >
    > =SUMPRODUCT(--(MOD(COLUMN(E2:G2),2)=1),--(E2:G2>E2))
    >
    > but why not just
    >
    > =--G2>E2
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > (replace somewhere in email address with gmail if mailing direct)
    >
    > "Jason" <[email protected]> wrote in message
    > news:[email protected]...
    > > I am trying to use the following function: SUMPRODUCT(--((E2:G2)>E2)) to

    > find
    > > the number of positive changes in this series -- which works well. How

    > would
    > > I do this for JUST E2 and G2 rather than E2, F2, and G2?
    > >
    > > Many thanks,
    > >
    > > Jason

    >
    >
    >


+ 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