+ Reply to Thread
Results 1 to 3 of 3

Using Sumproduct, Countif/sumif, & Indirect on outside workbook

  1. #1
    Registered User
    Join Date
    03-08-2015
    Location
    cleveland, ohio
    MS-Off Ver
    2013
    Posts
    48

    Using Sumproduct, Countif/sumif, & Indirect on outside workbook

    I am currently trying to calculate data from 5 separate outside workbooks for averages, totals and counts for various tasks completed throughout the day over the course of multiple days. The circumstances are that people fill out these worksheets daily showing what they have accomplished as well as how long each task took. In a separate workbook i am trying to calculate the average amount of time these tasks took over a 2 week window. However, i am getting a reference error when i try to accomplish this. Below is the formula that i am using to try to accomplish this.

    the named range that i am using is the dates in text format to reference the tabs on the workbook that i wish to count.

    column A contains the name of the tasks & D2 is the name of the task that i want to look up.

    =sumproduct(countif(indirect("'[workbook.xlsx]"&namedrange&"'!A4:a5000"),D2

    Any and all suggestions are welcome!!! Thank you!

  2. #2
    Forum Contributor
    Join Date
    09-16-2009
    Location
    Dallas, TX
    MS-Off Ver
    Office 2013
    Posts
    107

    Re: Using Sumproduct, Countif/sumif, & Indirect on outside workbook

    Looks like you have an extra single quote in there.
    =sumproduct(countif(indirect("'[workbook.xlsx]"&namedrange&"'!A4:a5000"),D2

  3. #3
    Registered User
    Join Date
    03-08-2015
    Location
    cleveland, ohio
    MS-Off Ver
    2013
    Posts
    48

    Re: Using Sumproduct, Countif/sumif, & Indirect on outside workbook

    i don't believe so it is broken down =sumproduct(countif(indirect("double quote 'single quote [bracket workbook name]bracket "double quote &And Named range &and "double quote 'single quote !exclamation range),cell). Is this wrong?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] SUMPRODUCT, SUMIF, INDIRECT and ADDRESS
    By dma1976 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-06-2015, 10:11 AM
  2. [SOLVED] SUMPRODUCT(SUMIF(INDIRECT with Dynamic Worksheet Range
    By decipher in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-07-2014, 05:40 AM
  3. [SOLVED] Excel Novice - attempting to use SUMPRODUCT/SUMIF/INDIRECT but cell shows #REF
    By mbasi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-17-2013, 05:44 AM
  4. Replies: 0
    Last Post: 08-17-2012, 02:02 PM
  5. Sumproduct(sumif(indirect
    By jmcgallan in forum Excel General
    Replies: 6
    Last Post: 09-17-2010, 12:03 PM

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