How to Copy a row from sheet1 to sheet2 with "if statement"

francescoorsini

New Member
Joined
Oct 10, 2016
Messages
7
This below is the Sheet1

ModelBrandStatusQuantityMinimal Quantity
a1AsusIn stock21
a2SonyIn stock11
a3ToshibaTest31
a4FujitsuTest11

<tbody>
</tbody>


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
ModelBrandStatusQuantityMinimal Quantity
a1AsusIn stock21
a2SonyIn stock11

<tbody>
</tbody>



This below will be sheet3

ModelBrandStatusQuantityMinimal Quantity
a3ToshibaTest31
a4FujitsuTest11

<tbody>
</tbody>
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
I understand that. But this is in violation of forum rules. I personally do not believe you can do what you want with just a formula. But I may be wrong.
 
Upvote 0

Forum statistics

Threads
1,216,073
Messages
6,128,634
Members
449,460
Latest member
jgharbawi

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