+ Reply to Thread
Results 1 to 4 of 4

Thread: AVERAGEIF formula in Excel 2003

  1. #1
    Registered User
    Join Date
    07-15-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    9

    AVERAGEIF formula in Excel 2003

    Hi,

    I have been given an excel 2007 model but I only have Excel 2003 on my work computer. When I have opened up the model, I got #name in the cells where there is this formula. After doing somer research I learned that AVERAGE(IF( should be used; some say as an array formula, other's don't. I was wondering how to do it for this AVERAGEIF formula:
    =AVERAGEIF(G365:CJ365,">"&0,G365:CJ365)
    Thanks so much for the help
    Last edited by MrSumitomo; 07-15-2011 at 09:20 AM.

  2. #2
    Forum Guru Domski's Avatar
    Join Date
    12-14-2009
    MS-Off Ver
    What does it matter?
    Posts
    3,933

    Re: AVERAGEIF formula in Excel 2003

    =AVERAGE(IF(G365:CJ365>0,G365:CJ365))

    Confirmed with Ctrl+Shift+Enter as it's an array formula.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2003, 2007
    Posts
    384

    Re: AVERAGEIF formula in Excel 2003

    Or the normal formula:

    =SUMIF(G365:CJ365,">0")/COUNTIF(G365:CJ365,">0")

  4. #4
    Registered User
    Join Date
    07-15-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: AVERAGEIF formula in Excel 2003

    Fantastic! They both worked, thanks so much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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.2.0