Word is not really the best thing to use for data manipulation. I would add
a column to your Excel spreadsheet that you populate with a 1 or a O by
using the formula/functions that are available in Excel and then use that
one column as a basis for filtering the records.
When you want to use some different criteria, modify the formula that
populates that column so that the required records are assigned the
appropriate value.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
>I am trying to use the advanced filters. We have an Excel spreadsheet that
> we have our list and are merging it with a form in Word. The Excel file
[quoted text clipped - 19 lines]
> Thank you for your help with this.
> Jan
Perhaps I didn't explain very well. The Excel spreadsheet keeps our data.
One of the data columns has a code, there are about 10 different codes that
are used in that column to represent the condition of the individual in that
record. In merging the information from the spreadsheet into the Word
document, this column tells us how to treat each individual, in other words,
if they should be receiving the letter that is being sent. In the current
situation, there are 7 codes in this particular column that represent the
individuals who will receive the letter and three codes will not be part of
the merge. So I was trying to select these specific individuals by using
the Filter capabilities in the advance merge selection. I hope this
clarifies our situation.
Jan L
> Word is not really the best thing to use for data manipulation. I would add
> a column to your Excel spreadsheet that you populate with a 1 or a O by
[quoted text clipped - 28 lines]
> > Thank you for your help with this.
> > Jan
Doug Robbins - Word MVP - 01 Jun 2006 04:49 GMT
Yes, but I still suggest that you insert another column that gets populated
with one particular value if the column that your refer to contains one of
the seven codes and with another value if it does not. Then you only have
to filter for one thing from Word.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Perhaps I didn't explain very well. The Excel spreadsheet keeps our data.
> One of the data columns has a code, there are about 10 different codes
[quoted text clipped - 56 lines]
>> > Thank you for your help with this.
>> > Jan
Graham Mayor - 01 Jun 2006 06:57 GMT
You could probably use the method shown in the section "Testing for a value
in one of several fields." at
http://www.gmayor.com/formatting_word_fields.htm to test for values in the
same mergefield.
eg where the field in question is 'Field1' and the three values sought are 1
3 and 7 then the following inserted at the start of the merge document will
only merge records that do not have those numbers in that field:
{ SET CHECK { IF{ =({ IF{ MERGEFIELD Field1 } = "1" 1 0 } + { IF{ MERGEFIELD
Field1 } = "3" 1 0 } + { IF{ MERGEFIELD Field1} = "7" 1 0 }) } >= 1 "TRUE"
"FALSE" } }{ SKIPIF { CHECK } = "TRUE" }

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Perhaps I didn't explain very well. The Excel spreadsheet keeps our
> data. One of the data columns has a code, there are about 10
[quoted text clipped - 54 lines]
>>> --
>>> Jan L