Military Members

thetank

Board Regular
Joined
Mar 17, 2005
Messages
142
I am in the military and I need to keep track of how many people we have in our unit (over 500). They want to know how many of each rating we have and what pay grade they are in.

Example
BU1 Smith is an Builder (BU) and is an E6
BUC Nelson is a Builder (BU) and is an E7
BUCN Schmukatelli is a Builder (BU) and is an E3
EO3 Deere is an Equipment Operator (EO) and is an E4

We also have other ratings other than BU, EO etc.. that would fall into an other category, but they still want to know how many of each.

Basically I need to know how many E1's, E2's, E3's, etc we have: how many BU3's, BU2's, BU1's etc. we have, and then how many E5 and above we have in each category as well as overall.

I have gotten a majority of it figured out but I am having trouble getting the program to recognize the difference between say a ABFSN (Aviation Boatswains Mate E3) and an ABF1 (Aviation Boatswains Mate E6).

Thanks in advance
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
thetank said:
Not familiar with pivot tables!?!?

Well, there's no time like the present to learn. :)

Simply, select a single cell in your data list, and choose the "PivotTable..." entry in the Data menu. Let the wizard take you by the hand. It's all drag and drop.
 
Upvote 0
To learn more just enter "PivotTable" as a keyword on the Answer Wizard tab of the Excel online Help system.
 
Upvote 0
Try this link: www.excel-vba.com

Look for Dynamic reporting

There is a sample spreadsheet setup that will do what you are looking for.

There is no VBA (macro) in this workbook, He just uses SUMPRODUCT formulas and drop-down lists created with Data/Validation.

Sorry for the Butt in; I did not see all the exchanges till after I posted.
 
Upvote 0
Mark W. said:
It's the least that I can do for the men and women in uniform...
Book1.xls
ABCDEFGHIJK
1Rate/RankNameRatingGradeCount of NameRating
2ABF3LANGABFE4GradeABFBMBUGrand Total
3BM2SHOCBME5E411
4BMCGRAYBME7E511112
5BU1DAILBUE6E61616
6BU1SCHWBUE6E711
7BU1HATCBUE6Grand Total122730
8BU1ALBEBUE6
9BU1NELSBUE6
10BU1CHENBUE6
11BU1LEWIBUE6
12BU1WALLBUE6
13BU1GAMMBUE6
14BU1MEELBUE6
15BU1GOINBUE6
16
17
18
Sheet1

This worked for most but there was a problem with a few of the rates. Here they are:

CEC MIHA
CEC HAVI
CMC TURN
CMC LUCI
CMC MCCR
CMC EATO
CMC BLAC
CMCS HAMI
CMCS ATTE
CSCS FREI
CSSN NEAL
CUCM HEIK

These returned a blank spot in the rate column and gave a rank of E7

CEC is a Construction Electrition E7
CMC is a Construction Mechanic E7
CMCS is a Construction Mechanic E8
CSCS is a Culinary Specialist E8
CSSN is a Culinary SPecialist E3
CUCM is a Construcion Utilites E9

All of the rates can have a C, CS, or CM behind them.

Also, I want to protect the sheet so it can't be changed and leave about 600 cells for entry. If there is no data I would like it to be blank. Right now it returns a #N/A if there is no data in front.

Thanks again
 
Upvote 0
These returned a blank spot in the rate column and gave a rank of E7

CEC is a Construction Electrition E7
CMC is a Construction Mechanic E7
CMCS is a Construction Mechanic E8
CSCS is a Culinary Specialist E8
CSSN is a Culinary SPecialist E3
CUCM is a Construcion Utilites E9

All of the rates can have a C, CS, or CM behind them.

What's a SN?
 
Upvote 0
The Navy has several different "services" within itself.

From E1 to E3 you have four different rank structures:

Seaman Hospitalman Fireman Constructionman
E1: SR HR FR CR
E2: SA HA FA CA
E3: SN HN FN CN

This is why I am having a hard time. I don't know Excel well enough to figure out how to keep them all separated.

I am with a construction battallion and we typically have only construction related rates, but since we are reservists, they sometimes put non construction related personel in our unit. They eventually change to construction ratings, but we still have to account for them in their current rate.
 
Upvote 0

Forum statistics

Threads
1,215,430
Messages
6,124,852
Members
449,194
Latest member
HellScout

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