+ Reply to Thread
Results 1 to 6 of 6

Excel and mailmerge

  1. #1
    Registered User
    Join Date
    11-19-2015
    Location
    US
    MS-Off Ver
    10
    Posts
    2

    Excel and mailmerge

    Hi,

    I've got a list of clients, and I need to contact them in different ways each week. The way they are contacted is always in the same order. So week 1 is call with word template 1, week 2 is email with word template 2, week 3 = print letter from word template 3, etc.
    so, column 1 is client, 2 = telephone #, 3 = email, 4 = address, and 5 thru 16 are templates 1 thru 12. under each template, I enter the date that it was accomplished. I would like to

    1. add a column to list the first column header that does not yet have a date in it.

    2. add another column with a hyperlink to the template document listed in 1

    3. have the hyperlinked document open when I click the link with specific fields from the row in question filled in mailmerge style so that I can have it to read out, copy paste email, or print as needed.

    I'd really appreciate a point in the right direction!

    What I have:

    client telephone email address template1 template2 template3 template4 template5
    ann 12345 x s 1/15/15 2/6/14 3/15/15 10/4/15
    bebe 259874 g p 2/6/14 3/15/15 10/4/15 11/18/15
    celine 345987 s l 3/15/15 10/4/15 11/18/15 11/11/15
    dan 459845 f k 10/4/15 11/18/15 11/11/15
    eve 56812 w t 11/18/15 11/11/15
    frank 61289 m f 11/11/15
    gerde 72658 y s

    What I want:
    New column name: Next
    Returns the name of the column header (Template 1,2,3,4, or 5) that has no date.
    for client ann, the correct answer is template 5.
    For client gerde, the correct answer is template1

    New column name: hyperlink
    gives hyperlink to template 1,2,3,4 or 5

    If I click the hyperlink, it opens and populates with data from that row

    Sorry I cant upload the sample file because im home and I have open office calc here, I need this info to use at work with MS excel, but cant access internet there

    When I tried uploading a calc file, it gave error: invalid file type
    Last edited by manjumisty; 11-19-2015 at 02:44 PM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Excel and mailmerge

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Forum Contributor
    Join Date
    08-11-2004
    Posts
    109

    Re: Excel and mailmerge

    I have created an "if" formula to accomplish #1. I don't quite understand what you are looking for in #2 and #3, but I hope this gets
    you started. Attached is the file.

    The if formula is as follows:

    =IF(D2<=0,"template1",IF(E2<=0,"template2",IF(F2<=0,"template3",IF(G2<=0,"template4",IF(H2<=0,"template5")))))
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-19-2015
    Location
    US
    MS-Off Ver
    10
    Posts
    2

    Re: Excel and mailmerge

    Hi Mandy! Thanks for the response, and great idea, I will definitely use the nested IFs.

    For the second part of it, I need to make a macro so that when I click on the link to a template document, I need the fields in the document filled using data from that row.

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel and mailmerge

    Are you doing an actual mail-merge using Excel as a data source for a Word mail-merge document? If you use Word, a lot of what you want to do can be accomplished by Word's mail-merge facility and using IF statements with the mail-merge fields.

    This may be of help:
    https://support.microsoft.com/en-us/kb/211363
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  6. #6
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Excel and mailmerge

    Frankly, this doesn't sound like a job for mailmerge at all. If all you're doing is generating a document with a list of data matching a set of criteria in Excel, all you need is a Word document with a DATABASE field. For an example of this, see: http://www.msofficeforums.com/mail-m...html#post67110
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel - Word Mailmerge
    By OLDCell in forum Word Formatting & General
    Replies: 0
    Last Post: 06-29-2010, 10:04 AM
  2. Problem with percentage when using Excel for MailMerge
    By Shirley Munro in forum Excel General
    Replies: 7
    Last Post: 12-12-2008, 09:41 AM
  3. Excel / mailmerge assistance
    By Lucifa42 in forum Excel General
    Replies: 0
    Last Post: 02-06-2008, 06:59 AM
  4. [SOLVED] Word/Excel Mailmerge problems
    By havenlad in forum Excel General
    Replies: 3
    Last Post: 07-11-2006, 01:35 PM
  5. Mailmerge from excel button
    By Alex St-Pierre in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-18-2006, 12:10 PM
  6. [SOLVED] [SOLVED] Mailmerge from a button in excel
    By stevew in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-06-2006, 04:40 PM
  7. [SOLVED] Excel Word - Mailmerge
    By Peppermint in forum Excel General
    Replies: 1
    Last Post: 03-02-2006, 01:30 PM
  8. [SOLVED] can i use mailmerge to in excel like you would in word?
    By acain1711 in forum Excel General
    Replies: 3
    Last Post: 02-07-2006, 07:55 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1