+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Dynamic range/average issue?

  1. #1
    Registered User
    Join Date
    11-13-2008
    Location
    Colorado
    Posts
    89

    Dynamic range/average issue?

    I need the average of each 1500 rows in a single column with 100,000 rows of data!
    I can use one column to say (b1=1500) then (b2 = b1+1500) and drag down until I get to 100k. Now, how can I write a function to take the average from Average(A"b1":A"b2")

    Understand my question or is there an easier way to get the these averages?
    Last edited by gannon_w; 02-26-2012 at 10:42 PM.

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Dynamic range/average issue?

    you could use =AVERAGE(A1:A1500) when you copy this down it will automaticaly increase the 1 and 1500 by 1 for each row.
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Registered User
    Join Date
    11-13-2008
    Location
    Colorado
    Posts
    89

    Re: Dynamic range/average issue?

    I need it to increase by 1500 each row!

    so I have
    Average(A1:A1500)
    Average(A1501:A3000)
    Average(A3001:A4500)
    etc all the way to 100k

  4. #4
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Dynamic range/average issue?

    ahh ok, sorry about the misunderstanding, in that case you would need to use indirect, you should put in row B1 a 0 and in B2 =B1+1500, and fill down the formula will automaticaly add 1 to the start of the range (1,1501,3001...)

    =AVERAGE(INDIRECT("A"&B1+1&":A"&B2))

  5. #5
    Registered User
    Join Date
    11-13-2008
    Location
    Colorado
    Posts
    89

    Re: Dynamic range/average issue?

    Gracias! I was getting ready to try the indirect function but for some reason can't ever get it to work for me. THANKS!

  6. #6
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: Dynamic range/average issue?

    no problem, i remember first learning INDIRECT it always seemed to confuse me too, you just need to remember that with indirect you need to form a text string that is equal to a range.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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