kashif.special2005
Active Member
- Joined
- Oct 26, 2009
- Messages
- 443
Hi,
I have two sheets with data.
Note:- Data in both the sheet is around 90000, I am here showing only sample data for the task.
Sheet Name:- "Associate Tracker"
Sample Data:-
[TABLE="width: 480"]
<tbody>[TR]
[TD="class: xl65, width: 120"]Column - A[/TD]
[TD="class: xl65, width: 120"]Column - J[/TD]
[TD="class: xl65, width: 120"]Column - S[/TD]
[TD="class: xl65, width: 120"]Column - Z[/TD]
[/TR]
[TR]
[TD="class: xl66"]Associate Name[/TD]
[TD="class: xl66"]Calling Date[/TD]
[TD="class: xl66"]Confirmation[/TD]
[TD="class: xl66"]Location[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/6/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
</tbody>[/TABLE]
Sheet Name:- "System Data"
Sample Data:-
[TABLE="width: 399"]
<tbody>[TR]
[TD="class: xl65, width: 133"]Column - B[/TD]
[TD="class: xl65, width: 133"]Column - P[/TD]
[TD="class: xl65, width: 133"]Column - AB[/TD]
[/TR]
[TR]
[TD="class: xl66"]Caller Name[/TD]
[TD="class: xl66"]Date[/TD]
[TD="class: xl66"]Area[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/6/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z[/TD]
[TD="class: xl67, align: right"]1/6/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z[/TD]
[TD="class: xl67, align: right"]1/6/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
</tbody>[/TABLE]
Now I want to create 1st report from the sheet "Associate Tracker", and the report will look like below.
Report from the sheet:- "Associate Tracker"
[TABLE="width: 279"]
<tbody>[TR]
[TD]Location[/TD]
[TD]Brooklyn[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Confirmation[/TD]
[TD]Y[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Associate Name[/TD]
[TD]Calling Date[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]1/5/2019[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/5/2019[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/6/2019[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]1/5/2019[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD][/TD]
[TD="align: right"]12[/TD]
[/TR]
</tbody>[/TABLE]
And I want to create another report from the sheet "System Data", and the report will look like below.
Report from the sheet:- "System Data"
[TABLE="width: 213"]
<tbody>[TR]
[TD]Area[/TD]
[TD]Brooklyn[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Caller Name[/TD]
[TD]Date[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]1/5/2019[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/6/2019[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD="align: right"]1/6/2019[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD][/TD]
[TD="align: right"]11[/TD]
[/TR]
</tbody>[/TABLE]
Now from these two report I want to create a final "Comparison Report", and the comparison report will look like below.
Camparison Report:-
[TABLE="width: 975"]
<tbody>[TR]
[TD]Associate Name[/TD]
[TD]Calling Date[/TD]
[TD]Associate Value[/TD]
[TD]System Value[/TD]
[TD]TRUE/FALSE (Associate Value = System Value)[/TD]
[TD]Differences (Associate Value - System Value)[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]FALSE[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]1/5/2019[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]2[/TD]
[TD="align: center"]FALSE[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4[/TD]
[TD="align: center"]FALSE[/TD]
[TD="align: right"]-3[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/5/2019[/TD]
[TD="align: right"]1[/TD]
[TD]Not Exists[/TD]
[TD="align: center"]FALSE[/TD]
[TD]Not Applicable[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/6/2019[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]TRUE[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]1[/TD]
[TD]Not Exists[/TD]
[TD="align: center"]FALSE[/TD]
[TD]Not Applicable[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]1/5/2019[/TD]
[TD="align: right"]2[/TD]
[TD]Not Exists[/TD]
[TD="align: center"]FALSE[/TD]
[TD]Not Applicable[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD][/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]8[/TD]
[TD="align: center"]FALSE[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]
Please help me to create these three report, I have not idea how to create these reports.
I saw some post from the user "MickG", he used Dictionary object to create reports, Can we create these types of reports from Dictionary or any other method, please help me to achieve this task.
Please help me to achieve this task through VBA, because data is huge.
Thanks in advance.
Thanks
Kashif
I have two sheets with data.
Note:- Data in both the sheet is around 90000, I am here showing only sample data for the task.
Sheet Name:- "Associate Tracker"
Sample Data:-
[TABLE="width: 480"]
<tbody>[TR]
[TD="class: xl65, width: 120"]Column - A[/TD]
[TD="class: xl65, width: 120"]Column - J[/TD]
[TD="class: xl65, width: 120"]Column - S[/TD]
[TD="class: xl65, width: 120"]Column - Z[/TD]
[/TR]
[TR]
[TD="class: xl66"]Associate Name[/TD]
[TD="class: xl66"]Calling Date[/TD]
[TD="class: xl66"]Confirmation[/TD]
[TD="class: xl66"]Location[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]N[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/6/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Y[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
</tbody>[/TABLE]
Sheet Name:- "System Data"
Sample Data:-
[TABLE="width: 399"]
<tbody>[TR]
[TD="class: xl65, width: 133"]Column - B[/TD]
[TD="class: xl65, width: 133"]Column - P[/TD]
[TD="class: xl65, width: 133"]Column - AB[/TD]
[/TR]
[TR]
[TD="class: xl66"]Caller Name[/TD]
[TD="class: xl66"]Date[/TD]
[TD="class: xl66"]Area[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]A[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]B[/TD]
[TD="class: xl67, align: right"]1/6/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]C[/TD]
[TD="class: xl67, align: right"]1/5/2019[/TD]
[TD="class: xl65"]Mars[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z[/TD]
[TD="class: xl67, align: right"]1/4/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z[/TD]
[TD="class: xl67, align: right"]1/6/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z[/TD]
[TD="class: xl67, align: right"]1/6/2019[/TD]
[TD="class: xl65"]Brooklyn[/TD]
[/TR]
</tbody>[/TABLE]
Now I want to create 1st report from the sheet "Associate Tracker", and the report will look like below.
Report from the sheet:- "Associate Tracker"
[TABLE="width: 279"]
<tbody>[TR]
[TD]Location[/TD]
[TD]Brooklyn[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Confirmation[/TD]
[TD]Y[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Associate Name[/TD]
[TD]Calling Date[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]1/5/2019[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/5/2019[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/6/2019[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]1/5/2019[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD][/TD]
[TD="align: right"]12[/TD]
[/TR]
</tbody>[/TABLE]
And I want to create another report from the sheet "System Data", and the report will look like below.
Report from the sheet:- "System Data"
[TABLE="width: 213"]
<tbody>[TR]
[TD]Area[/TD]
[TD]Brooklyn[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Caller Name[/TD]
[TD]Date[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]1/5/2019[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/6/2019[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Z[/TD]
[TD="align: right"]1/6/2019[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD][/TD]
[TD="align: right"]11[/TD]
[/TR]
</tbody>[/TABLE]
Now from these two report I want to create a final "Comparison Report", and the comparison report will look like below.
Camparison Report:-
[TABLE="width: 975"]
<tbody>[TR]
[TD]Associate Name[/TD]
[TD]Calling Date[/TD]
[TD]Associate Value[/TD]
[TD]System Value[/TD]
[TD]TRUE/FALSE (Associate Value = System Value)[/TD]
[TD]Differences (Associate Value - System Value)[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]FALSE[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]1/5/2019[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]2[/TD]
[TD="align: center"]FALSE[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4[/TD]
[TD="align: center"]FALSE[/TD]
[TD="align: right"]-3[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/5/2019[/TD]
[TD="align: right"]1[/TD]
[TD]Not Exists[/TD]
[TD="align: center"]FALSE[/TD]
[TD]Not Applicable[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]1/6/2019[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]TRUE[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]1/4/2019[/TD]
[TD="align: right"]1[/TD]
[TD]Not Exists[/TD]
[TD="align: center"]FALSE[/TD]
[TD]Not Applicable[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]1/5/2019[/TD]
[TD="align: right"]2[/TD]
[TD]Not Exists[/TD]
[TD="align: center"]FALSE[/TD]
[TD]Not Applicable[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD][/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]8[/TD]
[TD="align: center"]FALSE[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]
Please help me to create these three report, I have not idea how to create these reports.
I saw some post from the user "MickG", he used Dictionary object to create reports, Can we create these types of reports from Dictionary or any other method, please help me to achieve this task.
Please help me to achieve this task through VBA, because data is huge.
Thanks in advance.
Thanks
Kashif
Last edited: