Solved

Countifs cannot see my error

Posted on 2016-09-21
5
49 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 28

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now