Solved

Countifs formula

Posted on 2015-01-18
3
107 Views
Last Modified: 2015-01-18
I think I understand this formula as I did not input into the sheet.  I am manually looking at the results and they do not match what the formula below returns.  I am assuming it is looking for the Values from division info in QQ where the values in A match the values in EE on the division tab, but it does not see to work.


=COUNTIFS('division info'!E:E,'OCT'!A28,'division info'!Q:Q,">0")
0
Comment
Question by:leezac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 81

Accepted Solution

by:
byundt earned 500 total points
ID: 40556413
The formula is returning the count of rows where column E matches A28 and column Q is greater than 0. If you were looking for  a value from division info column QQ, then a different formula is required.

Are you getting a smaller count than you expected? If so, you might have trailing spaces (either in division info column E or OCT cell A28) that cause the match to fail.

Could you please post a sample workbook that illustrates the problem?
0
 

Author Closing Comment

by:leezac
ID: 40556444
I think it was my mistake - I had another column filtered.   But I also wanted to make sure I was seeing the formula correctly.
0
 
LVL 81

Expert Comment

by:byundt
ID: 40556457
I think it was my mistake - I had another column filtered.
Be aware that COUNTIFS will count rows even if they have been hidden by a filter. If you want to ignore rows hidden by a filter, you should use either SUBTOTAL or AGGREGATE to do the counting with an array-entered formula. AGGREGATE has a little more power in that you can also ignore rows containing an error value, but it requires Excel 2010 or later. SUBTOTAL has no such restriction. Please post back if you need help building such a formula.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question