avisoft20
Board Regular
- Joined
- Sep 10, 2016
- Messages
- 64
Hi,
I have a database on sheet 1 and i want to copy data on the basis of city on separate sheet.
Sheet 1
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]CITY[/TD]
[TD]NAME[/TD]
[TD]ID[/TD]
[/TR]
[TR]
[TD]NEW DELHI[/TD]
[TD]RAKESH[/TD]
[TD]C101[/TD]
[/TR]
[TR]
[TD]PATNA[/TD]
[TD]SUMIT[/TD]
[TD]D102[/TD]
[/TR]
[TR]
[TD]NEW DELHI[/TD]
[TD]RAJU[/TD]
[TD]F103[/TD]
[/TR]
[TR]
[TD]BANGLORE[/TD]
[TD]A.ANNA[/TD]
[TD]R104[/TD]
[/TR]
[TR]
[TD]PATNA[/TD]
[TD]SUMAN[/TD]
[TD]E105[/TD]
[/TR]
[TR]
[TD]BANGLORE[/TD]
[TD]D.RAMAN[/TD]
[TD]R106[/TD]
[/TR]
</tbody>[/TABLE]
I want to extract data on separate separate sheet on the basis of city .
Ans:
Sheet 2
[TABLE="class: grid, width: 300, align: left"]
<tbody>[TR]
[TD]CITY[/TD]
[TD]NAME[/TD]
[TD]ID[/TD]
[/TR]
[TR]
[TD]NEW DELHI[/TD]
[TD]RAKESH[/TD]
[TD]C101[/TD]
[/TR]
[TR]
[TD]NEW DELHI[/TD]
[TD]RAJU[/TD]
[TD]F103[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 3
[TABLE="class: grid, width: 300, align: left"]
<tbody>[TR]
[TD]CITY[/TD]
[TD]NAME[/TD]
[TD]ID[/TD]
[/TR]
[TR]
[TD]PATNA[/TD]
[TD]SUMIT[/TD]
[TD]D102[/TD]
[/TR]
[TR]
[TD]PATNA[/TD]
[TD]SUMAN[/TD]
[TD]E105[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 4
[TABLE="class: grid, width: 300, align: left"]
<tbody>[TR]
[TD]CITY[/TD]
[TD]NAME[/TD]
[TD]ID[/TD]
[/TR]
[TR]
[TD]BANGLORE[/TD]
[TD]A.ANNA[/TD]
[TD]R104[/TD]
[/TR]
[TR]
[TD]BANGLORE[/TD]
[TD]D.RAMAN[/TD]
[TD]R106
[/TD]
[/TR]
</tbody>[/TABLE]
Thanks & Regard
avisoft20
I have a database on sheet 1 and i want to copy data on the basis of city on separate sheet.
Sheet 1
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]CITY[/TD]
[TD]NAME[/TD]
[TD]ID[/TD]
[/TR]
[TR]
[TD]NEW DELHI[/TD]
[TD]RAKESH[/TD]
[TD]C101[/TD]
[/TR]
[TR]
[TD]PATNA[/TD]
[TD]SUMIT[/TD]
[TD]D102[/TD]
[/TR]
[TR]
[TD]NEW DELHI[/TD]
[TD]RAJU[/TD]
[TD]F103[/TD]
[/TR]
[TR]
[TD]BANGLORE[/TD]
[TD]A.ANNA[/TD]
[TD]R104[/TD]
[/TR]
[TR]
[TD]PATNA[/TD]
[TD]SUMAN[/TD]
[TD]E105[/TD]
[/TR]
[TR]
[TD]BANGLORE[/TD]
[TD]D.RAMAN[/TD]
[TD]R106[/TD]
[/TR]
</tbody>[/TABLE]
I want to extract data on separate separate sheet on the basis of city .
Ans:
Sheet 2
[TABLE="class: grid, width: 300, align: left"]
<tbody>[TR]
[TD]CITY[/TD]
[TD]NAME[/TD]
[TD]ID[/TD]
[/TR]
[TR]
[TD]NEW DELHI[/TD]
[TD]RAKESH[/TD]
[TD]C101[/TD]
[/TR]
[TR]
[TD]NEW DELHI[/TD]
[TD]RAJU[/TD]
[TD]F103[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 3
[TABLE="class: grid, width: 300, align: left"]
<tbody>[TR]
[TD]CITY[/TD]
[TD]NAME[/TD]
[TD]ID[/TD]
[/TR]
[TR]
[TD]PATNA[/TD]
[TD]SUMIT[/TD]
[TD]D102[/TD]
[/TR]
[TR]
[TD]PATNA[/TD]
[TD]SUMAN[/TD]
[TD]E105[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 4
[TABLE="class: grid, width: 300, align: left"]
<tbody>[TR]
[TD]CITY[/TD]
[TD]NAME[/TD]
[TD]ID[/TD]
[/TR]
[TR]
[TD]BANGLORE[/TD]
[TD]A.ANNA[/TD]
[TD]R104[/TD]
[/TR]
[TR]
[TD]BANGLORE[/TD]
[TD]D.RAMAN[/TD]
[TD]R106
[/TD]
[/TR]
</tbody>[/TABLE]
Thanks & Regard
avisoft20