Solved

Countifs cannot see my error

Posted on 2016-09-21
5
41 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 48

Assisted Solution

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

Could you send an example file?

Regards
0
 
LVL 31

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 31

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
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 in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

747 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

9 Experts available now in Live!

Get 1:1 Help Now