Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-13-2016, 08:47 AM
DCChrisk DCChrisk is offline Total of sums in mail merge directory Windows 10 Total of sums in mail merge directory Office 2010 32bit
Novice
Total of sums in mail merge directory
 
Join Date: Sep 2016
Posts: 2
DCChrisk is on a distinguished road
Default Total of sums in mail merge directory

Hello,



I've been using an excellent tutorial provided by Doug Robbins. Thusfar I have been successful simply replacing my field names with those in the tutorial and shuffling things about to suit my formatting needs. Which, of course, means that I'm not really sure what I'm doing, but I know that it's working. The part of the tutorial that covers calculations on merge data (i.e. generating data that isn't in a field in the spreadsheet) sort of lost me because it involves working with two keys.

At this point, I have:

{QUOTE{IF{MERGESEQ}=1{SET Key""}{SET LastKey{REF Key}}}"{IF{MERGEFIELD Orgcd}<>{REF Key}"{IF{MERGESEQ}>1"{QUOTE 12}"}{SET Key{MERGEFIELD Orgcd}}"}{MERGEFIELD Title} {MERGEFIELD Paymentamt \# $,0}"}

So, for every record with the same Orgcd, a title "Title" and price "Paymentamt" are printed until the next Orgcd comes along, at which point there is a page break. I'm trying to add a total line that will sum up the Paymentamt numbers for any given set of titles.

May I ask for a pointer or two for accomplishing this?

Thanks!

Chris
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Total of sums in mail merge directory Directory Mail Merge IslandAC Mail Merge 1 09-09-2016 04:53 PM
Directory Mail Merge Trouble Murph14 Mail Merge 5 06-03-2015 12:22 AM
table format after mail merge (directory) laboymc Mail Merge 0 03-16-2015 07:17 AM
Directory Mail Merge with table layout 3N1GM4 Mail Merge 11 06-03-2014 09:54 PM
Directory Mail Merge Issues dbpros_crm Mail Merge 10 01-20-2014 11:05 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:41 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft