Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-03-2021, 10:31 AM
bananapple bananapple is offline Creating two independent NEXT IF sequences in the same document Windows 10 Creating two independent NEXT IF sequences in the same document Office 2019
Banned
Creating two independent NEXT IF sequences in the same document
 
Join Date: Dec 2021
Location: Usa
Posts: 6
bananapple is on a distinguished road
Default Creating two independent NEXT IF sequences in the same document

A colleague asked my help to group multiple row data from an excel database to a word document using Mail Merge. I've managed to do so by following a youtube guide (link posed below*) that relies heavily on NEXT IF sequences. The example output of this in Preview Results 1 is:
"A - Blue
B - Green
C - Yellow"



So far so good but I need to repeat this same list at another point in the same word document with an additional column of information. I copy pasted the same script, added the new column of data to it and it's giving me the following example output in Preview Results 1:
"C - Yellow - London"

While I need it to give me
"A -Blue - Berlin
B - Green - Paris
C - Yellow - London"

It appears that when copy pasting the same script it only outputs the last item in the sequence. I've attached both the word with what I have so far and it's excel database.

Could anyone help me figure out how to separate these two next if sequences?
Thank you in advance!



*Link to youtube video I used for grouping multiple row data: Mail Merge Grouping Multiple row data- NEXTIF - YouTube
Attached Files
File Type: docx Example_Word.docx (15.7 KB, 33 views)
File Type: xlsx Example_Word.xlsx (10.8 KB, 25 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove number sequences mvtpinheiro Excel 3 05-09-2014 07:12 PM
animate long image sequences validusername PowerPoint 0 12-24-2013 07:10 PM
Sequential Numbering on Tickets Multiple number Sequences skitchen Word 2 10-01-2013 06:41 AM
Looping custom animation sequences or a selection of slides regilala PowerPoint 0 02-07-2010 07:35 PM
Creating two independent NEXT IF sequences in the same document Independent columns jdthelen Word 2 09-17-2009 09:34 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:42 AM.


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