Posts

Count the number of Rows after Auto-Filter in Excel

When you first apply an Auto-Filter in Excel, the Status Bar indicates the number of records in the filter (e.g. 517 of 8614). In many cases when you start performing other manipulations, the number disappears. Using a simple formula, you can calculate the filtered total. Assume you want to count all rows that are not empty -- the CountA function -- and assume you want to count the rows in column A. The formula would be SUBTOTAL(103,A:A)-1 . The syntax is as follows: subtotal(function_number, reference) , where function_number is 1 of many possible options as illustrated below. I included the "-1" to remove the count for the column heading row. function_num (includes hidden values) function_num (ignores hidden values) function 1 101 AVERAGE 2 102 COUNT 3 103 COUNTA 4 104 MAX 5 105 MIN 6 106 PRODUCT 7 107 STDEV 8 108 STDEVP 9 109 SUM 10 110 VAR 11 111 VARP Note: I used Excel 2003 for this example.

Increase IIS on XP Maximum Connections

With increasingly more complex web pages, I found myself running into a limit in the number of IIS connections allowed for the constrained web server on Windows XP. By default Microsoft has limited the connections to 10. Even when I changed the time to release connections down to 5 minutes, I was still running into problems. With a little Google searching, I found a solution ( here , here , and here ). Apparently the hard-coded limitation Microsoft has set is 40 connections. The trick is determining how to raise the level from 10 to 40. There's a script, adsutil, that can do this for you. Go to the Command Prompt and navigate to C:\Inetpub\AdminScripts. Enter "adsutil set w3svc/MaxConnections 40". If you get an error message, "This script does not work with WScript," click OK and click Yes to make Cscript as the default script for VBscript. When this completes, go back to the Command Prompt and press F3 (repeats last command) and Enter. If you were successful, t

Love @ First Website 2009 notes

Image
For the last five years iSiteDesign has been hosting Love @ First Website ( #LFW ). It's a half-day event where you get to listen to 3 or 4 speakers share about their business and their website and/or web presence. I've attended 3 of the 5 events and have always taken away a few nuggets. This years theme was "Dare to Delight." My notes follow. Carri Bugbee Owner of Big Deal PR; Instructor of Social Media Marketing at Portland State; and ghost tweeter as Mad Men's (AMC) Peggy Olson (@peggyolson) Twitter @peggyolson Lessons: 1. Get there first 2. Stay on message 3. Always listen first 4. Admit when you're wrong; Give credit due 5. Build community; everyone wants to be acknowledge. 6. It's a real job; it's a real tool (i.e. It takes time and effort to have a Twitter/social presence) Paul Zaengle Sr. Director of eCommerce, Columbia Sportswear Columbia Sportswear basics: 1. Make Brand the #1 Focus 2. Be Truly Multi-channel (Zipcar demonstrated this) 3. Th

Exclude Websites in Your Searches / Custom Searches

Image
I've been doing quite a bit of research lately on technical topics, where the results would frequently include results from a pay site, Expert Exchange. If you;re familiar with Expert Exchange, they've been very successful in getting their pages to return high in the list of Google results. I have found it very frustrating when I inadvertently click-through on one of their pages. With a little research, I found that Google has a custom search option, where you can include and exclude certain websites. I have created a custom search that includes all Google results with the exception of Expert Exchange. To make it really useful though, I needed it to be in my search bar in Firefox, which I use almost exclusively for new searches. I found a Firefox Add-on to do that too. Here's how you can make your own custom search. If you don't already have one, you must have a Google account. Go to the Google Custom Search page and click "Create a Custom Search" I had to

Clean imported Excel data

Sometimes when I get data from systems in CSV format, it includes a leading apostrophe ('). When viewing the data in a cell, the apostrophe does not appear, but when I look at it in the formula bar, it does. Without removing the leading apostrophe, any comparisons come up false. I tried removing the first character, but it removed the first displayed character. If you have a numeric field, you can divide the it by 1 (=c2/1), but that doesn't solve the problem for text fields. The solution is a built-in function Clean: =CLEAN(C2).

Windows 7 is (finally) here

Congratulations to Microsoft for their delivery of Windows 7! You can search about anywhere and read stories from all the news outlets. Of course the industry experts have been talking about it for longer, and have reported good things. I think it's worth mentioning a couple good practices when considering new software, particularly when it's an OS. Unless you have a compelling need, don't be first. In the case of Win7, I think we can be fast followers, but give it a few weeks to be sure there are no significant, unforeseen problems. Wait and get the OS on a new machine. Why? You're likely running XP, which means there's no clear upgrade path -- you need to re-install. It's possible your machine is 3 or more years old -- you bought one just before Vista came out, because you knew it had problems, so it's likely underpowered for Win7. Benefits include: Drivers will (should) work on the new hardware. You wont have to go through the painful install yourself. (

IE Only - Invalid Argument

I adopted some older code that I think had been working for some time. This code is part of an admin screen, and as I was testing some improvements I noticed an error with Internet Explorer. Since I predominately use Firefox, I'd never detected the error as a user of the admin screen. Internet Explorer reported the first character as having an Invalid Argument. The simple code was opening a new browser window. The problem was a hyphen in the window name (Help - Venues). window.open("venue_all.php","Help - Venues","height=800, width=720,scrollbars=yes")