CountIf of the Data

Abhirockie

Board Regular
Joined
Jan 18, 2016
Messages
73
Actual Data is Below If I want to count Column D ( Travel to Paris Yes =4, Travel to Paris No =5).

Expected: I want to see the Data Minus Column C. ( Travel to Paris Yes =2 Should be the result)


Sl.NoNamesTravel BanPeople Who can Travel Travel to Europe
1​
AYesYes
2​
bYesYes
3​
cYesYes
4​
dYesYesYes
5​
eYesNoYes
6​
fNoYes
7​
gNoYes
8​
hNoNo
9​
iNoNo

Expect Result
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Excepted Result = 3
Count of E Column Yes Values 7 - Total Applied only for Yes (4)

Sl.NoJob#AppliedPart-time JobFull Time
1​
120​
YesYes
2​
130​
YesYes
3​
140​
SamYesYes
4​
150​
PeterYesYes
5​
160​
YesYes
6​
170​
JimYesYes
7​
180​
JoeYesYes
8​
190​
YesNo
9​
120​
JoeYesNo
Total
5​
Partime Jobs Total (YES) Cloumn D
9​
Full-Time Jobs Total (Yes) column E
7​

 
Upvote 0
Not sure if this is what you mean, with the limited description:

Book3.xlsx
ABCDE
13Sl.NoJob#AppliedPart-time JobFull Time
141120YesYes
152130YesYes
163140SamYesYes
174150PeterYesYes
185160YesYes
196170JimYesYes
207180JoeYesYes
218190YesNo
229120JoeYesNo
23Total5
24
25Partime Jobs Total93
26Full-Time Jobs Total7
Sheet725
Cell Formulas
RangeFormula
E25E25=COUNTIF(E14:E22,"Yes")-COUNTIFS(C14:C22,"<>",E14:E22,"Yes")
 
Upvote 0
Solution
Glad to help, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,050
Messages
6,128,498
Members
449,455
Latest member
jesski

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