+ Reply to Thread
Results 1 to 2 of 2

AVERAGEIF Defunct for excel 2016 across multiple worksheets???

  1. #1
    Registered User
    Join Date
    09-19-2017
    Location
    Beverly Hills, CA
    MS-Off Ver
    excel 2016
    Posts
    2

    AVERAGEIF Defunct for excel 2016 across multiple worksheets???

    I found another thread with the solution to at least allow me to run an AVERAGEIF like function across multiple worksheets, but the formula is pretty long and it's not something I'll remember...plus the time to type out such a long formula won't be efficient for me since I use AVERAGEIF all the time. It's basically this formula:

    =SUM(comp1:comp4!B53)/(FREQUENCY(comp1:comp4!B53,-0.000001)+INDEX(FREQUENCY(comp1:comp4!B53,0),2))

    Here's what I'm trying to do.

    I have four worksheets in a single spreadsheet file named comp1, comp2, comp3, and comp4

    There's a specific cell (B53) in each worksheet with data I want to average if it's greater than 0. Are the days where I could just go through each worksheet holding ctrl and selecting the cells I want to AVERAGEIF >0 officially defunct in excel 2016. If so, that's irritating and I have no idea why excel would dump such a useful function.

    Is there an alternative solution that's as easy to use as the traditional AVERAGEIF function across multiple worksheets, or at least something that is condensed to save time on writing the formula? I know if I have to keep apply the above formula, I'll have to come back to this thread 20x before it sinks in. Anyways...just hope there's an easier way to perform this function.

    I'd even be willing to settle for a snippet of VBA code or even a plugin if one's available?

    Thanks for any tips!!!!

  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,007

    Re: AVERAGEIF Defunct for excel 2016 across multiple worksheets???

    =SUMPRODUCT(SUMIFS(INDIRECT("'"&$C$1:$C$4&"'!B53"),INDIRECT("'"&$C$1:$C$4&"'!B53"),">0"))/SUMPRODUCT(COUNTIFS(INDIRECT("'"&$C$1:$C$4&"'!B53"),">0"))

    ... with a list of your sheetnames in C1 to C4.
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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. Replies: 1
    Last Post: 09-18-2017, 08:27 AM
  2. Transfer data between worksheets Excel 2016
    By Puddy in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-21-2017, 09:48 AM
  3. Starting Excel hindered by defunct add-on
    By stellman in forum Excel General
    Replies: 7
    Last Post: 08-18-2016, 04:27 PM
  4. combining two worksheets excel 2016
    By jamessmckie in forum Excel General
    Replies: 7
    Last Post: 07-04-2016, 01:24 AM
  5. Excel 2013 Averageif formula across multiple worksheets
    By jpone2 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-25-2015, 09:28 PM
  6. [SOLVED] AverageIF using multiple criteria in different columns in multiple worksheets
    By trubertiam in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-03-2014, 09:28 PM
  7. AVERAGEIF (Multiple Worksheets)
    By graybush in forum Excel General
    Replies: 1
    Last Post: 11-02-2011, 09:59 PM

Tags for this Thread

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