+ Reply to Thread
Results 1 to 6 of 6

How to caliculate Average with criteria

  1. #1
    Registered User
    Join Date
    01-21-2015
    Location
    hyderabad
    MS-Off Ver
    2007
    Posts
    73

    How to caliculate Average with criteria

    Hi,

    Please find the attachment and give the solution as asking in the attachment. Please solve the problem using formula only. No VBA.

    Thanks in Adavnce.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: How to caliculate Average with criteria

    This will give you what you need...
    =AVERAGEIF(E3:E10,"<>N/A",E3:E10)

    For future reference, please include your question IN your thread, not your file. That way, members dont need to openthe file to see if they want to take up your question
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-21-2015
    Location
    hyderabad
    MS-Off Ver
    2007
    Posts
    73

    Re: How to caliculate Average with criteria

    thank you for you reply it is working

    and thank you for your advice

  4. #4
    Registered User
    Join Date
    01-21-2015
    Location
    hyderabad
    MS-Off Ver
    2007
    Posts
    73

    Multiple formula in single cell

    Hi,

    Can you pls tell me what is the wrong in the below formula.

    IF(or(A3="0",if(or(A4="0",if(or(A5="0",if(or(A6="0",if(or(A7="0",if(or(A8="0",if(or(A9="0",if(or(A10="0"))))))))))))))),"0",A11/(B11-(SUMIF(A3:A10,"=N/A",$B$3:$B$10))))

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: How to caliculate Average with criteria

    Well to start with, if you are testing for 0 (the value 0), trhen you need to remove the "" from around them
    Also, if you are only test1ing 1 criteria, you dont need OR()...
    =IF(OR(A3=0,A4=0,A5=0,A6=0,A7=0,A8=0,A9=0,A10=0),0,A11/(B11-SUMIF(A3:A10,"=N/A",$B$3:$B$10)))
    Or shortened to...
    =IF(COUNTIF(A3:A10,0)>=0,0,A11/(B11-SUMIF(A3:A10,"=N/A",$B$3:$B$10)))

  6. #6
    Registered User
    Join Date
    01-21-2015
    Location
    hyderabad
    MS-Off Ver
    2007
    Posts
    73

    Re: How to caliculate Average with criteria

    Thank you very much Fdibbins...

+ 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] Average with criteria
    By pauldaddyadams in forum Excel General
    Replies: 2
    Last Post: 11-03-2014, 05:18 AM
  2. [SOLVED] Average using 2 > and < criteria
    By lemans96 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-13-2013, 02:42 PM
  3. [SOLVED] Average with More Than One Criteria
    By Hudas in forum Excel General
    Replies: 8
    Last Post: 04-06-2012, 02:47 PM
  4. Replies: 5
    Last Post: 05-05-2010, 10:32 AM
  5. Average with a criteria?
    By a94andwi in forum Excel General
    Replies: 3
    Last Post: 11-26-2007, 09:48 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