Count instances if Yes is indicated

gimage

New Member
Joined
Apr 18, 2008
Messages
23
I'm trying to count how many times a part of a word appears if a Yes condition appears in an adjacent column.
The "2" is how many times "Yes" appears when the word "Task" appears also.
Thanks for any help with this.
Greg.
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 109"]
<tbody>[TR]
[TD="class: xl126, width: 109"]Tasks Completed[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 72"]
<tbody>[TR]
[TD="class: xl126, width: 72"]Description[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 69"]
<tbody>[TR]
[TD="class: xl126, width: 69"]Technician[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 69"]
<tbody>[TR]
[TD="class: xl126, width: 69"]Completed[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Task1[/TD]
[TD]Ed[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Task2[/TD]
[TD]Boe[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Task3[/TD]
[TD]John[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]No Assignment[/TD]
[TD]Bob[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,223,888
Messages
6,175,219
Members
452,619
Latest member
Shiv1198

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