+ Reply to Thread
Results 1 to 3 of 3

Averaging numbers

  1. #1
    Registered User
    Join Date
    03-25-2006
    Posts
    6

    Averaging numbers

    i need to make a spreadsheet that averages numbers. but the amount of cells with data change from a week to week basis. For example i may use cells A1 to A5 to hold data in and A6 with the formula to average. I may use all 5 cells or I may use only 2. How can I tell excel to average those cells that only have data in them.

    plz help, thx

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    AVERAGE function ignores blank cells so you can use

    =AVERAGE(A1:A5)

    If you want to ignore zeroes then try

    =AVERAGE(IF(A1:A5,A1:A5))

    confirmed with CTRL+SHIFT+ENTER

  3. #3
    Registered User
    Join Date
    03-25-2006
    Posts
    6
    thank u very much. that was fast and easy.

+ 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. Using Excel to help select Lotto numbers.....
    By farmerTom in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 10-15-2018, 05:09 AM
  2. Excel 2007 : Averaging numbers within an Array
    By nohmaste in forum Excel General
    Replies: 2
    Last Post: 08-28-2008, 12:18 PM
  3. Averaging numbers while ignoring blank cells.
    By bjordan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-03-2007, 05:09 PM
  4. averaging numbers in 2 rows
    By doc_bogs in forum Excel General
    Replies: 5
    Last Post: 10-27-2007, 08:37 PM
  5. Averaging the 10 smallest numbers from a group of 20.
    By ChiefBull in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 07-05-2007, 03:45 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