chssundeep
Member
Hi Friends,
I have a problem in preparing Master sheet....
I have 4 sheets
1) SD
2) PG
3) MIN
4) Master
I have data in 3 sheets i.e SD,PG,MIN
Have to extract the data from 3 Columns i.e. ID, Group and Name from all the 3 sheets. In SD sheets there are 10 Rows, PG 6 Rows, MIN 8 Rows... All are having same heads i.e ID no, Group, Name but at different columns..
Now I need all the data in Master sheet under these 3 heads.....
Problem here is I update the data regularly in each sheet.....I should have a formula so that whenever I update in any of the 3 sheets it should automatically get updated in the Master sheet....
Previously one member from here had given a Fantastic solution to the same problem using vba code...Below is that
But the code is working when Heads i.e. ID, Name and Group are in same columns....
Now please help me in updating this code
Attached the Sample File and Previous solution files here....
I have a problem in preparing Master sheet....
I have 4 sheets
1) SD
2) PG
3) MIN
4) Master
I have data in 3 sheets i.e SD,PG,MIN
Have to extract the data from 3 Columns i.e. ID, Group and Name from all the 3 sheets. In SD sheets there are 10 Rows, PG 6 Rows, MIN 8 Rows... All are having same heads i.e ID no, Group, Name but at different columns..
Now I need all the data in Master sheet under these 3 heads.....
Problem here is I update the data regularly in each sheet.....I should have a formula so that whenever I update in any of the 3 sheets it should automatically get updated in the Master sheet....
Previously one member from here had given a Fantastic solution to the same problem using vba code...Below is that
Code:
Option Explicit
Private Sub Worksheet_Activate()
Dim ws As Worksheet
[a4:C80].ClearContents
For Each ws In Sheets(Array("SD", "PG", "MIN"))
ws.[a4:C20].Copy Sheet4.Range("A65536").End(xlUp)(2)
Next ws
End Sub
But the code is working when Heads i.e. ID, Name and Group are in same columns....
Now please help me in updating this code
Attached the Sample File and Previous solution files here....
Attachments
Last edited by a moderator: