+ Reply to Thread
Results 1 to 6 of 6

Average every other 24cells from different worksheet

  1. #1
    Registered User
    Join Date
    01-07-2015
    Location
    michigan, us
    MS-Off Ver
    2013
    Posts
    6

    Average every other 24cells from different worksheet

    Hi All,

    I would like to average every 24 cells with my data starting in S17 onward.

    These threads (http://www.excelforum.com/excel-form...ml#post3319092 http://www.excelforum.com/excel-form...-10-cells.html) show what I want to do but when I try to modify the formula for my data, it doesn't give me all the right answers.

    =AVERAGE(OFFSET($S$17,(ROW()-ROW($AP$1))*24,,24,))

    That is the formula I am trying to use. In cell AP1 the answer matches when I manually average S17:S40, but cell AP2 would have a different answer to average S41:S65.

    I have also tried other formulas I found online but I keep getting different answers.

    Thanks in advance for the help!
    sadsakura

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Average every other 24cells from different worksheet

    Hi, and welcome to the forum,

    Upload your particular workbook and manually add a sample of the results you expect to see. Clearly tell us which cells are data and which are results. There's no point working with someone else's data.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-07-2015
    Location
    michigan, us
    MS-Off Ver
    2013
    Posts
    6

    Re: Average every other 24cells from different worksheet

    Workbook.jpg

    I'm not sure how to upload a whole workbook so I'm uploading a screenshot of my data.

    Column S has my data. Column AP is where I want the result of averaging every 24 cell from column S (starting from Row S17).

    In AP15, I have the formula that I tried to modify from the other posts.

    In column AQ, I have the results from manually averaging every 24 cell. The formula I used is seen in column AS.

    I can't seem to get the formula to match the answers from manually averaging every 24 cells.
    Last edited by sadsakura; 01-07-2015 at 08:27 PM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Average every other 24cells from different worksheet

    Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff)

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    01-07-2015
    Location
    michigan, us
    MS-Off Ver
    2013
    Posts
    6

    Re: Average every other 24cells from different worksheet

    Thanks for your quick reply!

  6. #6
    Registered User
    Join Date
    01-07-2015
    Location
    michigan, us
    MS-Off Ver
    2013
    Posts
    6

    Re: Average every other 24cells from different worksheet

    Here's my attempt to upload my worksheet:

    My data is still in column S. Results from manually adding every 24 cells are in column AS which does not match the results from the formula entered in column AP.
    Attached Files Attached Files
    Last edited by sadsakura; 01-07-2015 at 08:59 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. How to use Worksheet.Function.Average
    By lubbamkt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-24-2014, 06:28 AM
  2. How Do I Average A Range On A Different Worksheet Then Paste The Average To A Cell
    By Cfallscat in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-15-2011, 04:14 AM
  3. Lookup, Average, Separate worksheet
    By x65140 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-06-2011, 01:53 PM
  4. Average D3 on each worksheet if A1 is a weekday...
    By tecsbrain in forum Excel General
    Replies: 5
    Last Post: 11-19-2010, 07:10 PM
  5. Cumulative Average on a worksheet
    By Daryl in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 04-04-2006, 07:20 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