Solved

Countifs cannot see my error

Posted on 2016-09-21
5
55 Views
Last Modified: 2016-09-21
Hi Experts using excel 2013

I have the following countifs formula which is returning 0 for July 2016 when in fact the correct answer is 17
=COUNTIFS('Master Data'!$R$2:$R$1000,AH$101,'Master Data'!$B$2:$B$1000,$AC100)

AC = Company Name
AH is 7 for month July
0
Comment
Question by:route217
5 Comments
 
LVL 49

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 125 total points
ID: 41808257
Hi,

Could you send an example file?

Regards
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 41808273
Does column R in Master Data contain just months or full dates?

If it is full dates, then looking for 7 will indeed produce 0, a date with serial number 7 was 7 Jan 1900.

Thanks
Rob
0
 
LVL 29

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 250 total points
ID: 41808414
If column R has dates and AH101 has the month number, try it like this and see if that works for you....
=SUMPRODUCT((MONTH('Master Data'!$R$2:$R$1000)=AH$101)*('Master Data'!$B$2:$B$1000=$AC100))

Open in new window

0
 
LVL 32

Assisted Solution

by:Rob Henson
Rob Henson earned 125 total points
ID: 41808505
Also, should there be a row difference for the Date value (AH101) and the Company value (AC100)?

Thanks
Rob
0
 

Author Comment

by:route217
ID: 41808676
Thanks experts for the excellent feedback solved the problem....with your guidance.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
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 will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
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…

773 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