Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-16-2023, 07:21 PM
Utang Utang is offline Merging multiple records into one document if meet conditions Windows 11 Merging multiple records into one document if meet conditions Office 2021
Novice
Merging multiple records into one document if meet conditions
 
Join Date: Jun 2023
Posts: 3
Utang is on a distinguished road
Default Merging multiple records into one document if meet conditions

Hi,



I am hoping that someone can help me please. I am trying to mail merge and set up the If then Else rules but I can't work out what I am doing wrong after 3 days of trying.

I have a word document which should be merged by Feedback Recipent and the feedback is all contained in an excel file.

for each feedback recipient, he or she will have
1) one piece of feedback from his/her manager (A)
2) multiple pieces of feedback his/her direct reports (B)
3) multiple pieces of feedback from peers. (C)

i have a column set up to identify the relationship of the feedback provider to the feedback receipent and am trying to write the formula so it looks at the relationship column and if it meets the criteria of A for Manager, then it should look in the excel table and insert the appropriate response from Q1 from the manager.

in the next section, it should look at the relationship column and if it meets the criteria of B for Direct reports, then it should provide all the appropriate answers from Q1 from his or her direct reports.

Can anyone help me with the drafting of the formula to insert in the mail merge master document please as I am going around in circles and getting no where fast?

I've attached 2 files which hopefully should explain the master merge document and the excel data sheet.

With many thanks
Attached Files
File Type: docx sample merge document master.docx (12.4 KB, 4 views)
File Type: xlsx sample merge source.xlsx (14.9 KB, 5 views)
Reply With Quote
  #2  
Old 06-22-2023, 07:21 PM
Guessed's Avatar
Guessed Guessed is offline Merging multiple records into one document if meet conditions Windows 10 Merging multiple records into one document if meet conditions Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I'm not a mail merge expert and this looks like it doesn't align with my idea of how a mail merge works.

You could explore the functionality offered by Graham Mayor's 'Merge Many to One' addin which should be able to at least do the steps 1 & 2. The step 3 might also be possible with that tool if your input data is sorted correctly.

If you can't get it working with the ManyToOne approach, you could consider using a macro to compile the output reports or another software package like Microsoft Access.

1. Does this have to be in Microsoft Word?
2. Are you able to use macros to produce the report?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging multiple records into one document if meet conditions Merging multiple records mdlewis Mail Merge 7 01-24-2019 10:37 PM
Merging multiple records into one document if meet conditions Merging multiple excel records in to a single word doc? dns_to Mail Merge 1 10-20-2017 01:22 PM
Merging multiple records into one document if meet conditions Conditional Formatting if certain cell meet certain conditions bbutl027 Excel 1 11-25-2016 12:52 AM
Merging multiple records into one document LaniKaye Mail Merge 3 10-28-2014 05:56 PM
Multiple records per document peterkp Mail Merge 16 06-26-2014 06:03 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:38 AM.


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