+ Reply to Thread
Results 1 to 2 of 2

include INDIRECT function into SUMPRODUCT formula

  1. #1
    markx
    Guest

    include INDIRECT function into SUMPRODUCT formula

    Hi guys,

    I have the following formula:
    =SUMPRODUCT((Archived!$O1:$O5135=$A2)*(Archived!$H1:$H5135=D$1))

    However, the range (in this exemple going from row 1 to row 5135) changes
    every month, so, if my understanding is correct, I can either:
    - change it manually
    - use "dynamically named ranges" or
    - use "indirect" function that will refer to the =COUNT(Archived!O:O) that I
    will put somewhere.

    So, my question is: do you know how to include INDIRECT statement into the
    above-mentionned SUMPRODUCT function?
    Thanks for your help,

    Mark



  2. #2
    Gary
    Guest

    Re: include INDIRECT function into SUMPRODUCT formula

    Somthing like:

    =SUMPRODUCT((INDIRECT("Archived!$O1:$O"&COUNT(Archived!O:O))=$A2)*(INDIRECT("Archived!$H1:$H"&COUNT(Archived!H:H))=D$1))

    HTH

    markx wrote:
    > Hi guys,
    >
    > I have the following formula:
    > =SUMPRODUCT((Archived!$O1:$O5135=$A2)*(Archived!$H1:$H5135=D$1))
    >
    > However, the range (in this exemple going from row 1 to row 5135) changes
    > every month, so, if my understanding is correct, I can either:
    > - change it manually
    > - use "dynamically named ranges" or
    > - use "indirect" function that will refer to the =COUNT(Archived!O:O) that I
    > will put somewhere.
    >
    > So, my question is: do you know how to include INDIRECT statement into the
    > above-mentionned SUMPRODUCT function?
    > Thanks for your help,
    >
    > Mark



+ 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