+ Reply to Thread
Results 1 to 4 of 4

Average based on formula result

Hybrid View

  1. #1
    Registered User
    Join Date
    11-28-2007
    Posts
    1

    Average based on formula result

    B1 is the result of a formula which corresponds to cell A6. How do I find the average for the five number A6:A10. B1 changes based on the input of the number in column A and so the value in B1 changes and thus the five numbers needing to be average does also.

    A B
    1 6
    3
    5
    7
    10
    2
    5
    3
    2
    5
    8
    5
    7

  2. #2
    Forum Contributor
    Join Date
    10-30-2007
    Location
    Norway
    MS-Off Ver
    MS Office 2007
    Posts
    345
    How do I find the average for the five number A6:A10
    =AVERAGE(A6:A10)

    The rest of the question I'm not sure what you mean....

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    So if B1 is 8 you want to average A8:A12? If so try

    =AVERAGE(OFFSET(A1,B1-1,,5))

  4. #4
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211
    Quote Originally Posted by atr
    B1 is the result of a formula which corresponds to cell A6. How do I find the average for the five number A6:A10. B1 changes based on the input of the number in column A and so the value in B1 changes and thus the five numbers needing to be average does also.

    A B
    1 6
    3
    5
    7
    10
    2
    5
    3
    2
    5
    8
    5
    7
    =AVERAGE(INDIRECT("A"&B1):INDIRECT("A"&B1+4))

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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