+ Reply to Thread
Results 1 to 3 of 3

Average only columns with data

  1. #1
    Forum Contributor
    Join Date
    10-30-2008
    Location
    Los Angeles
    Posts
    144

    Average only columns with data

    Hi All:

    I have twelve columns of data nine of which are filled. I'm trying to come up with a formula that averages a column only if it has data in it, I have attached a sample file. As I add data the average should change without changing the formula..

    Once again, thanks for everyone's help in advance...

    Max
    Attached Files Attached Files
    Last edited by maxthebear; 11-10-2009 at 03:11 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Average only columns with data

    Just the regular old AVERAGE function. It ignores blanks.

    Or you can get fancy and use =IF(COUNT(F10:Q10), AVERAGE(F10:Q10), "")
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    10-30-2008
    Location
    Los Angeles
    Posts
    144

    Re: Average only columns with data

    The if count seems to do the trick.......thanks for the help........

    Max

+ 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