How do I do the following: If rows on one worksheet contain a certain text value, copy certain cells in those rows to another worksheet.

touch23

New Member
Joined
Mar 1, 2012
Messages
3
Hello,

I'm new to this forum, but I hope someone can help me. I have a workbook that contains several worksheets. On the second sheet, named Master, I track contract data over 30 columns. Column E notes the status of these contracts as either 'planned,' 'awarded', or 'closed'.

The first worksheet is my dashboard, named 'Home'. This sheet is divided into 4 sections. The top left is in table format and contains active contracts (rows 3-23, with row 3 being headers), the bottom left is in table format and contains planned contracts (rows 25-45, with row 25 being headers).

For contracts noted as 'awarded' on the Master sheet, I would like to copy data found in columns A-D, F-H, O, and Z to the Home sheet, Active Contracts section. For contracts noted as 'planned', I would like to copy data found in columns F, G, D, H, L, P, O, and AC (in this order) to the Planned Contracts table.

If anyone can assist or direct me as to where I can find information on how to do this, I would greatly appreciate it. Please let me know if you have any questions or if more information is required. I can send anyone a mock of my workbook, if needed.

Thanks!
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
I'd recommend you consider a different approach. Use only 1 sheet, the master. Turn on auto filters (select header row, click Data-Filter). Small triangles (filters) will appear in the right side of each header cell. If you click the filter for Col E, you can check only "awarded" and after you click ok only rows containing "awarded" will display. You can record a simple macro to hide the columns you don't want to see and then another macro to re-display all columns. You'd also record a 3rd macro to hide columns for the "planned" contracts view.

The advantage is you don't have to maintain the same data in 2 separate locations.

If this approach is of interest & you need help with the macros or autofilters, let me know what version of excel you're using.
 
Upvote 0
Ron -

Good idea. I think I can take it from here. If I have any issues, I'll definitely let you know.

Thanks again for the quick response.
 
Upvote 0

Forum statistics

Threads
1,223,108
Messages
6,170,142
Members
452,304
Latest member
Thelingly95

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