Excel count formula

%3CLINGO-SUB%20id%3D%22lingo-sub-1522718%22%20slang%3D%22en-US%22%3EExcel%20count%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1522718%22%20slang%3D%22en-US%22%3E%3CP%3EHI%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20someone%20help%20me%20to%20arrive%20the%20count%20formula%20for%20the%20below.%20Need%20to%20arrive%20the%20count%20based%20on%20the%20branch%20where%20the%20status%20is%20%22Yes%22.%26nbsp%3B%20For%20Eg%3A%20Accounts%20%3D%204.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%20width%3D%22177%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2277%22%3EBranch%3C%2FTD%3E%3CTD%20width%3D%2255%22%3ECountry%3C%2FTD%3E%3CTD%20width%3D%2245%22%3EStatus%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAccounts%3C%2FTD%3E%3CTD%3EIndia%3C%2FTD%3E%3CTD%3EYes%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EFinance%3C%2FTD%3E%3CTD%3EUK%3C%2FTD%3E%3CTD%3EYes%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EEngineering%3C%2FTD%3E%3CTD%3EUSA%3C%2FTD%3E%3CTD%3EYes%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAccounts%3C%2FTD%3E%3CTD%3EChina%3C%2FTD%3E%3CTD%3EYes%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAccounts%3C%2FTD%3E%3CTD%3EFrance%3C%2FTD%3E%3CTD%3EYes%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EEngineering%3C%2FTD%3E%3CTD%3ESpain%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EAccounts%3C%2FTD%3E%3CTD%3EItaly%3C%2FTD%3E%3CTD%3EYes%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3EFinance%3C%2FTD%3E%3CTD%3EPoland%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1522718%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1522725%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20count%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1522725%22%20slang%3D%22en-US%22%3E%3DCOUNTIFS(Criteria_range1%20%3D%20Branch%20column%2C%20Criteria1%20%3D%20Accounting%2C%20Criteria_range2%20%3DStatus%20column%2C%20Criteria2%20%3D%20%22Yes%22)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1523613%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20count%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1523613%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F728931%22%20target%3D%22_blank%22%3E%40Siso90%3C%2FA%3E%26nbsp%3B%20it%20is%20working%20fine%2C%20thank%20you%20very%20much%20for%20your%20immediate%20support.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

HI,

 

Can someone help me to arrive the count formula for the below. Need to arrive the count based on the branch where the status is "Yes".  For Eg: Accounts = 4.

 

BranchCountryStatus
AccountsIndiaYes
FinanceUKYes
EngineeringUSAYes
AccountsChinaYes
AccountsFranceYes
EngineeringSpain 
AccountsItalyYes
FinancePoland 
2 Replies
=COUNTIFS(Criteria_range1 = Branch column, Criteria1 = Accounting, Criteria_range2 =Status column, Criteria2 = "Yes")

@Siso90  it is working fine, thank you very much for your immediate support.