Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with searching in EXCEL

Status
Not open for further replies.

SteveLord

IS-IT--Management
Jun 7, 2006
360
US
I just started working for the Board of Medicine and I need to find out how to count these doctors better.

We have over 48,000 total, but that includes dead guys all the way back 100 years or something.

Anyway, I need to count how many specialize in Psychiatry, but are also ACTIVE. Now, in EXCEl there is a column for each of these. Each specialization has a number and another column will have a 3 if that person is still active.

How can I count how many serve a certain specialty and also find out if they are active?

Thanks. Excel newb here.


----------
IT Admin
Iowa Board of Medicine
 




Hi,

Check out the AutoFilter. You can set criteria on multiple columns.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Hope I was specific enough. If not, here's another way to ask it.

Like, how do I search for how many rows contain a value of 60 and then a few columns over, have a value of 3? How can I only get results that meet that?




----------
IT Admin
Iowa Board of Medicine
 




There are all kinds of ways to skin a cat.

1) AutoFilter:
a) Data > Filter > AutoFilter
b) Set first column criteria to 60
c) Set second column criteria to 3
d) Select ONE COLUMN within the table
e) Right-Click in the Status Bar (bottom edge) and select COUNT.

2) Use Named Ranges:
a) Select ALL data in your table, including the headings
b) Insert > Name > Create - Crete names in TOP row.
c) =SUMPRODUCT(--(YourFirstColumn=60)*(YourSecondColumn=3))

3) PivotTable: Use the PivotTable wizard to report on MANY summary values within your table.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 



More specifically with the PivotTable, drag the two field headings in question into the PAGE area and use the Count of Doctor Name. Then select 60 and 3 respectively.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Thanks Skip. That did the trick!

----------
IT Admin
Iowa Board of Medicine
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top