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

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
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
 
Upvote 0

Forum statistics

Threads
1,215,093
Messages
6,123,069
Members
449,090
Latest member
fragment

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