+ Reply to Thread
Results 1 to 2 of 2

Average Numbers in Column Until Blank Cell

  1. #1
    Registered User
    Join Date
    02-11-2013
    Location
    eugene, or
    MS-Off Ver
    Excel 2011
    Posts
    74

    Question Average Numbers in Column Until Blank Cell

    Hey guys, so I have data in column I of a spreadsheet, all numeric to two decimal points. The data starts in row 4 and will continue down a non-static number of rows, depending on how much data is exported. There is then a gap of 5 to 8 rows and numbers start again. This may repeat a few dozen times, again depending on the amount of data exported. What I am hoping to do is take those numeric sets and average them individually then output that average 2 rows below the last number in the set. I am trying to do this in VBA as part of an existing code, but I'm not sure how to go about it... Thoughts?

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Average Numbers in Column Until Blank Cell

    Hi

    Assuming that your existing sub will make sure you are on the correct sheet, then put in a step in your existing code to run the following as a separate macro
    Please Login or Register  to view this content.
    HTH

    rylo

+ 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