+ Reply to Thread
Results 1 to 3 of 3

Exclude Blank Cell from Formula

  1. #1
    Registered User
    Join Date
    04-13-2010
    Location
    Winnipeg, Manitoba Canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    Smile Exclude Blank Cell from Formula

    Hello,

    I have a basic formula for calculating an average over a quarter, =average(125:k25) and would like to know how to exclude any of the cells if there is no entry (blank cell) The values are automatically inserted from another spreadsheet in the same workbook. I htought about simply figuring out the average myself but there are too many departments to do that. Any direction would be helpful.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Exclude Blank Cell from Formula

    The average function should already ignore blank cells and text

    [EDIT]:
    Expanding a bit more. From Excel Help for the Average function:
    If a range or cell reference argument contains text, logical values, or empty cells, those values are ignored; however, cells with the value zero are included.
    Last edited by tigeravatar; 09-25-2012 at 03:53 PM. Reason: Added the Excel Help excerpt
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Contributor
    Join Date
    08-04-2011
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2007
    Posts
    109

    Re: Exclude Blank Cell from Formula

    The average function does not include blanks. It does not count them as zero's if that is your concern.

+ 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