+ Reply to Thread
Results 1 to 15 of 15

AVERAGEIFS across multiple worksheets

  1. #1
    Registered User
    Join Date
    01-15-2013
    Location
    Indianapolis
    MS-Off Ver
    Office 365
    Posts
    78

    AVERAGEIFS across multiple worksheets

    This is my formula =AVERAGEIFS(January:July!A3:A100,BF3,January:July!G3:G100)

    I have 7 seperate worksheets Jan-Jul which every sheet is identical in column setup. I need the formula to find the value of "BF3" in every sheet from A3 down to A100 but i need the average value which is in G3 down to G100. I want the formula to match the row with the value from "BF3" in the A column to match up the value in the G column and give me G's average.

    Thanks

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: AVERAGEIFS across multiple worksheets

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,720

    Re: AVERAGEIFS across multiple worksheets

    Clooney003 AVERAGEIFS isn't a function available in Excel 2003. Please take the time to update your profile. Members propose solutions with that in mind.
    Dave

  4. #4
    Registered User
    Join Date
    01-15-2013
    Location
    Indianapolis
    MS-Off Ver
    Office 365
    Posts
    78

    Re: AVERAGEIFS across multiple worksheets

    Here is the file, I hope this works. Also updated profile to match.
    Attached Files Attached Files

  5. #5
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: AVERAGEIFS across multiple worksheets

    Try

    BG3
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Drag down format as percentage

  6. #6
    Registered User
    Join Date
    01-15-2013
    Location
    Indianapolis
    MS-Off Ver
    Office 365
    Posts
    78

    Re: AVERAGEIFS across multiple worksheets

    Getting a #REF error

    Must be the BK reference since I have nothing in column BK
    Last edited by Clooney003; 08-03-2017 at 04:42 AM.

  7. #7
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: AVERAGEIFS across multiple worksheets

    Sorry, put months names ( January, February etc) in sheet 2017 BK3:BK14

    Check the attached file.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-15-2013
    Location
    Indianapolis
    MS-Off Ver
    Office 365
    Posts
    78

    Re: AVERAGEIFS across multiple worksheets

    hey yeh that worked.

    My question though, when i ran my manual =AVERAGE(January!G4,February!G3,March!G3,April!G3,June!G3,July!G3) BG3 showed 103% but after your formula it reads 106%. Am I misunderstanding the AVERAGE formula?

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

    Re: AVERAGEIFS across multiple worksheets

    Is this your problem:

    =AVERAGE(January!G4,February!G3,March!G3,April!G3,June!G3,July!G3) BG3
    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

  10. #10
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: AVERAGEIFS across multiple worksheets

    Row\Col
    A
    B
    C
    1
    Pro % Id Month
    2
    100%
    LBRPLAYT Jan
    3
    97%
    LBRPLAYT Feb
    4
    107%
    LBRPLAYT Mar
    5
    105%
    LBRPLAYT Apr
    6
    126%
    LBRPLAYT May
    7
    107%
    LBRPLAYT Jun
    8
    102%
    LBRPLAYT Jul
    9
    106%
    LBRPLAYT AVERAGE

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

    Re: AVERAGEIFS across multiple worksheets

    I alsoe get 106 with this formula, a slight variant on shukla's:

    =SUMPRODUCT(SUMIF(INDIRECT("'"&$BK$3:$BK$14&"'!A1:A500"),BF3,INDIRECT("'"&$BK$3:$BK$14&"'!G1:G500")))/SUMPRODUCT(COUNTIF(INDIRECT("'"&$BK$3:$BK$14&"'!A1:A500"),BF3))

  12. #12
    Registered User
    Join Date
    01-15-2013
    Location
    Indianapolis
    MS-Off Ver
    Office 365
    Posts
    78

    Re: AVERAGEIFS across multiple worksheets

    there was an ID above LBRPLAYT which switched it to G4. I just dont understand why AVERAGE those individual cells it came out to 103%

  13. #13
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: AVERAGEIFS across multiple worksheets

    You didn't consider May month in your formula if you use below formula then it would return 106%

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  14. #14
    Registered User
    Join Date
    01-15-2013
    Location
    Indianapolis
    MS-Off Ver
    Office 365
    Posts
    78

    Re: AVERAGEIFS across multiple worksheets

    WOW, why didnt I see that!! Thats what I get for trying to work Excel at 4am

    thank you very much

  15. #15
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: AVERAGEIFS across multiple worksheets

    Glad it helps you.

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

+ 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. averageifs with multiple criteria
    By cchi3k in forum Excel General
    Replies: 2
    Last Post: 05-12-2017, 06:14 AM
  2. Multiple Averageifs
    By kasermap in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-26-2017, 10:46 PM
  3. AVERAGEIFS with matched data from two worksheets
    By sbblf in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-09-2016, 05:41 AM
  4. [SOLVED] AverageIFs across multiple tabs
    By JulieKT in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-26-2015, 10:52 AM
  5. [SOLVED] AVERAGEIFS with multiple worksheets
    By a4turbo in forum Excel General
    Replies: 5
    Last Post: 08-21-2015, 08:18 AM
  6. AVERAGEIFS Multiple Criteria
    By qhoney in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-05-2014, 03:58 PM
  7. [SOLVED] AVERAGEIFS using multiple ranges and multiple criteria
    By LindsayS in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-03-2013, 01:49 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