+ Reply to Thread
Results 1 to 4 of 4

Retrieving numbers from another file stored under a different directory

  1. #1
    Registered User
    Join Date
    05-23-2011
    Location
    germany
    MS-Off Ver
    Office 365 Pro (Excel 2016)
    Posts
    45

    Retrieving numbers from another file stored under a different directory

    Hello,

    I am having problems with a sumproduct formula (An alternative is appreciated).
    In file Copy Compare 2011-2012 I would like to retrieve the Revenue of clients (criterions: Name of Client Group, Service provided, month) from the source file
    ABC-Analyse.
    For using the criterion "month" The formula needs to move within the source file. Can this be done with an offset, address function embedded in the sumproduct/ some alternative one?
    Even using only the two criterions Client Group, Service provided I receive the error message "value#"
    Can someone help me on this?

    I would appreciate it very much.

    Best regards and thanks in advance


    Philip
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Retrieving numbers from another file stored under a different directory

    Your sum range in the Sumproduct is not the same size as the criteria ranges...
    Also, when you "multiply" the conditions, if there is text in the sum cells, you will get the error, separate out the sum ranges with commas instead....

    i.e.

    =SUMPRODUCT((('[ABC-Analyse.xls]ABC'!$D:$D)=$A5)*(('[ABC-Analyse.xls]ABC'!$I:$I)="Translation"),('[ABC-Analyse.xls]ABC'!$BB:$BB))

    Note: using whole column references with Sumproduct is not efficient... you should try to limit the ranges to absolute minimum needed for best results.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-23-2011
    Location
    germany
    MS-Off Ver
    Office 365 Pro (Excel 2016)
    Posts
    45

    Re: Retrieving numbers from another file stored under a different directory

    Hi thanks a lot.
    I have another question. An alternative to the sumproduct would be a Sum function combined with two or more If functions.
    What I would like to do in addition is to let the formula retrieve the figure of a client of the correct month
    even if I add a new column in the range of the source file from which I retrieve the monthly figures
    I inserted a matvch function in line 3 but I do not know how to combine it with the sum formula to arrive at what I want the formula to do.
    Is this feasible? How do I have to adapt the formula?
    Thanks a lot once again.
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Retrieving numbers from another file stored under a different directory

    using the original 2 files, maybe:

    Please Login or Register  to view this content.
    edit filenames and references to suit...

+ 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