I have data set in a workbook Name "A" sheet 1 like follwing: [TABLE="border: 1, cellpadding: 1, width: 500"]
SL
[/td]Name
[/td]Gender
[/td]Age
[/td]1
[/td]Asley
[/td]Female
[/td]21
[/td]2
[/td]Johan
[/td]Male
[/td]32
[/td]3
[/td]Jack
[/td]Male
[/td]31
[/td]4
[/td]Rubi
[/td]Female
[/td]28
[/td]
[/TABLE]
I have another worksheet Name "B" and sheet Name "Male" where
all the "Male" categories will be copied like this [TABLE="border: 1, cellpadding: 1, width: 500"]
SL
[/td]Name
[/td]Gender
[/td]Age
[/td]2
[/td]Johan
[/td]Male
[/td]32
[/td]3
[/td]Jack
[/td]Male
[/td]31
[/td]
[/TABLE]
in this worksheet Name "B" there is another sheet name "Female" where
all the "female" categories will be copied like this [TABLE="border: 1, cellpadding: 1, width: 500"]
SL
[/td]Name
[/td]Gender
[/td]Age
[/td]1
[/td]Asley
[/td]Female
[/td]21
[/td]4
[/td]Rubi
[/td]Female
[/td]28
[/td]
[/TABLE]
Can it done using VBA. Now I am Using formula but when ever I change the source file
its formula giving wrong data.
Thanks