MS Word Mail Mege using Excel database

PATSYS

Well-known Member
Joined
Mar 12, 2006
Messages
1,749
Hi all,

I know how to use mail merge, if I were only to insert fields here and there in a text.

But what if I want a table of data in word?

For example, if I have the below data in Excel:

Cust Invoice Amount
A MC- 40401 18
A MC- 40394 30
A MC- 40393 12
B MC- 40393 24
B MC- 40392 15
B MC- 40396 19
B MC- 40395 27
B MC- 40399 15
C MC- 40400 25
C MC- 40400 21
C MC- 40399 19
D MC- 40391 14
D MC- 40401 27
D MC- 40396 23

I would like that in MS Word, if I scroll thru the field customer for customer A, the below will be in a table:

Invoice Amount
MC- 40401 18
MC- 40394 30
MC- 40393 12

And for B:

Invoice Amount
MC- 40393 24
MC- 40392 15
MC- 40396 19
MC- 40395 27
MC- 40399 15

and so forth.

Is this possible at all?

Thanks
 

Some videos you may like

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,694
Messages
5,512,917
Members
408,921
Latest member
xfigo

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...
Top