+ Reply to Thread
Results 1 to 2 of 2

Averaging Values Based on Specific Crtieria

  1. #1
    Registered User
    Join Date
    10-05-2021
    Location
    United States of America
    MS-Off Ver
    2016
    Posts
    1

    Post Averaging Values Based on Specific Crtieria

    Hi!

    I have the following data. I want to have a formula that averages monthly energy usages from month i to month k based on values I enter for a month. So suppose I enter the values 5 and 10, I want a formula that can average the average monthly energy usage from month 5 to month 10. Any help? I am very new to excel, so any help would be really helpful!

    Thank you!


    Please Login or Register  to view this content.
    Last edited by 6StringJazzer; 10-05-2021 at 04:19 PM. Reason: added code tags for spacing of data table

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,705

    Re: Averaging Values Based on Specific Crtieria

    Let's say your data is in columns A, B, C. Let's say i is in D1 and k is in E1. You can use this formula to average column C:

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



    Values as displayed
    A
    B
    C
    D
    E
    F
    1
    Month
    Monthly Total Load (kWh)
    Average Monthly Energy Usage (kwh/month)
    5
    10
    863.5
    2
    1
    1053
    868
    3
    2
    922
    760
    4
    3
    982
    809
    5
    4
    900
    742
    6
    5
    934
    770
    7
    6
    990
    816
    8
    7
    1254
    1034
    9
    8
    1163
    958
    10
    9
    987
    814
    11
    10
    957
    789
    12
    11
    966
    796
    13
    12
    1060
    874
    Underlying formulas
    A
    B
    C
    D
    E
    F
    1
    Month
    Monthly Total Load (kWh)
    Average Monthly Energy Usage (kwh/month)
    5
    10
    =AVERAGE(INDEX($C$2:$C$13,D1):INDEX($C$2:$C$13,E1))
    2
    1
    1053
    868
    3
    2
    922
    760
    4
    3
    982
    809
    5
    4
    900
    742
    6
    5
    934
    770
    7
    6
    990
    816
    8
    7
    1254
    1034
    9
    8
    1163
    958
    10
    9
    987
    814
    11
    10
    957
    789
    12
    11
    966
    796
    13
    12
    1060
    874
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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] Averaging values based on specific criteria
    By barneyrubble1965 in forum Excel General
    Replies: 7
    Last Post: 03-05-2020, 07:27 AM
  2. Auto Populate Cells Based on 1 Crtieria
    By Furball80 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-23-2017, 09:07 AM
  3. Averaging values within a table between two specific ranges
    By NimaCR7 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-19-2017, 07:10 AM
  4. the sum of values based on multiple crtieria
    By mfairhurst1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-19-2017, 12:16 PM
  5. [SOLVED] averaging specific rows based on variables
    By jrtaylor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-19-2016, 01:56 PM
  6. [SOLVED] Averaging Specific VLookup Values
    By kujoking7 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-13-2015, 05:29 PM
  7. Averaging a specific range of values from a reference point
    By evydmb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-05-2013, 10:56 AM

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