Results 1 to 32 of 32

formula (array or otherwise) to average data in one column in different size blocks

Threaded View

ChrisWhiteley formula (array or otherwise)... 10-15-2016, 02:25 AM
AliGW Re: formula (array or... 10-15-2016, 02:27 AM
ChrisWhiteley Re: formula (array or... 10-15-2016, 03:01 AM
AliGW Re: formula (array or... 10-15-2016, 03:02 AM
ChrisWhiteley Re: formula (array or... 10-15-2016, 03:19 AM
AliGW Re: formula (array or... 10-15-2016, 03:23 AM
ChrisWhiteley Re: formula (array or... 10-15-2016, 03:27 AM
Glenn Kennedy Re: formula (array or... 10-15-2016, 03:42 AM
AliGW Re: formula (array or... 10-15-2016, 03:35 AM
Glenn Kennedy Re: formula (array or... 10-15-2016, 03:40 AM
ChrisWhiteley Re: formula (array or... 10-15-2016, 03:57 AM
ChrisWhiteley Re: formula (array or... 10-15-2016, 04:01 AM
AliGW Re: formula (array or... 10-15-2016, 04:02 AM
ChrisWhiteley Re: formula (array or... 10-15-2016, 04:10 AM
AliGW Re: formula (array or... 10-15-2016, 04:14 AM
ChrisWhiteley Re: formula (array or... 10-15-2016, 04:45 AM
AliGW Re: formula (array or... 10-15-2016, 04:48 AM
jason.b75 Re: formula (array or... 10-15-2016, 05:13 AM
JohnTopley Re: formula (array or... 10-15-2016, 06:36 AM
jason.b75 Re: formula (array or... 10-15-2016, 06:57 AM
JohnTopley Re: formula (array or... 10-15-2016, 07:08 AM
jason.b75 Re: formula (array or... 10-15-2016, 07:21 AM
JohnTopley Re: formula (array or... 10-15-2016, 08:14 AM
ChrisWhiteley Re: formula (array or... 10-19-2016, 01:13 AM
ChrisWhiteley Re: formula (array or... 11-04-2016, 10:36 PM
JohnTopley Re: formula (array or... 11-05-2016, 04:09 AM
jason.b75 Re: formula (array or... 11-05-2016, 05:33 AM
JohnTopley Re: formula (array or... 11-05-2016, 08:04 AM
FlameRetired Re: formula (array or... 11-05-2016, 10:21 PM
FlameRetired Re: formula (array or... 11-05-2016, 11:13 PM
ChrisWhiteley Re: formula (array or... 11-09-2016, 04:38 AM
JohnTopley Re: formula (array or... 11-09-2016, 05:00 AM
  1. #29
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: formula (array or otherwise) to average data in one column in different size blocks

    Haven't examined all the previous. Here's another way. Applied to workbook in post #11. It's just an extension of your own formula that also defines the lower boundaries of each subset.

    =IFERROR(AVERAGE(OFFSET(INDEX(N$1:N$200,MATCH(ROWS($1:1)&"",N$1:N$200,0)),2,0):OFFSET(INDEX(N$1:N$200,MATCH(ROWS($1:1)+1&"",N$1:N$200,0)),-2,0)),"")

    Must be array entered. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    =IFERROR(AVERAGE(OFFSET(INDEX(N$1:N$200,MATCH(ROWS($1:1)&"",N$1:N$200,0)),2,0):OFFSET(INDEX(N$1:N$200,MATCH(ROWS($1:1)+1&"",N$1:N$200,0)),-2,0)),"")
    This works for the data supplied.
    Last edited by FlameRetired; 11-05-2016 at 10:23 PM.
    Dave

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. average certain blocks of cells VBA
    By ferday in forum Excel General
    Replies: 6
    Last Post: 06-08-2016, 12:47 AM
  2. Replies: 3
    Last Post: 04-02-2016, 08:16 PM
  3. Replies: 13
    Last Post: 10-08-2014, 08:35 AM
  4. [SOLVED] Mixing Blocks of Data from 2 Columns into 1 Column, with conditions
    By jocund.ky in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-11-2012, 06:40 PM
  5. Using macros to identify blocks of data and summarise those blocks
    By gophbeav in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-05-2012, 04:35 AM
  6. Clubbing blocks of Data for two entities in a Column Chart
    By e4excel in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-12-2009, 10:50 AM
  7. Replies: 1
    Last Post: 03-26-2007, 07:01 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