The application requires that the spreadsheet you use be published. This application is read-only; it will not modify the spreadsheet you provide.
First, make sure your document is published by going to the Publish tab within the Spreadsheets application. Next, copy and paste the URL of spreadsheet. Visit this application and click 'Load Different Sheet' and paste the URL. The autofilter application will then open your document for you.
Remember that loading large documents can take a very long time, especially in Internet Explorer. If your document is small and has not loaded in about 10 seconds or so, please verify that you provided a valid key and the document is published.
The whole use of this application is to auto-filter your large data-sets. To filter based on a column, select a value to filter on in the drop-down box at the head of the column.
When you pick a value, only entries in that column that match that option will be shown. To clear the filtering, choose 'Show All' from the filter drop-down box.
It's also possible to filter on multiple columns. Just continue applying filters in different columns, and only rows that match all conditions will be shown.
To make switching to this application from your spreadsheet easy, a bookmarklet is provided. After publishing your document from the Spreadsheets application, hit the bookmarklet link that you saved, and it will take you to this auto-filter application and load up your sheet automatically.
Drag this button: Open in AutoFilter to your bookmarks toolbar to install the bookmarklet. To use it, click the bookmarklet when you're visiting the Spreadsheets document you want to auto-filter.
The real power of this application comes from its powerful support for custom filters. Say you want to show all rows where a value is less than or equal to 5. With simple filtering, that's just not possible. With custom filters it's not only possible—it's also easy.
To use a custom filter, choose 'Custom Filter' from the drop-down box in the column you want to filter on. A prompt box will show up, asking you to fill in your filter. Your expression can be as simple or complicated as you like. Here are the general rules:
Does this look a little confusing? Custom filters support 'natural-language' filters, too! Skip down to 'natural-language' filters, below.Basically, expressions are written just like they'd be in C, Java, Javascript, and any number of other languages. The variable 'value' will be set to the value currently being considered for inclusion. More specifically:
A few examples:
The following functions are supported:
Those mathematical expressions are useful, but they can be intimidating. Luckily, this application also understands a lot of basic natural language expressions, too.
Note that natural-language filters are all just window-dressing to make intimidating and precise filters less scary. If you've got any programming experience at all, you should proabably stick with the precise filters. Of course, sometimes people that aren't programmers want to do auto-filtering, too—and that's exactly why this application supports natural language filtering.All of the following are valid natural-language filters. Give them a try, or make your own!
This section is intended for people that don't feel comfortable with 'precise' filters. If you've got even a lick of programming experience, you shouldn't be here; go re-read the section on precise filters, above!There are lots of ways! The easiest is to hit the 'Load Different Sheet' link at the top of the page. Make sure you have the URL of your published sheet handy. When the dialog box pops up, just paste in the URL to your sheet, and the program will automatically extract the key. Alternatively, you can append '?key=xxxxx' to the end of the URL of this application, where xxxxx should be the 23-digit key for the document you want to view (the key can be found at the end of the URL you use to view the document on Google Docs and Spreadsheets). Finally, there's a handy-dandy bookmarklet that will automate the whole process for you. More information on that is available in the bookmarklet question below.
The page just says that the spreadsheet is loading... and never stops. What gives?If your document is not published then this application will have no way to access it. Unfortunately, due to the way the Spreadsheets API is designed combined with security restrictions built in to browsers, there's no good way for this application to detect when you're trying to load an unpublished sheet (at least, not without involving a server). Luckily, publishing a document is easy: when viewing your spreadsheet, go to the 'Publish' tab in the upper right-hand corner. Hit the 'Publish Document' button to make the document viewable—but not editable—by anyone who knows the document's URL. Then, you can either use the convienent bookmarklet (see next question) or copy and paste the URL it provides.
How do I use the bookmarklet?The bookmarklet is very easy to use. When you're viewing your (published) spreadsheets on Google spreadsheets, just hit the bookmarklet. It will take you to this application and automatically load your spreadsheet. Installing the bookmarklet is easy, too. Just scroll to the bottom of the window until you see the button marked 'Open in AutoFilter.' Drag that button onto your bookmarks toolbar, and you're done!
I want to view my spreadsheet without having to scroll left and right. Is there a way to fix that?Sometimes, if you have a lot of columns with a lot of text in them, your spreadsheet might not fit horizontally in the space provided. Luckily, it's possible to tweak the size of the select boxes. Just hit the 'Adjust Column Widths' as the top of the page, and enter a smaller number. Unfortunately, due to a large number of various browser and DOM quirks, it's not possible for the application to easily figure out the optimal column widths itself.
I want to share a specific sheet I'm viewing in this application with someone else. How do I do that?It's possible to create a link that will automatically load up the spreadsheet you're viewing. Just use the current URL, but add the text '?key=xxxxxxxxxx' (where key xxxxxxxx is the 23-digit key for the document you want to share). People visiting that link will be taken directly to the sheet you're viewing. Note that any filtering you've done in this application will not be reflected in the version your friends will visit. If you used the bookmarklet to get to this application, then you can just give your friends the URL as is.
I tried to make a custom filter, but it didn't show the rows I wanted. What's wrong?One of the strengths of this application is its powerful support for custom filters. Unfortunately, the more power you have, the more the potential for confusion grows. Often, the problem will be that the precedence of operators is not what you would expect. To override operator precedences, make liberal use of parentheses to group statements in the way you want them. For example, instead of the potentially confusing "value is orange or value contains 'a' and value is not 'apple'" use "(value is orange or value contains 'a') and value is not 'apple'".
Keep in mind that the natural-expression parser is trying to make educated guesses about what your ambiguous expressions mean. If you're not getting what you expect, try to make it guess less by being more precise; for example, "red or orange" is less precise than "value is 'red' or value is 'orange' ".
One other trick is to get a peek into what the computer thinks your statement says. If you select 'Custom Filter' from the drop down again, the prompt box will be auto-filled with how the computer understood your last filter for that column. Although the text can sometimes be confusing, it will often give insight into what exactly went wrong—and even if you can't fully understand it, how the computer grouped your statements should be clear.
Is it possible to work with data that's not on the first sheet of my spreadsheet?The short answer is no. But don't give up hope! Although there's no UI for it, you can actually change the sheetID by appending ?sheet=xxxxx to the end of the autofilter application URL, where xxxxx is the id of the sheet you want.
In other spreadsheet programs, I can use wildcards to filter. Can I do that here?Of course you can! Use the '*' character to match any 0 or more characters, and the '?' character to match exactly one of any character. Use '\*' or '\?' if you don't want the character to be interpreted as a wildcard. Strings derived from expressions containing 'value' will never be interpreted as containing wildcards. In other words, the only strings that are allowed to have wildcards are ones that you type into your expression directly.
My data is showing up all wrong! What's the problem?The Google Spreadsheets API requires that the first row of your spreadsheet be a header row in order to work correctly—that is, the first row of your spreadsheet should be the name for each column. Try reformatting your spreadsheet and trying again.
Will this mess with my spreadsheet's data?This application uses the published data from your spreadsheet, so rest assured it cannot—and will not—alter your original spreadsheet.
< Back to application