Countif formulas needed

Kazdima

Board Regular
Joined
Oct 15, 2010
Messages
226
Hello everyone,
I would appreciate anyone's help with 2 formulas.

Formula in Column “G”= IF(COUNTIF($C$2:c2,C2)=1,1,””). It counts unique names of Clients for the period
Reflected in Column “A”, who received services GFAP(Column E) in the period in Column “D”. Counts only once the name.(E.G> ABANOedgaro)
Formula in Column “H”=IF(AND(D2>=A2,(COUNTIF($C$2:C2,C2)=1)). It counts New clients in the period in Column A who got “First Service” in column “D” which matches the period in column “A”.
NEED formula in column “I”. It counts clients received services in Current month Column “D”, who were new patients one month before. E.G. if we count new clients in April 2015(column A), so P2 are new clients from March.
NEED formula in column “J”. It counts clients received services in Current month Column “D”, who were new patients one monthbefore. E.G. if we count new clients in April 2015(column A), so P3 are new clients from February.
ABCDEFGHIJ
DateLocationFirst,Last Nameymd_first_servicegfapamountUnique Names of Clients NEW Clients Period 2Period 3
Jan-15Company1ABADagnes11/17/14PT/Physio140 .=IF(COUNTIF($C$2:C2,C2)=1,1,"") .=IF(AND(D2>=A2,(COUNTIF($C$2:C2,C2)=1)),1,"") Need formula Need formula
Jan-15Company2ABANOedgardo11/22/13Comp Stock/ Pdts4001
Jan-15Company3ABANOedgardo11/22/13DC/Admin95
Feb-15Company1ABANOedgardo11/22/13Orthotics300
Feb-15Company2ABANOedgardo11/22/13RMT55
Feb-15Company3ABBAIsrividhyavathi5/5/08DC/Admin2401
Feb-15Company4ABBASIfrances5/8/14PT/Physio15601
Feb-15Company5ABBATIELLOjonathan8/14/14DC/Admin451
Mar-15Company1ABDALLAjamil10/28/14RMT901
Mar-15Company2ABDELRAZEKnermean1/19/15DC/Admin1101
Mar-15Company3ABDELRAZEKnermean1/19/15PT/Physio150
Apr-15Company1ABDOOLkim2/16/13DC/Admin351
Apr-15Company2ABDUL-HAKIMhusain9/23/14DC/Admin01
Apr-15Company3ABDUL-HAKIMhusain1/29/15DC/Admin111
Apr-15Company4ABDUL-HAKIMhusain9/23/14PT/Physio98.86
May-15Company2ABECASSISmarcos11/24/14MVA1077.41
May-15Company3ABENOJAcharina1/14/15DC/Admin951
May-15Company4ABENOJAcharina1/14/15PT/Physio355
May-15Company5ABITRANTElorena4/1/14PT/Physio1951

<colgroup><col><col><col><col><col><col><col><col><col span="2"></colgroup><tbody>
</tbody>
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Does anybody knows how to build a dynamic Countif formula??? Please help if anyone knows. Thank you.
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,490
Members
448,967
Latest member
visheshkotha

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