+ Reply to Thread
Results 1 to 3 of 3

Average columns with criteria

  1. #1
    Registered User
    Join Date
    12-19-2013
    Location
    Manila
    MS-Off Ver
    Excel 2007
    Posts
    46

    Average columns with criteria

    Hi guys! My question is about average. for example I have my data numbers in G2:G100 that I like to average. and in E2:E100 is the criteria. I like to average for criteria YES, NO, and FAIL... And I would like to copy data in another sheet based on the criteria given...

    E Column G Column
    YES 20
    NO 23
    YES 25
    FAIL 19
    FAIL 18
    YES 17
    NO 16

    this is my code but It fails

    Please Login or Register  to view this content.

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,446

    Re: Average columns with criteria

    Could you not use
    Please Login or Register  to view this content.
    ?

    etc
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    12-19-2013
    Location
    Manila
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Average columns with criteria

    How about in a loop and I like to copy the yes

+ 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] sum and average if one criteria in any of 3 columns
    By alexcrofut in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-09-2014, 02:00 PM
  2. [SOLVED] Average of two columns by criteria
    By te31 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-15-2013, 06:12 PM
  3. Average GP from multiple columns with criteria
    By t+ccyco in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-30-2013, 07:06 PM
  4. [SOLVED] Average if criteria in 2 columns is met.
    By ea223 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-18-2012, 01:00 AM
  5. Rolling average across columns with criteria
    By Lee1800 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-07-2008, 10: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