7 Comments »

Are you tired yet of hearing about the Seinfeldian chain? No? Excellent!

If you don’t know what the heck I’m talking about, you can read about Seinfeld’s productivity secret at LifeHacker.

The whole premise is that if you want to motivate yourself to do something, get yourself a big calendar, and mark a big red X on it every day that you accomplish that goal. The idea is to keep marking X’s, and to not break the chain. “Don’t break the chain”, says Seinfeld.

It’s a wonderfully simple idea, and thus has become quite popular in the blogosphere. It seems that every time I turn around, there’s another post in my feed reader about Seinfeld’s chain, or the Seinfeldian Chain, if you will.

Now, there’s even a cute online application that provides said big calendar, complete with red X functionality. The folks over at SmarterFitter allow you to create a web page for your very own chain.

But what if you don’t want to have a web page devoted to each and every chain that you might want to monitor for yourself. What if you want to see several goals at once? What if you just hate online apps? What if you have a secret, or not so secret, spreadsheet fetish?

Well, have I got a deal for you.

Inspired by the SmarterFitter web page, along with David Seah’s recent Excel Gantt Chart spreadsheet, I decided to make myself an Excel spreadsheet to hold multiple Seinfeldian Chains. Its layout is very much based on the old Lotus Organizer Planner view, which was great for seeing an entire year at once, with colour-coded blocks to show when you were on vacation, working on various projects, etc. (Man, I loved that software many years ago!)

Here’s what my spreadsheet looks like:

Note that I’m using Excel 2007, which means that I can make use of the diagonal lines inside a cell in order to make my X’s. If I recall correctly, the diagonals are new to 2007, but I could be wrong. However, even if you don’t have access to these diagonal lines, you can still make use of the spreadsheet. Instead of marking an X, just colour in the cell.

The reason I like working with Excel is that it’s so very versatile, especially where boxes and lines are concerned. All I did was:

  • lay out the remaining months of 2007, one per row
  • offset the first day of each month so that it starts on the right day
  • use dark grey to shade in weekend days
  • use light grey to shade in unusable cells
  • insert the date numbers into each cell; using a smaller font, in a grey colour, makes it look like a real calendar
  • play with the column width and row height so that each cell was approximately square
  • separate all days of the month with thin lines
  • outline the whole month’s days in a bolder line
  • set the background colour for a big portion of my worksheet to white, so that I don’t see the grid lines

I’ve got one worksheet for 2007, plus another that just holds a blank version of the calendar. Now, when I want to add a goal to track, I just copy it from the “Blank” worksheet, and paste it under my other goals. This way, I can track as many goals as I like, all in one place.

You don’t even need to have a spreadsheet program - you can simply upload the xls file to your Google Docs (or any other online document application that handles spreadsheets) and make use of it there. That way, you can take all of your Seinfeldian Chains with you. Here’s what the spreadsheet looks like in my Google Docs:

I did have to recolour the weekends, since both the “unused” grey, and the “weekend” grey came out the same. Plus, I’ve turned the afore-mentioned diagonal line X’s into coloured cells. It’s actually easier to fill in a cell this way, than it is to add two new lines to it.

Downloads

I’m including both the xls and xlsx versions of the spreadsheet. The former will work with Excel 97-2003, as well as any other application that supports xls, e.g., Google Docs. The latter works with Excel 2007.

So, if you want your very own Seinfeldian Chain to customize as you see fit, download one of the files above and start playing with it!

5 Comments »

Have you ever used Excel’s subtotal functionality? It’s great for counting things. For instance, I’m running some tests right now, where the output is a sequence. If I run the test 10,000 times, then I have 10,000 sequences. I want to know how many times each sequence happens.

I copy the output into Excel, then sort the column containing the sequence into alphabetic order, thereby sticking like sequences with like. Then, I use the subtotal feature to count how many times each sequence occurs.

It’s great - it does exactly what I want. See the snapshot below.

The only problem I have is that sometimes I want to manipulate the aggregate information, say, calculate percentages, or compare it to some hand-created date from somewhere else. So, what I really want to work on is the aggregate data, not the underlying information.

As you can see in the diagram, there are actually over 10,000 rows of information in the sheet, even though I can hide all but 20-some. But, when I want to do a calculation on the data, I end up also doing the calculation on the *underlying* data as well. I can’t even just copy the subtotal information to somewhere else, because all of the underlying data comes too!

There has got to be a way around it. After some searching, and some bad suggestions (i.e., didn’t work for me), I discovered help in the form of Joseph Rubin’s ExcelTip.com. You can follow his instructions. It’s really easy. Basically, all you do is:

  1. In the view I have above, I just click on some cell in the data range, e.g., A260.
  2. Press Ctrl+A to select all of the subtotal data (would also include the underlying data).
  3. Magic Step: Press Alt+; (This selects only the *visible* cells. Magic!)
  4. Copy and paste as desired.

Wow, that little Alt+; step is pure magic. You can also get there by using the F5 key (which brings you up the Go To Dialog), selecting Special… and then selecting Visible cells only. Why you can select visible cells only by going through the “Go To” menu is completely beyond me.

As you can see in the screenshots below, selecting visible cells makes them look slightly different. The shot on the left (first) is the Ctrl+A selection (all data, including underlying, hidden, data). Notice the dark border. The shot on the right (second) is Alt+; selection (visible cells only). notice that the border is gone. A good visual way to make sure you’ve selected exactly what you want.

An interesting sidebar: I’ve just gone through the Help for Excel 2007. I originally went there, but had no joy when looking for information about copying and subtotals. But, if you search for “visible data”, you can get to a set of instructions that will let you copy just the subtotals. Funnily enough, there are no shortcut keys provided, just how to do the task with the ribbon. And, there’s not even a listing discussing what the Alt+; keyboard combination is good for! Shocking. It really is magic :)

No Comments »

I’ve been really enjoying the Office 2007 beta, well, most of it. I’ve got a weird quirk with Excel right now that gives me some kind of vbs error every time I open it. And Powerpoint is just too unbelievably slow. So slow in fact that I refuse to use it. But Word and Outlook are definitely great to use. I’m a big fan of the pretty gooey look too. I’m sorry, I just can’t help it.

Anyway, one of the first things I noticed was that I couldn’t find stuff, like commands. I’m so used to using the old menu bars, especially in Word and Excel, that I couldn’t figure out what part of the ribbon I was supposed to be looking at. It took me days to figure out that if I wanted to run a macro, I need to allow the Developer part of the ribbon to be shown (like writing a macro really requires you to be a developer!).

And this is how I figured it out: I did some scouting around and found a great set of pages. Here are three links that can help you figure out exactly where a command is in the new programs. They’re interactive pages that let you navigate in the old menu bars and then tell you where the command is now. So, in my case, I used the one for Word, and navigated to find out how to play a macro. Here’s a shot of the result I got:


And here are the links. I hope they help you as much as they helped me!