Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Subtotals

  1. #1
    New Member
    Join Date
    Apr 2002
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Yesterday I posted this question, but today it was gone.

    Start with a list of n numbers in column A. Compute the average of the first five numbers and display it in column B; do the same for each successive block of 5 numbers. I don't konw how to do it.

    John Adans


    J


  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Enter...

    =IF(MOD(ROW(),5),"",AVERAGE(OFFSET(A1,-4,,5)))

    ...into B1 and copy down.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •