Results 1 to 4 of 4

Thread: Nextif funciton and mail merge

  1. #1
    Neophyte fabio.dero79's Avatar
    Join Date
    Mar 2019
    Posts
    1
    Articles
    0
    Excel Version
    Office365

    Nextif funciton and mail merge



    Register for a FREE account, and/
    or Log in to avoid these ads!

    Hello,
    I am trying to get a mail merge where I want separated email to be sent to a list of accounts.
    I would like James Green to receive one email only stating:
    21/11/2018 89
    26/12/2018 34
    And same for Thomas Reed and so on.

    Name Date Amount
    James Green 21/11/2018 89
    James Green 26/12/2018 34
    Thomas Reed 14/12/2016 22
    Thomas Reed 27/05/2018 88

    Then the perfect scenario would be to also have the subtotals, but this is not extremely important:
    Name Date Amount
    James Green 21/11/2018 89
    James Green 26/12/2018 34
    James Green Total 123
    Thomas Reed 14/12/2016 22
    Thomas Reed 27/05/2018 88
    Thomas Reed Total 110
    Grand Total 233

    I have tried in many different ways to use the formula "nextif" but I still cannot work it out.
    Do you have any suggestion/tutorial to share?
    Many thanks,
    Fabio

  2. #2
    Acolyte macropod's Avatar
    Join Date
    Mar 2017
    Posts
    44
    Articles
    0
    Excel Version
    2010
    You can use Word's Catalogue/Directory Mailmerge facility for this (the terminology depends on the Word version). To see how to do so with any mailmerge data source supported by Word, check out my Microsoft Word Catalogue/Directory Mailmerge Tutorial at:
    http://www.msofficeforums.com/mail-m...-tutorial.html
    or:
    http://www.gmayor.com/Zips/Catalogue%20Mailmerge.zip
    The tutorial covers everything from list creation to the insertion & calculation of values in multi-record tables in letters. Do read the tutorial before trying to use the mailmerge document included with it.

    Depending on what you're trying to achieve, the field coding for this can be complex. However, since the tutorial document includes working field codes for all of its examples, most of the hard work has already been done for you - you should be able to do little more than copy/paste the relevant field codes into your own mailmerge main document, substitute/insert your own field names and adjust the formatting to get the results you desire. For some worked examples, see the attachments to the posts at:
    http://www.msofficeforums.com/mail-m...html#post23345
    http://www.msofficeforums.com/mail-m...html#post30327

    Another option would be to use a DATABASE field in a normal ‘letter’ mailmerge main document and a macro to drive the process. An outline of this approach can be found at: http://answers.microsoft.com/en-us/o...1-1996c14dca5d
    Conversely, if you're using a relational database or, Excel workbook with a separate table with just a single instance of each of the grouping criteria, a DATABASE field in a normal ‘letter’ mailmerge main document could be used without the need for a macro. An outline of this approach can be found at:
    https://answers.microsoft.com/en-us/...f-8642e46fa103
    For a working example, see:
    http://www.msofficeforums.com/mail-m...-multiple.html

    Alternatively, you may want to try one of the Many-to-One Mail Merge add-ins, from:
    Graham Mayor at http://www.gmayor.com/ManyToOne.htm; or
    Doug Robbins at https://onedrive.live.com/?cid=5AEDC...43615E886B!566
    Cheers,
    Paul Edstein
    [MS MVP - Word]

  3. #3
    Neophyte KennyK's Avatar
    Join Date
    Jul 2019
    Posts
    1
    Articles
    0
    Excel Version
    3

    mail merge

    I have seen this resolve on youtube. just hit mail merge nextif.

  4. #4
    Acolyte macropod's Avatar
    Join Date
    Mar 2017
    Posts
    44
    Articles
    0
    Excel Version
    2010
    The OP's requirement CANNOT be met with a NextIf field...
    Cheers,
    Paul Edstein
    [MS MVP - Word]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •