+ Reply to Thread
Results 1 to 3 of 3

Dynamic averaging based on adjacent column.

  1. #1
    Registered User
    Join Date
    10-18-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    67

    Question Dynamic averaging based on adjacent column.

    I have previously posted a similar query. This looks same as well, but this is different
    I have a column with random values that are generated my my machinery.
    I should not sort them, because they provide me with the performance graph.
    Lets say i have column "A"
    0
    2
    9
    9.5
    30
    90
    22
    15
    9
    0

    As the max value of this is 90, and its 10% of MAX is 9, which occurs at 3rd and 9 th positions.
    I need to find the average of its adjacent range, with zeros not considered.
    It has to calculate the max value in the column, find 10% of max and do average of adjacent column from the sl. no of first occurrence of 10% value in first column to the sl no of last occurrence of 10% value in first column.

    the exact 10% value may not always exist. 10% of 90 is 9, but if the max value is 94, the 10% would be 9.4 which doesn't exist. then it has to take the nearest available predecessor in that case.
    i get values in decimals mostly and only some of them are perfect integers, thus this consideration goes with it,and also, my range actually is B14:B10013
    i would most probably have the 10% value within the first 50 "non zero" entries and reoccurring somewhere probably within the last 50 "non zero" entries.

    attached sample file stating what i need, illustrated.

    I need this urgently for my project work!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-18-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    67

    Re: Dynamic averaging based on adjacent column.

    Even a formula based on functions rather than VBA/Macros will also do.

  3. #3
    Registered User
    Join Date
    10-18-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    67

    Re: Dynamic averaging based on adjacent column.

    Guys! I need help on this!! Haven't cracked the formula yet!

+ 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] Dynamic Averaging of column.
    By projectatpel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-25-2013, 11:17 AM
  2. Dynamic Averaging of column.
    By projectatpel in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 10-23-2013, 03:39 PM
  3. [SOLVED] Averaging a column based on boundaries set at a different column
    By Kybynn in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-11-2013, 10:39 AM
  4. VBA Loop for averaging multiple cells adjacent to date criteria column
    By Swampy79 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-03-2013, 10:08 PM
  5. Averaging based on different Column
    By corky1111 in forum Excel General
    Replies: 5
    Last Post: 08-12-2011, 02:12 PM

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