+ Reply to Thread
Results 1 to 2 of 2

Using SUMPRODUCT to calculate averages from a closed workbook

  1. #1
    Forum Contributor
    Join Date
    03-11-2018
    Location
    Tampa, Florida
    MS-Off Ver
    365
    Posts
    105

    Using SUMPRODUCT to calculate averages from a closed workbook

    I found the following formula online, which allows me to calculate average of data from another closed workbook.

    =sumproduct(--('[Ty stats.xlsx]Averages'!$A$2$:$A$61="Qualifying"),'[Ty stats.xlsx]Averages'!F2:F61)/sumproduct(--('[Ty stats.xlsx]Averages'!$A$2$:$A$61="Qualifying"))

    "Basically, if anything in the A column on the Averages sheet in Ty's book says "Qualifying", I want to take the Average of the F column. It's not too complicated, I just want it to work when Ty's workbook is closed"

    The formula works great for one conditional variable. Is it possible to modify this formula to work with 2 or more conditional variables? i.e. if anything in column A says "Qualifying" and if anything in column B says "Red", then average of the F column

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,100

    Re: Using SUMPRODUCT to calculate averages from a closed workbook

    Welcome (back) to the forum.

    Thanks for your question. However, we have just found out that you have posted the same question elsewhere.... and haven't told us. Feel free to cross-post on other sites...

    But. Every forum has its rules. Please see Forum Rule #3 about cross-posting. So.

    Do not keep it a secret. We all are willing to give you our time, freely. However, some of us get very annoyed if we waste our time developing a solution for you, when you already have a nice solution elsewhere. All we ask is that you show us some respect and tell us:

    1) if you have cross-posted, and

    2) the URL of the cross posts.

    That way, those of us who don't want to waste their time can quickly check to see if you're already happy with another solution.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

+ 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. SumProduct in closed workbook
    By Ity007 in forum Excel Formulas & Functions
    Replies: 41
    Last Post: 06-09-2016, 04:29 PM
  2. [SOLVED] Sumproduct to calculate closed jobs since April not returning correct amount
    By mmccra2858 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-01-2014, 03:29 PM
  3. Alternatives to Sumproduct(Sumif( for use with closed workbook
    By soberguy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-30-2014, 11:14 AM
  4. Replies: 0
    Last Post: 07-15-2013, 12:00 PM
  5. Using SUMPRODUCT to count values in closed workbook
    By Lifeseeker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2012, 02:34 PM
  6. Sumproduct Not Working In Closed Workbook & shows #N/A
    By jasgat in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 07-15-2008, 10:17 PM
  7. Sumproduct Does Not Work In Closed Workbook
    By Kumara_faith in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-13-2008, 03:36 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