+ Reply to Thread
Results 1 to 9 of 9

averaging formula

  1. #1
    Forum Contributor
    Join Date
    06-11-2008
    MS-Off Ver
    2003
    Posts
    220

    averaging formula

    I currently have a formula which looks like this:

    =AVERAGE(E9*D9,E10*D10,E11*D11,E12*D12,E13*D13,E14*D14,E15*D15,E16*D16,E17*D17,E18*D18)/AVERAGE(D9:D18)

    Currently Cells E13,D13,E14,D14,E15,D15,E16,D16,E17,D17,E18,D18 are empty but would eventually become filled which is why i have included them in the average formula above. However it is obviously lowering the average because it is counting the cells that are empty as zero. I have been trying to use an IF FORMULA to correct this but as of yet have not managed it.

    Am i pointing in the right direction, or perhaps someone could suggest an alternative formula.....thanks for your help!!!!
    Last edited by oldchippy; 11-09-2008 at 11:48 AM.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    Does this work for you

    =SUM(D9:E18)/MAX(1,COUNT(D9:E18)-COUNTIF(D9:E18,0))/(SUM(D9:D18)/MAX(1,COUNT(D9:D18)-COUNTIF(D9:D18,0)))
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    try this
    Please Login or Register  to view this content.
    Last edited by sglife; 09-01-2008 at 11:05 PM.

  4. #4
    Forum Contributor
    Join Date
    06-11-2008
    MS-Off Ver
    2003
    Posts
    220
    This might make it clearer...heres the attached table im struggling with!!!
    Attached Files Attached Files

  5. #5
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    Can you tell us what answer you are expecting?

  6. #6
    Forum Contributor
    Join Date
    06-11-2008
    MS-Off Ver
    2003
    Posts
    220
    The answer which i want should be 91.63% however with this problem that i am having, my current formula is giving me 36.65%

  7. #7
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    I've broken the formula down in the way you describe it and come up with 95.24% see attached, so I'm not sure who's correct?
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    06-11-2008
    MS-Off Ver
    2003
    Posts
    220
    thats great, thanks!!!!!

  9. #9
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Glad to hear it helped - thanks for the feedback

+ 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. Formula for bond price
    By Dracan in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-15-2014, 11:17 AM
  2. averaging calls per hour formula assistance
    By iggyfalk in forum Excel General
    Replies: 2
    Last Post: 07-29-2008, 11:18 AM
  3. Formula needed to tell me if a value exists
    By WhatF in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-10-2008, 08:16 AM
  4. Conditional formula question
    By odditie in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-27-2007, 09:47 PM
  5. How do I subsitute part of a formula linked to another workbook?
    By Scej12 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-03-2007, 10:10 AM

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