Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / June 2006

Tip: Looking for answers? Try searching our database.

Mail Merge Filters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jan L - 31 May 2006 20:09 GMT
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
contains a number of criteria that we want to use to filter the merge
recipiants however it's not working.  For example, one column of the Excel
spreadsheet contains a number code.  I would like to select all but three
codes.  So I selected, the field, "not equal to" and the entered the first
number code.  I connected it with an "and" (I also tried "or") to the next
item, which was the same field, "not equal to" and the second number code and
followed that with the third line item with the next number code.  There
should have been a lot more records selected than actually showed up.  What
am I missing?

Second.  I have been able to use two criteria and get that to work, but when
I want to go back and change the filter criteria, it's not viewable.  Do I
always have to re-attach the Excel spreadsheet each time I want to change the
filter criteria?

Thank you for your help with this.
Jan
Signature

Jan L

Doug Robbins - Word MVP - 31 May 2006 21:58 GMT
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
Jan L - 31 May 2006 22:33 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.