+ Reply to Thread
Results 1 to 4 of 4

LEFT embedded in SUMPRODUCT

  1. #1
    marika1981
    Guest

    LEFT embedded in SUMPRODUCT

    Hi,

    I'm currently using the formula:
    =PPCCo*SUMPRODUCT(--(PPCName="DNR"),--(PPCMonthRange=D$15),--(PPCYearRange=D$14),PPCImps)

    I would like to change the first SUMPRODUCT argument so that it accepts any
    cel that STARTS with "DNR", not simply equals "DNR".

    I presume it would be by using the LEFT command, but I'm not sure how that
    syntax works here.

    Any suggestions would be greatly appreciated!!!

    Marika

  2. #2
    Don Guillett
    Guest

    Re: LEFT embedded in SUMPRODUCT

    Why don't you try it yourself before asking. Have a look at HELP index for
    LEFT

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "marika1981" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > I'm currently using the formula:
    >

    =PPCCo*SUMPRODUCT(--(PPCName="DNR"),--(PPCMonthRange=D$15),--(PPCYearRange=D
    $14),PPCImps)
    >
    > I would like to change the first SUMPRODUCT argument so that it accepts

    any
    > cel that STARTS with "DNR", not simply equals "DNR".
    >
    > I presume it would be by using the LEFT command, but I'm not sure how that
    > syntax works here.
    >
    > Any suggestions would be greatly appreciated!!!
    >
    > Marika




  3. #3
    Bob Phillips
    Guest

    Re: LEFT embedded in SUMPRODUCT

    It's a simple LEFT

    =PPCCo*SUMPRODUCT(--(LEFT(PPCName,3)="DNR"),--(PPCMonthRange=D$15),--(PPCYea
    rRange=D$14),PPCImps)


    --
    HTH

    Bob Phillips

    "marika1981" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > I'm currently using the formula:
    >

    =PPCCo*SUMPRODUCT(--(PPCName="DNR"),--(PPCMonthRange=D$15),--(PPCYearRange=D
    $14),PPCImps)
    >
    > I would like to change the first SUMPRODUCT argument so that it accepts

    any
    > cel that STARTS with "DNR", not simply equals "DNR".
    >
    > I presume it would be by using the LEFT command, but I'm not sure how that
    > syntax works here.
    >
    > Any suggestions would be greatly appreciated!!!
    >
    > Marika




  4. #4
    marika1981
    Guest

    Re: LEFT embedded in SUMPRODUCT

    Well, I certainly did that and tried many syntax variations, but I need some
    help. Its inclusion within the syntax of the SUMPRODUCT formula is making it
    more complicated for me. Do I still use an equal sign? Does it require an
    IF because its a lookup? Apologies for frustrating you.....

    I'd be quite grateful for any help or suggestions,

    Marika



    "Don Guillett" wrote:

    > Why don't you try it yourself before asking. Have a look at HELP index for
    > LEFT
    >
    > --
    > Don Guillett
    > SalesAid Software
    > [email protected]
    > "marika1981" <[email protected]> wrote in message
    > news:[email protected]...
    > > Hi,
    > >
    > > I'm currently using the formula:
    > >

    > =PPCCo*SUMPRODUCT(--(PPCName="DNR"),--(PPCMonthRange=D$15),--(PPCYearRange=D
    > $14),PPCImps)
    > >
    > > I would like to change the first SUMPRODUCT argument so that it accepts

    > any
    > > cel that STARTS with "DNR", not simply equals "DNR".
    > >
    > > I presume it would be by using the LEFT command, but I'm not sure how that
    > > syntax works here.
    > >
    > > Any suggestions would be greatly appreciated!!!
    > >
    > > Marika

    >
    >
    >


+ 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