+ Reply to Thread
Results 1 to 4 of 4

suggestions?: sumproduct question

  1. #1
    Forum Contributor
    Join Date
    05-01-2006
    Location
    Erie, Pa USA
    MS-Off Ver
    Vista - Excel 2003
    Posts
    132

    suggestions?: sumproduct question

    My spreadsheet tracks employee response to being called out from home to work after normal hours.

    On the first page (sheet name Y-T-D) is a list of names where I would like to show a count of the number of times the employee responded.

    Cells A6-A9 contain the employee names. Cells I5 - L5 contain the responses.


    There are also 12 worksheets (Jan thru Dec) which track how many times employees were called that month and their response.

    The names on the monthly sheets are listed in column D. The responses on the monthly sheets are listed in column G.

    In cell I6, I tried: =SUMPRODUCT(('Jan:Dec'!D:D=A6)*('Jan:Dec'!G:G=I5)) and the result is #NUM!

    I also tried: =SUMIF(Jan:Dec!D:D,'Y-T-D'!A6,Jan:Dec!G:G) and the result is
    #VALUE!

    Any suggestions?

    I would attach the sheet, but I believe it is too large - compressed size is 29mb.
    Last edited by HBF; 12-03-2009 at 11:58 AM.

  2. #2
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    re: suggestions?: sumproduct question

    Quote Originally Posted by HBF View Post
    In cell I6, I tried: =SUMPRODUCT(('Jan:Dec'!D:D=A6)*('Jan:Dec'!G:G=I5)) and the result is #NUM!
    Hi,

    When using the sumproduct function, you need to specify your ranges...
    =SUMPRODUCT(('Jan:Dec'!D2:D1000=A6)*('Jan:Dec'!G2:G1000=I5))
    HTH

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

    re: suggestions?: sumproduct question

    As inferred, pre XL2007 neither SUMPRODUCT nor Array can use entire column references - nor should you want to - both routes are expensive and it's imperative ranges are kept as lean as possible.

    Re: your question... you can not conduct conditional calcs in 3D without using expensive volatile formulae. I would suggest you consider using helper cells on each sheet.

    John McGimpsey provides an overview of the various routes: http://www.mcgimpsey.com/excel/threedsumif.html

  4. #4
    Forum Contributor
    Join Date
    05-01-2006
    Location
    Erie, Pa USA
    MS-Off Ver
    Vista - Excel 2003
    Posts
    132

    re: suggestions?: sumproduct question

    I used the sumproduct formula in each monthly worksheet then the sumif formula on the summary sheet.

    Thanks to all!

+ 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