Creating pivot Using VBA in excel second post

prince bhatia

New Member
Joined
May 30, 2015
Messages
11
hi,

please read the full thread to know what i want to see in result:

this is second post to MR.EXCEL as in first post i didn't get any reply except one from "hike" which i really appreciate

Now , i am creating an excel file file which has two sheets Sheet 1 and sheet 2

in sheet 1 their would be data base which has the columns like :
Agent NameXID No.ProcessTransaction dateQC MONTHQC dateWeekQC Done byQC ScoreCompleteness ScoreCityFeedbackImprovement AreasRemarksFailPass

<tbody>
</tbody>

and in second 2 would be the pivoted of sheet 1 in which their would be two tables first one would be like :

Transaction dateRow LabelsCount of XID No.Count of PassCount of FailAverage of QC ScoreAccuracy Score
Grand Total

<colgroup><col span="3"><col><col span="2"><col></colgroup><tbody>
</tbody>
Now their would be another table in the sheet 2 having the format like:

Weekly Trend
Values
Row LabelsCount of XID No.Count of PassCount of FailAverage of QC ScoreAccuracy Score
Week 2
Week 3
Grand Total



<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>












<colgroup><col><col><col><col><col><col span="2"></colgroup><tbody>
</tbody>
Now what i want to create an refresh button in the sheet 1 when i press that refresh button i will get in sheet 2 (pivot sheet ) i automatically get the transaction date row labels( QC date),Count of Xid ,count of pass and count of fail,Average would be of column "j" sheet 1 and accuracy score count of XID pass /count of XID created


now data base for the sheet 1:

QUALITY SLA- 95%
S.noAgent NameXID No.ProcessTransaction dateQC MONTHQC dateWeekQC Done byQC ScoreCompleteness ScoreCityFeedbackImprovement AreasRemarksFailPass
Devesh171793New Launch5/14/2015May5/16/2015Week 2Anjali75% Mumbai South West 5E, 3CPossession Status Incorrect, BN Incorrect- Stop words used. It is an Under Construction project and the completion date will be after 3years- https://housing.com/in/new-projects...everest-builders-developers-in-santacruz-east. "Builders and Developers" is a stop word. We do not use it.
Devesh171811Under Construction5/14/2015May5/16/2015Week 2Anjali100% Mumbai Beyond Thane Yes
Devesh171819Ready To Move5/14/2015May5/16/2015Week 2Anjali0% Pune 1ADuplicate Project- r99552No
Devesh171935Ready To Move5/14/2015May5/16/2015Week 2Anjali100% Pune Yes
Devesh171945Ready To Move5/14/2015May5/16/2015Week 2Anjali100% Pune Yes
Devesh171997Ready To Move5/14/2015May5/16/2015Week 2Anjali100% Pune Yes
Devesh172049Ready To Move5/14/2015May5/16/2015Week 2Anjali100% Hyderabad Yes
Devesh172113Ready To Move5/14/2015May5/16/2015Week 2Anjali100% Faridabad Yes
Devrishi171799Ready To Move5/14/2015May5/16/2015Week 2Anjali100% Chennai South Yes
Devrishi171805Ready To Move5/14/2015May5/16/2015Week 2Anjali100% Chennai South Yes
Devrishi171877Ready To Move5/14/2015May5/16/2015Week 2Anjali100% Pune Yes
Devrishi171913Ready To Move5/14/2015May5/16/2015Week 2Anjali100% Pune Yes
Devrishi171955Ready To Move5/14/2015May5/16/2015Week 2Anjali100% Pune Yes
Devrishi172009Ready To Move5/14/2015May5/16/2015Week 2Anjali100% Pune Yes

<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>

i also posted the same thread in orzid but didn't find any complete resolution please find the link this would be help you to understand what i want to create and how it would help you also accuracy in vba but date wise.. please rely only if you can understand and can find a correct resolution
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,214,833
Messages
6,121,867
Members
449,053
Latest member
Mesh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top