countif formula

kumar1803

Board Regular
Joined
Jan 7, 2015
Messages
110
Hello,

Please help me build the count if formula based on criteria below:

1. I need to put a alert if any deal is over 2 days from contract date for TX state only
2. I need to put a alert if any deal is over 14 days from contract date for all other states.

[TABLE="width: 182"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Buyer State[/TD]
[TD]Contract Date
[/TD]
[/TR]
[TR]
[TD]TX[/TD]
[TD]11/2/2015[/TD]
[/TR]
[TR]
[TD]TX[/TD]
[TD]11/2/2015[/TD]
[/TR]
[TR]
[TD]TX[/TD]
[TD]11/2/2015[/TD]
[/TR]
[TR]
[TD]NV[/TD]
[TD]11/3/2015[/TD]
[/TR]
[TR]
[TD]OH[/TD]
[TD]11/3/2015[/TD]
[/TR]
</tbody>[/TABLE]


Thanks
 

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.
Maybe:


Book1
ABCDE
1Buyer StateContract Date
2TX01-01-20161. I need to put a alert if any deal is over 2 days from contract date for TX state only2
3TX12-01-20162. I need to put a alert if any deal is over 14 days from contract date for all other states.1
4TX01-01-2016
5NV12-12-2015
6OH11-01-2016
Sheet1
Cell Formulas
RangeFormula
E2=COUNTIFS($A$2:$A$6,"TX",$B$2:$B$6,"<="&TODAY()-2)
E3=COUNTIFS($A$2:$A$6,"<>"&"TX",$B$2:$B$6,"<="&TODAY()-14)
 
Upvote 0
Thank you for formula. Can you please combine the formula in to one so i can use just one formula to find both value. may be use If formula.
 
Upvote 0

Forum statistics

Threads
1,223,247
Messages
6,171,004
Members
452,374
Latest member
keccles

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