My Community
YourCause®
Impact Edge™
All-Star Lounge
Member Lounge (Just for Fun)
Community News
Community Manager
Groups
Browse Products
Members
Community All-Stars
Monthly Challenges
Member Search
Jobs Board
Help
Using the Blackbaud Community
Blackbaud Support
Knowledgebase
Blackbaud University
Discussions
Categories
Groups
Home
Blackbaud Raiser's Edge NXT®
Raiser's Edge NXT Discussions
Simple Word Merge Export with Conditional Formatting
Aaron Rothberg
I've just finished building our 2019 Year End tax receipt exports and I have a question about conditional formatting.
I've grouped gifts together by appeal code so that if someone gave $15 to our 5K road race and another $100 to the same 5K, our receipt will read $115 to the 5K. Additionally, I've conditionally formatted the appeal id and the dollar amount so that if the gift amount to an appeal is $0, neither the appeal id nor the gift amount will display on the letter.
Here's the problem I'm trying to overcome. I have 20 different appeal groups in the letter which means if someone only gave to 2 appeals, I have 18 blank lines that need to be deleted from the letter before it can be printed. Does anyone know of a way to format the letter as I've described above, yet not reserve a blank line for any of the appeal ids which do not have donations associated with them for any given letter?
Below are two screenshots highlighting the export setup and the resultant receipt.
Thoughts?
Find more posts tagged with
Query Import Export
Comments
Alan French
I've done something similar with a few of our letters - there's some advice
here
on how to suppress blank lines in a mail merge. Basically you create a formula that only inserts a line break if the merge field is not empty.
Aaron Rothberg
Thanks Alan. I'll give that a shot.
Dariel Dixon
To add to
Alan French
's point, mergefields in word can be tricky. But they can do wonders when done correctly. I have a letter that uses an If statement based on mergefield conditions. I'd think I would look into that, however your letter would need an IF statement for all 20 appeal codes. Which wouldn't be a problem once you get the first one working. Also, I don't believe you can copy & paste mergefield comparison statements, each of them have to be written with the code fields braces by Shift-F7 (I think that's it, I can't remember for sure).
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of