Calculating a Rate

datadummy

Active Member
Joined
Mar 16, 2017
Messages
313
Office Version
  1. 365
Platform
  1. Windows
I am trying to calculate a rate and am getting a rate of 1200%, so clearly I have a mistake in my equation but can't figure out where. Here is my statement,
=COUNTIFS(ED!F:F,"N",ED!G:G,"Y",ED!D:D,">3/31/2018",ED!D:D,"<5/1/2018")/COUNTIFS(ED!F:F,"N",ED!G:G,"Y",ED!D:D,">3/31/2018",ED!D:D,"<5/1/2018")+COUNTIFS(ED!F:F,"N",ED!G:G,"N",ED!D:D,">3/31/2018",ED!D:D,"<5/1/2018")

I'm sure there is a better way to write this statement and am open to any suggestions! Thanks in advance!!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Plug in =COUNTIFS(ED!F:F,"N",ED!G:G,"N",ED!D:D,">3/31/2018",ED!D:D,"<5/1/2018") And I bet you get 11.

You have

COUNTIFS(ED!F:F,"N",ED!G:G,"Y",ED!D:D,">3/31/2018",ED!D:D,"<5/1/2018")
/
COUNTIFS(ED!F:F,"N",ED!G:G,"Y",ED!D:D,">3/31/2018",ED!D:D,"<5/1/2018")
+
COUNTIFS(ED!F:F,"N",ED!G:G,"N",ED!D:D,">3/31/2018",ED!D:D,"<5/1/2018")

COUNTIFS(ED!F:F,"N",ED!G:G,"Y",ED!D:D,">3/31/2018",ED!D:D,"<5/1/2018")
/
COUNTIFS(ED!F:F,"N",ED!G:G,"Y",ED!D:D,">3/31/2018",ED!D:D,"<5/1/2018")
Is going to = 1

COUNTIFS(ED!F:F,"N",ED!G:G,"N",ED!D:D,">3/31/2018",ED!D:D,"<5/1/2018")
Probably = 11

Add them together and you get 12. Format to percent and get 1200%

Unfortunately I'm not sure what you are trying to accomplish, but that is what Excel is doing.
 
Upvote 0
What I am trying to accomplish is to calculate the number or times column F= N and column G=Y and that the date is equal to April hence >3/31/2018 and <5/1/2018. Divided by the totals of columns F and G within the month of April. Currently the results should be 2 out 13 for 15%.
 
Upvote 0
Try

=COUNTIFS(ED!F:F,"N",ED!G:G,"Y",ED!D:D,">3/31/2018",ED!D:D,"<5/1/2018")\COUNTIFS(ED!D:D,">3/31/2018",ED!D:D,"<5/1/2018")
 
Upvote 0

Forum statistics

Threads
1,223,933
Messages
6,175,473
Members
452,646
Latest member
tudou

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top