+ Reply to Thread
Results 1 to 2 of 2

Calculating the average every nth cell but allowing for new columns

  1. #1
    Registered User
    Join Date
    09-16-2016
    Location
    England
    MS-Off Ver
    Office 2003
    Posts
    4

    Calculating the average every nth cell but allowing for new columns

    Hello,

    I have the formula =AVERAGE(IF(MOD(COLUMN(BH7:BT7)-COLUMN(BH7),2)=0,IF(BH7:BT7>0,BH7:BT7)))

    It calculates an average for the last 8 weeks, is there a way of changing it so when a new week is added i don't have to manually change the data range every time?

    Thanks

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Calculating the average every nth cell but allowing for new columns

    Can you attach a small sample book?
    There may be an easier way.

+ 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. Calculating age with a formula but allowing form control override??
    By HeyInKy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-28-2014, 03:11 PM
  2. Calculating an average in a single cell
    By martynmordecai in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-31-2013, 04:44 AM
  3. Calculating an average in a single cell
    By martynmordecai in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-29-2013, 07:00 PM
  4. Replies: 7
    Last Post: 01-15-2013, 04:45 PM
  5. Calculating the average of every value in every, say, 12th cell
    By vsnellman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-28-2006, 04:46 PM
  6. [SOLVED] Calculating Flying hours allowing for GMT or BST
    By Joco in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-24-2006, 10:05 AM
  7. Replies: 0
    Last Post: 08-23-2005, 12:36 PM

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