tycasey17
Board Regular
- Joined
- Sep 26, 2013
- Messages
- 93
- Office Version
- 2019
- 2016
- Platform
- Windows
I am wanting to count the number of personnel within a defined name. I have tried using =COUNTIF(A1:A5,_OFF) "_OFF" is the defined name having various titles in them. The overall outcome of the formula I am needing help with is to show there are 4 doctors of the entire range using the _OFF defined name. For example:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name (Name is irrelevant)[/TD]
[TD]Title[/TD]
[/TR]
[TR]
[TD]Doe, John[/TD]
[TD]Mr.[/TD]
[/TR]
[TR]
[TD]Doe, John[/TD]
[TD]PhD[/TD]
[/TR]
[TR]
[TD]Doe, John[/TD]
[TD]MD[/TD]
[/TR]
[TR]
[TD]Doe, John[/TD]
[TD]DO[/TD]
[/TR]
[TR]
[TD]Doe, John[/TD]
[TD]PhD[/TD]
[/TR]
</tbody>[/TABLE]
Defined Name: "_OFF"
[TABLE="width: 500"]
<tbody>[TR]
[TD]PhD
[/TD]
[/TR]
[TR]
[TD]MD[/TD]
[/TR]
[TR]
[TD]DO[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name (Name is irrelevant)[/TD]
[TD]Title[/TD]
[/TR]
[TR]
[TD]Doe, John[/TD]
[TD]Mr.[/TD]
[/TR]
[TR]
[TD]Doe, John[/TD]
[TD]PhD[/TD]
[/TR]
[TR]
[TD]Doe, John[/TD]
[TD]MD[/TD]
[/TR]
[TR]
[TD]Doe, John[/TD]
[TD]DO[/TD]
[/TR]
[TR]
[TD]Doe, John[/TD]
[TD]PhD[/TD]
[/TR]
</tbody>[/TABLE]
Defined Name: "_OFF"
[TABLE="width: 500"]
<tbody>[TR]
[TD]PhD
[/TD]
[/TR]
[TR]
[TD]MD[/TD]
[/TR]
[TR]
[TD]DO[/TD]
[/TR]
</tbody>[/TABLE]