I wasn’t so much bored, as I had some free time and needed to work on my spreadsheet skills. If you have a Mac and Numbers '08, you can download the file: files.me.com/mtngoatjoe/mo1660.numbers.zip


It’s a bit too complicated to export to Excel, and I don’t have Excel, so please don’t ask for an Excel version. Sorry.
I used it a couple of times. My buddies gave me crap about it as I worked out the bugs, so I stopped using it. Then they asked where it was. Since they all work at Microsoft, I took that as a bit of a compliment.
Anyway, if you want to make an Excel version, you’ll first need to figure out how to make a popup menu and apply conditional formatting so that it changes color depending on the country selected.
Then you’ll need a cell for each country that adds up all the IPCs for the territories they control. My code looks like this:
- =SUM(SUMIF(C4:C34,“Russia”,B4:B34),SUMIF(G4:G13,“Russia”,F4:F13),SUMIF(K4:K33,“Russia”,J4:J33))
The SUMIF commands look at the first range of cells in the parentheses (the popup menus), and for the popup menus that equal “Russia”, then it adds the IPC values listed in the next range of listed cells (which are to the left of the popup menu cells.
For the victory cities, I do a little bit of visual trickery to keep things looking nice, so you can’t usually see these cells in the screenshots. Basically, the Victory Cities and IPCs summaries are separate tables sitting on top of the table with all the popups. I don’t think it’s possible to do this in Excel, so you’d have to use a separate sheet. In the screenshot below, I’ve moved the tables and showed the underlying cells.

Anyway, I list all the territories that have victory cities and set the cells to the right of them to equal the corresponding popup menu. Then I have two cells, one each for the Axis and Allies, that has the following code:
-
=SUM(COUNTIF(F23:F34,“=United States”),COUNTIF(F23:F34,“=United Kingdom”),COUNTIF(F23:F34,“=Russia”))
-
=SUM(COUNTIF(F23:F34,“=Germany”),COUNTIF(F23:F34,“=Japan”))
The COUNTIF function basically looks at a list of cells and adds up the number of times the content of the cells equals the specified text. If you do this for each partner and add the results using the SUM function, you get the total number of victory cities each side controls.
Well, that’s about it. Questions, comments, and suggestions are appreciated.
Ps. Maybe I do have too much time on my hands :-\