+ Reply to Thread
Results 1 to 11 of 11

how do i autofill averages for ranges that dont share the dimensions of the average column

  1. #1
    Registered User
    Join Date
    11-08-2017
    Location
    miami, florida
    MS-Off Ver
    2010
    Posts
    35

    how do i autofill averages for ranges that dont share the dimensions of the average column

    on sheet 2 i have monthly tables of hours worked for 8 people. On the side there a table for monthly averages.
    how do i autofill the averages of the monthly charts into my average charts. its not arrange in way that the relative cell reference would shift automatically into the correct cell/range.practice income sheet.xlsx
    this should have it
    Attached Files Attached Files
    Last edited by businpro; 11-09-2017 at 10:05 AM. Reason: wrong upload

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: how do i autofill averages for ranges that dont share the dimensions of the average co

    Welcome to the forum!

    You seem to have uploaded the wrong workbook - there is nothing on sheet 2.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    11-08-2017
    Location
    miami, florida
    MS-Off Ver
    2010
    Posts
    35

    Re: how do i autofill averages for ranges that dont share the dimensions of the average co

    i had some progress. the problem is(i think) once you stick the column# for address
    into indirect it doesn't stay relative.practice income sheet.xlsx
    how do make the column relative so i can autofill a 2D table?

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,642

    Re: how do i autofill averages for ranges that dont share the dimensions of the average co

    If I understand correctly the following formula will yield the average time:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Select cell R3 and paste the formula into the formula bar,
    Copy the formula over to Y3,
    While the range R3:Y3 is still selected copy down to Y14,
    *While the range R3:Y14 is still selected apply custom formatting [h]:mm to the range.
    *This last step may not be needed.
    Note: in cell Q9 change Jul to July.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    11-08-2017
    Location
    miami, florida
    MS-Off Ver
    2010
    Posts
    35

    Re: how do i autofill averages for ranges that dont share the dimensions of the average co

    Thanks this worked. now i need to figure how.
    i almost got it done with [=average(indirect(address(match......),match(.....),2,1):indirect(address(match(....),match(...),2,1)]
    to get the column for addresses to stay relative, used match and clicked any cell in that column and matched in its column #.
    for some reason its showing me N/A in random spots, and i dont understand the formula evaluation.

  6. #6
    Registered User
    Join Date
    11-08-2017
    Location
    miami, florida
    MS-Off Ver
    2010
    Posts
    35

    Re: how do i autofill averages for ranges that dont share the dimensions of the average co

    the asteriks in the sumproduct are not multiplying.
    its taking the third array and selecting a part of it corresponding to vertical and horizontal ranges.
    when i watched a sumproduct video, it just replaced an array formula summing the products of two corresponding arrays. e.g. sumproduct(A1:A5,B1:B5). Does sumproduct have one complex formula which you can methodically use separatedly or does it actually have more than one formula?

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,642

    Re: how do i autofill averages for ranges that dont share the dimensions of the average co

    This article explains some of the applications of the SUMPRODUCT function. The section titled "Applying Multiple Criteria to SUMPRODUCT Function", which is about halfway down the page, is probably the best description of the way it is being used in your spreadsheet.
    Let us know if you have any questions.

  8. #8
    Registered User
    Join Date
    11-08-2017
    Location
    miami, florida
    MS-Off Ver
    2010
    Posts
    35

    Re: how do i autofill averages for ranges that dont share the dimensions of the average co

    if i did not have the abbreviated months column in the source table, and i want to use the asterik as a wild-card for the average-table's months, the problem is that the cell value isnt "january.....", rather its 1/../.. formatted as text. how do i get the actual value to be "Wed January ...." and get the calendar autofill?

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,642

    Re: how do i autofill averages for ranges that dont share the dimensions of the average co

    If I understand you want the formula to be written so that it accesses the dates directly from column E.
    Try the following:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In this case you will need to change cell Q9 back to Jul
    Let us know if you have any questions.

  10. #10
    Registered User
    Join Date
    11-08-2017
    Location
    miami, florida
    MS-Off Ver
    2010
    Posts
    35

    Re: how do i autofill averages for ranges that dont share the dimensions of the average co

    Yes but i would like to get rid of the F column. i would need to use the text formula for countif also but it didn't work.
    Also, could you explain how i could use the following formulas: average(indirect(address(match....),match(...),2,1)):indirect(address(match(...),match(...),2,1)))
    i tried it but it displayed #N/A on certain cells and i couldn't figure why.

  11. #11
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,642

    Re: how do i autofill averages for ranges that dont share the dimensions of the average co

    The following formula doesn't need column F:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Set the format to either h:mm or [h]:mm
    Let us know if you have any questions.
    Edit: If you can show me the entire formula, fill in the ...'s, I will attempt to look at why it yields the #N/A errors later.
    Last edited by JeteMc; 11-15-2017 at 01:30 PM.

+ 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: 4
    Last Post: 03-13-2015, 05:34 AM
  2. [SOLVED] need formula to average cells but if one cell has N/A then dont average and input N/A
    By CityInspector in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2013, 04:16 PM
  3. Replies: 1
    Last Post: 07-29-2013, 07:35 PM
  4. Replies: 3
    Last Post: 02-07-2012, 09:05 AM
  5. Copy range and autofill ranges dependent on cell count in column A
    By thylander in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-11-2011, 09:26 AM
  6. Ranking Ranges of differing dimensions
    By KevinThomas in forum Excel General
    Replies: 4
    Last Post: 07-08-2009, 04:28 AM
  7. Autofill with different average ranges
    By kguillen in forum Excel General
    Replies: 3
    Last Post: 04-07-2009, 07:27 AM

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