+ Reply to Thread
Results 1 to 3 of 3

improve formula offset and indirect

  1. #1
    Biff
    Guest

    Re: improve formula offset and indirect

    Hi!

    IF you used dynamic named ranges:

    Normally entered:

    =SUMPRODUCT(--(Rng1=DUDListData!$Y$1),--(Rng2=Summary!$G$2))/COUNTIF(Rng2,Summary!$G$2)

    Biff

    "John Contact" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Can someone have a look at the below formula and some ideas on how to
    > improve the arrays, I understand I should be using the offset and indirect
    > to
    > find the exact range to improve performance, however not to sure where to
    > brgin with this.
    >
    > =SUM(IF((DUDListData!$T$2:$T$65536=DUDListData!$Y$1)*(DUDListData!$U$2:$U$65536=Summary!$G$2)=1,1,0))/SUM(IF(DUDListData!$U$2:$U$65536=Summary!$G$2,1,0))
    >
    > Many thanks John




  2. #2
    John Contact
    Guest

    improve formula offset and indirect

    Hi,

    Can someone have a look at the below formula and some ideas on how to
    improve the arrays, I understand I should be using the offset and indirect to
    find the exact range to improve performance, however not to sure where to
    brgin with this.

    =SUM(IF((DUDListData!$T$2:$T$65536=DUDListData!$Y$1)*(DUDListData!$U$2:$U$65536=Summary!$G$2)=1,1,0))/SUM(IF(DUDListData!$U$2:$U$65536=Summary!$G$2,1,0))

    Many thanks John

  3. #3
    Biff
    Guest

    Re: improve formula offset and indirect

    Hi!

    IF you used dynamic named ranges:

    Normally entered:

    =SUMPRODUCT(--(Rng1=DUDListData!$Y$1),--(Rng2=Summary!$G$2))/COUNTIF(Rng2,Summary!$G$2)

    Biff

    "John Contact" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Can someone have a look at the below formula and some ideas on how to
    > improve the arrays, I understand I should be using the offset and indirect
    > to
    > find the exact range to improve performance, however not to sure where to
    > brgin with this.
    >
    > =SUM(IF((DUDListData!$T$2:$T$65536=DUDListData!$Y$1)*(DUDListData!$U$2:$U$65536=Summary!$G$2)=1,1,0))/SUM(IF(DUDListData!$U$2:$U$65536=Summary!$G$2,1,0))
    >
    > Many thanks John




+ 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