Function or code

stevie.ray

New Member
Joined
Sep 26, 2006
Messages
3
I am looking for a function or code that will allow me in the event that a cell contains a number say 1030 I want it to copy that entire row to another sheet. It is a spreadsheet that I fill out weekly for a log of work orders and the number is going to refer to a specific piece of equipment and will be in a dedicated column for the equipment numbers but I am wanting to pull some of these numbers from the spreadsheet and move them to another for tracking. I could cut and paste but I would like to find out how to automate the process. Any Ideas?
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

xcellnoob

Board Regular
Joined
Apr 6, 2005
Messages
188
I think you could do this with just a simple IF statement.
Say Sheet 1 A1 is 1030

In sheet 2 Cell A2: =IF(Sheet1!$A$1="1030",Sheet1!A2,"")
Copy down
 

Forum statistics

Threads
1,136,272
Messages
5,674,755
Members
419,525
Latest member
helensesc

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
Top