+ Reply to Thread
Results 1 to 6 of 6

Problem with averageifs formula displaying #value!

  1. #1
    Registered User
    Join Date
    12-10-2012
    Location
    Oxford
    MS-Off Ver
    Excel 2000
    Posts
    10

    Problem with averageifs formula displaying #value!

    Hi all

    Having a problem with the attached sheet. Summarising number of properties by size and location works fine. Average rental formula works fine for each size of property on its own. However I am trying to exclude the value of properties held by agent1 from the calculation and then values are incorrect as shown.

    Any solutions gratefully accepted.
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Problem with averageifs formula displaying #value!

    Seems you are using a 2007+ version of excel.

    In J3

    =IFERROR(AVERAGEIFS(National!$E$4:$E$399,National!$D$4:$D$399,B3),0)-IFERROR(AVERAGEIFS(National!$E$4:$E$399,National!$D$4:$D$399,B3,National!$F$4:$F$399,$B$9),0)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    12-10-2012
    Location
    Oxford
    MS-Off Ver
    Excel 2000
    Posts
    10

    Re: Problem with averageifs formula displaying #value!

    Thanks for your quick response Ace_xl

    Your amendment works for the first 5 property types but seems to throw up an incorrect answer for the 3 bed properties of 225.00 Answer should be £1200.00.

    Do you have any thoughts on that

    Many thanks

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Problem with averageifs formula displaying #value!

    Aah I see..

    Try this

    =IFERROR(AVERAGEIFS(National!$E$4:$E$399,National!$D$4:$D$399,B3,National!$F$4:$F$399,"<>"&$B$9),0)

  5. #5
    Registered User
    Join Date
    12-10-2012
    Location
    Oxford
    MS-Off Ver
    Excel 2000
    Posts
    10

    Thumbs up Re: Problem with averageifs formula displaying #value!

    Thanks Ace_XL, this is exactly what I needed.

    A good start to my day!

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Problem with averageifs formula displaying #value!

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED",as per our Forum Rule #9. I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

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

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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. [SOLVED] Problem With Averageifs
    By Mike Lacey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-24-2012, 01:45 PM
  2. [SOLVED] AVERAGEIFS problem
    By Alexander_Golinsky in forum Excel General
    Replies: 1
    Last Post: 05-16-2012, 07:42 AM
  3. Averageifs Problem
    By SR2884 in forum Excel General
    Replies: 0
    Last Post: 03-01-2011, 09:48 PM
  4. Problem with averageifs()
    By ramyomar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-25-2010, 04:58 AM
  5. Excel 2007 : having problem with averageifs formula
    By berk21 in forum Excel General
    Replies: 3
    Last Post: 03-11-2009, 09:24 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