+ Reply to Thread
Results 1 to 3 of 3

count cells in 1 column and average based on multiple criteria (different columns)

  1. #1
    Forum Contributor
    Join Date
    10-15-2009
    Location
    Broooklyn, NY
    MS-Off Ver
    Excel 2016
    Posts
    207

    count cells in 1 column and average based on multiple criteria (different columns)

    Good Evening,
    1. I need to count fabrics (column A) if value in column B is 1 and cells in column E is not 0.
    2. I need to count the average if value in column B is 1 and cells in column E is not 0.

    See attached file.
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: count cells in 1 column and average based on multiple criteria (different columns)

    Count:
    =COUNTIFS($B$2:$B$8,1,$E$2:$E$8,"<>0")
    Average:
    =AVERAGEIFS($E$2:$E$8,$B$2:$B$8,1,$E$2:$E$8,"<>0")
    Quang PT

  3. #3
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,408

    Re: count cells in 1 column and average based on multiple criteria (different columns)

    Ans 1 =sumproduct((b2:b8=1)*(e2:e8<>0))
    ans 2 {=average(if((b2:b8=1)*(e2:e8<>0),e2:e8))}

+ 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] Count in cells based on multiple criteria in other columns
    By Copernicus19 in forum Excel General
    Replies: 2
    Last Post: 07-17-2019, 10:17 PM
  2. [SOLVED] Average Based on Multiple Criteria in Same and Different Columns
    By KoolKatelyn in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 02-20-2018, 02:15 PM
  3. [SOLVED] Average one column based on multiple criteria
    By smartbuyer in forum Excel General
    Replies: 7
    Last Post: 03-13-2015, 04:37 AM
  4. Average numbers from multiple columns based on multiple criteria
    By abambi in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-23-2015, 01:52 PM
  5. [SOLVED] VBA fill in cells in a new column in table based on multiple criteria from other columns
    By HRA in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-14-2013, 06:48 AM
  6. [SOLVED] Average Based on Criteria in Multiple Columns
    By sinspawn56 in forum Excel General
    Replies: 2
    Last Post: 07-31-2012, 01:27 PM
  7. Replies: 1
    Last Post: 11-20-2010, 05:38 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