Firstly, my apologies for the line breaks – not sure why they are happening
or how to get rid of them.
Sure, you can advance filter by more than one column. you just need to play
with it and work out when filtering is best and when your pivot should take
over.
If you are really always just using those two columns, then copy both column
headings into the first line. (either on your original sheet or the
‘criteria’ sheet – whichever method you chose to test).
If you sometimes want to filter by those columns and sometimes by other
columns then you can actually just copy EVERY one of your column headings
into the first line.
Once you have that set up you then just add your criteria to line two.
So if you did copy all your column headings (let’s pretend you have 10
columns); you just put =â€=†under the invoice heading and leave the others
blank. This will filter by blank only. If instead you want to filter by
invoice AND ‘off hired’ then you put =â€=†under the invoice heading and then
put =â€=off hired†under the appropriate column heading.
The combinations you can do can get more and more complex. There are
examples available in the excel help under “Filter by Advance Criteriaâ€.
These examples can be copied into your own spreadsheet so you can play with
them. The same information is more clearly presented at the following web
page
http://office.microsoft.com/en-gb/excel/HA012186941033.aspx . The web
page is easier to read, but searching from within excel allows you to copy
the examples.
The help doesn’t have information about using the ‘criteria’ sheet. I just
found that by playing with some data. I found a new thing today as well.
I’ve just done a wee test and if you use the Criteria sheet you could
actually set up a few ‘default’ filters and then mix and match which ones you
used. (I can send you an email attachment if you like to make it clearer).
For example, I set up a data sheet with Invoice, Hired, and Value as the
columns headings and then I just put dummy data underneath.
Then I created a sheet called ‘Criteria’ and copied these headings into line
1, line 5 and line 11. (I just picked those at random!)
Now in Line 2 I put my filter for no invoices; in line 6 I put my filter for
off hire, and in line 12 I put a filter for both. Now, every month I can
decide which to use and could maybe create more than one new tab to create
different subsets of the base data.
M-A
(e-mail address removed) (replace hl with hotmail)
PS – I still think putting the filter on your pivot table might be easier ;-)