Data Orgenization with VBA

vinay

New member
Joined
Oct 23, 2011
Messages
10
Reaction score
0
Points
0
I know a little about VBA for Excel.
Let me know if the following problem can be solved:

(file attached)
 

Attachments

  • TC.xlsx
    17.6 KB · Views: 32
Question for you... are you going to just be adding to this list, or maintaining it?

Reason I ask is that, if you're just going to be adding new players to it and their quantities, I'd be tempted to set up a list and append the data there, then use a PivotTable to summarize it in the format you're looking for.

Regardless, the format of your input should change as it will be nasty to try and extract it from what you entered.

I'd suggest a format change to do the following:
-Set the name of the player in one cell
-Have a table where you
-->Select the troop type
-->Select the troop subtype
-->Insert the troop quantity

With that, you could switch the table to be able to pick the troop type/subtypes from a list, and enter all your players troop details at once.

After that, we'd need to write a little VBA to append the data to a table and refresh a PivotTable.
 
Back
Top