francescoorsini
New Member
- Joined
- Oct 10, 2016
- Messages
- 7
This below is the Sheet1
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Model[/TD]
[TD]Brand[/TD]
[TD]Status[/TD]
[TD]Quantity[/TD]
[TD]Minimal Quantity[/TD]
[/TR]
[TR]
[TD]a1[/TD]
[TD]Asus[/TD]
[TD]In stock[/TD]
[TD]2[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]a2[/TD]
[TD]Sony[/TD]
[TD]In stock[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]a3[/TD]
[TD]Toshiba[/TD]
[TD]Test[/TD]
[TD]3[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]a4[/TD]
[TD]Fujitsu[/TD]
[TD]Test[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
I want to separate in different Sheet according to status.If status=In stock then copy the row and paste it to Sheet2.If status=Test copy the row and paste it to Sheet3.
This below will be Sheet2
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Model[/TD]
[TD]Brand[/TD]
[TD]Status[/TD]
[TD]Quantity[/TD]
[TD]Minimal Quantity[/TD]
[/TR]
[TR]
[TD]a1[/TD]
[TD]Asus[/TD]
[TD]In stock[/TD]
[TD]2[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]a2[/TD]
[TD]Sony[/TD]
[TD]In stock[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
This below will be sheet3
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Model[/TD]
[TD]Brand[/TD]
[TD]Status[/TD]
[TD]Quantity[/TD]
[TD]Minimal Quantity[/TD]
[/TR]
[TR]
[TD]a3[/TD]
[TD]Toshiba[/TD]
[TD]Test[/TD]
[TD]3[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]a4[/TD]
[TD]Fujitsu[/TD]
[TD]Test[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Model[/TD]
[TD]Brand[/TD]
[TD]Status[/TD]
[TD]Quantity[/TD]
[TD]Minimal Quantity[/TD]
[/TR]
[TR]
[TD]a1[/TD]
[TD]Asus[/TD]
[TD]In stock[/TD]
[TD]2[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]a2[/TD]
[TD]Sony[/TD]
[TD]In stock[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]a3[/TD]
[TD]Toshiba[/TD]
[TD]Test[/TD]
[TD]3[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]a4[/TD]
[TD]Fujitsu[/TD]
[TD]Test[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
I want to separate in different Sheet according to status.If status=In stock then copy the row and paste it to Sheet2.If status=Test copy the row and paste it to Sheet3.
This below will be Sheet2
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Model[/TD]
[TD]Brand[/TD]
[TD]Status[/TD]
[TD]Quantity[/TD]
[TD]Minimal Quantity[/TD]
[/TR]
[TR]
[TD]a1[/TD]
[TD]Asus[/TD]
[TD]In stock[/TD]
[TD]2[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]a2[/TD]
[TD]Sony[/TD]
[TD]In stock[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
This below will be sheet3
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Model[/TD]
[TD]Brand[/TD]
[TD]Status[/TD]
[TD]Quantity[/TD]
[TD]Minimal Quantity[/TD]
[/TR]
[TR]
[TD]a3[/TD]
[TD]Toshiba[/TD]
[TD]Test[/TD]
[TD]3[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]a4[/TD]
[TD]Fujitsu[/TD]
[TD]Test[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]