Formula Help

nelmagene

New Member
Joined
Sep 13, 2011
Messages
7
Hello, I need help with a formula. I am trying to calculate a value in a specific date range. In Column I, I have dates and I need to track the status of the reports which are listed in column x. I have tried just using cell ranges but the reports are in numerical order not date order, so i end up missing a couple that are out of date sequence.

this is the formula I am trying to use but it returns 0
=countifs(NCR!I105:I510,">=9/1/2011",NCR!i105:I510,"=R")

as I said this returns 0 however in this case it should be 1

I have tried expressing it in many different ways but this is the closest I can get.

there are 3 different statuses open=blank, closed=c, repealed=R

I need to calculate how many reports are in each category per month.

I hope this is clear enough. I have been trying to figure this out on my own all day with no luck.

Thank you in advance.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
=countifs(NCR!I105:I510,">=9/1/2011",NCR!X105:X510,"=R")

Corrected formula
You're formula should work as written but it would be better to use cells to hold the criteria:

A1 = 9/1/2011
B1 = R

=COUNTIFS(NCR!I105:I510,">="&A1,NCR!X105:X510,B1)

If you're getting an incorrect result then you probably have data problems.

Dates may not be true Excel dates. They may be TEXT strings that look like dates.

You might have leading/trailing whitespace characters in cells...

See this for common data problems:

http://contextures.com/xlFunctions02.html#Trouble
 
Upvote 0
Thanks for the information. I have relooked at all the cell formatting, and it is correct.

When I just use =count and either half of this formula they both work as they are suppose to. So each agruement is valid by itself but they are not playing nice together.


Thanks again for your input
 
Upvote 0

Forum statistics

Threads
1,224,545
Messages
6,179,432
Members
452,915
Latest member
hannnahheileen

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