I have a database in excel.
It has 40000 records.
But to make my question simple I use a smaller example to describe my problem.
In Database.xlsx I have two columns.
Some of the records have equal value in column A.
Values in column B are unique.
I need a way to search and fine records which have same value in column A and then print those records to a word file.
Here is what I want :
Database.xlsx :
A B
22 1
22 2
22 3
36 4
36 5
36 6
51 7
51 8
51 9
51 10
///////////////////////////
Word01.docx
Column A : 22
Column B is from 1 to 3
Total Numbers of records : 3
///////////////////////////
Word02.docx
Column A : 36
Column B is from 4 to 6
Total Numbers of records : 3
///////////////////////////
Word03.docx
Column A : 51
Column B is from 7 to 10
Total Numbers of records : 4
Thanks in advance
Bookmarks