+ Reply to Thread
Results 1 to 9 of 9

Averageif Across Multiple Cells in Different Sheets

  1. #1
    Registered User
    Join Date
    01-30-2019
    Location
    Omaha, NE
    MS-Off Ver
    2013
    Posts
    2

    Averageif Across Multiple Cells in Different Sheets

    Hello,

    I would love your help. I am trying to get an average of two cells (on cell in one sheet and one cell in another sheet). The problem I am running into is that I can not have the number 0 included in the average. I am working with times and a 0 really throws that data.

    Here is the Averageif formula I used: =AVERAGEIF(T65,'8'!T68,">0:00")
    Last edited by HelpMePlease97; 01-30-2019 at 07:38 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,521

    Re: Averageif Across Multiple Cells in Different Sheets

    Just add them up and use COUNTIF not zero instead as the divider.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    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,116

    Re: Averageif Across Multiple Cells in Different Sheets

    Try this:

    =SUM(T65,'8'!T68)/SUMPRODUCT(IF(T65>0,1)+IF('8'!T68>0,1))
    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

  4. #4
    Registered User
    Join Date
    01-30-2019
    Location
    Omaha, NE
    MS-Off Ver
    2013
    Posts
    2

    Re: Averageif Across Multiple Cells in Different Sheets

    Holy crap. You just saved my life. Thank you so much!!

  5. #5
    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,116

    Re: Averageif Across Multiple Cells in Different Sheets

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,521

    Re: Averageif Across Multiple Cells in Different Sheets

    @Glenn: whyfor the SUMPRODUCT? Why not just
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    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,116

    Re: Averageif Across Multiple Cells in Different Sheets

    Too much coffee... not enough beer... take your pick. For me it's now evening, so am about to remedy the latter.

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,521

    Re: Averageif Across Multiple Cells in Different Sheets

    Or, for brevity, just:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,521

    Re: Averageif Across Multiple Cells in Different Sheets

    Go for the beer ... where are you? I didn't think NIwas that far ahead of us

+ 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. AverageIf using Vllokup through multiple sheets
    By smm3rmh in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-21-2018, 08:35 AM
  2. AVERAGEIF >0 (cells in different sheets)
    By vill in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-06-2017, 03:26 AM
  3. [SOLVED] Averageif over multiple sheets
    By mamachrissy1028 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-24-2015, 11:38 AM
  4. Averageif across multiple sheets returning #value
    By Bairdsly in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-03-2014, 04:30 PM
  5. [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
  6. AVERAGEIF, defining range across multiple sheets
    By waringb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-02-2013, 02:42 PM
  7. AverageIf across a range of sheets
    By Ducjes in forum Excel General
    Replies: 4
    Last Post: 07-06-2010, 03:40 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