+ Reply to Thread
Results 1 to 4 of 4

SUMPRODUCT through a network

  1. #1
    Registered User
    Join Date
    08-27-2008
    Location
    Perth, Australia
    Posts
    8

    SUMPRODUCT through a network

    Hello all,

    I am trying to use a SUMPRODUCT formula to look into a closed workbook through our server to provide a total number of hours an employee has spent on a particular project.

    However, the formula I am using keeps giving me the #VALUE! error.

    The formula seems to work when it is referencing cells within the same workbook/sheet, but not through the network to another workbook.

    The formula I am using is:

    =SUMPRODUCT(--('Z:\_TIMESHEETS\Employee1\2010\[2010 02 08-14_Timesheet_Employee1.xls]Sheet1'!$C$12:$E$69=A55),'Z:\_TIMESHEETS\Employee1\2010\[2010 02 08-14_Timesheet_Employee1.xls]Sheet1'!$L$12:$L$69)

    Can someone please review this and provide any assistance.

    Thanks again.
    Andy
    Last edited by Mehhico; 02-26-2010 at 04:04 AM.

  2. #2
    Registered User
    Join Date
    02-25-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: SUMPRODUCT through a network

    First thing you should do is to remove the Z: reference in the formula. The Z: is a mapped drive, most likely only on your machine. This is a very bad way to work through networks. Instead substitute the server name and file path to actually follow as shown.

    \\server.name\folder\_TIMESHEETS\Employee1\...

    I am not positive it will solve your entire issue, but it will help.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: SUMPRODUCT through a network

    Andy, the #VALUE! error can always result from underlying errors however...

    we know that using ranges of different dimensions with double unary coercion will cause #VALUE! error and that is definitely an issue here, ie:

    Sheet1!C12:E69 and Sheet1!L12:L69

    One being 3 columns wide the other 1.

    To negate that issue we revert to * method from double unary, ie:

    Please Login or Register  to view this content.
    However, it follows that should any values in summation range be non-numeric this too will generate #VALUE! error given the explicit coercion now taking place against the final range.

    Post back if the error value persists - with more info. regards contents of each range.
    (a file mock up which demonstrates each range would help - dummy names / values etc but ensure data types are consistent - the fact it's an external file is of no consequence from a functional perspective)
    Last edited by DonkeyOte; 02-25-2010 at 04:16 AM.

  4. #4
    Registered User
    Join Date
    08-27-2008
    Location
    Perth, Australia
    Posts
    8

    Re: SUMPRODUCT through a network

    Thanks BlindRI and DonkeyOte, I appreciate all of this sort of information.

    The mapped network drive is the same on all computers as we constantly reference drawings via autocad X-Refs, but the information about the actual system path is helpful for future work.

    The code suggested by DonkeyOte worked perfectly in this situation. Exactly what I needed.

    Thanks again!
    Andy

+ 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