+ Reply to Thread
Results 1 to 8 of 8

Need help with Average function

  1. #1
    Registered User
    Join Date
    07-10-2008
    Location
    West Palm Beach
    MS-Off Ver
    2007
    Posts
    41

    Need help with Average function

    I've tried so many different ways, but I'm not able to get the same answer enough to be comfortable. I'm using Excel 2007.

    I've got a spreadsheet that I do every month with columns of numbers that I average. This sheet has to match about 10 others similar. The columns are divided by Weekdays, Saturdays, Sundays. But some months there are no entries for certain cells on Saturday or Sunday. I thought that if I just used the Average function, it would dismiss and not count the blank cells. Alas, apparently not. I've highlighted in yellow the one column that I'm really having trouble with. If anyone could be of assistance, I'd be very grateful.
    Attached Files Attached Files
    Last edited by NBVC; 10-05-2008 at 09:30 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =AVERAGE(IF(F7:F40<>"",F7:F40))

    this formula must be confirmed with CTRL+SHIFT+ENTER not just ENTER...you will see {} brackets appear around the formula...

    then you can copy left/right
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    07-10-2008
    Location
    West Palm Beach
    MS-Off Ver
    2007
    Posts
    41

    Smile

    Worked great! Thank you SO much!

  4. #4
    Registered User
    Join Date
    07-10-2008
    Location
    West Palm Beach
    MS-Off Ver
    2007
    Posts
    41
    Just a simple question, I've not heard of the Crtl-Shift-Enter. Just what exactly does that do?

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by scarames
    Just a simple question, I've not heard of the Crtl-Shift-Enter. Just what exactly does that do?
    It is how Excel evaluates Array Formulas...

    see here for more information....

    http://www.cpearson.com/excel/ArrayFormulas.aspx

  6. #6
    Registered User
    Join Date
    07-10-2008
    Location
    West Palm Beach
    MS-Off Ver
    2007
    Posts
    41
    By evaluating, do you mean confirming, or verifying that it's correct? Thanks for all your replies.

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by scarames
    By evaluating, do you mean confirming, or verifying that it's correct? Thanks for all your replies.
    I mean how it comes up with the answer... i.e. creating arrays and evaluating each the conditions...

  8. #8
    Registered User
    Join Date
    07-10-2008
    Location
    West Palm Beach
    MS-Off Ver
    2007
    Posts
    41
    NBVC, Could you mark the post solved for me please? Thanks

    Scarames

+ 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