Find text in single column and copy selected cells from same row in next empty row of different worksheet

withquestions

New Member
Joined
Sep 8, 2014
Messages
1
I believe the title is fairly descriptive but the scenario is that I need to find a formula answer "yes" in a certain column from an origin worksheet, then copy selected cells from the same row into a next blank row and different columns of a destination worksheet within the same workbook, looping through every "new" "yes" appearing in the same column of the origin sheet. The purpose of this is to use the formula to determine when an agreement has gone through a finalization process and is ready to be moved from the Pending Documents into the Active Contracts category and worksheet. Finally, I would like the copied row to reflect "yes" again upon completion of the copying process onto the new worksheet, change the background color from default (white) to a dark gray, thus diminishing its prominence and for that text/change to exclude it from being copied into Active Contracts again. The sheet will change and will need to be updated on a daily basis, and there are sometimes 30-40 changes in a single day, which is laborious and unnecessary for such a repetitive task. I have attached an image of the before for both pages, and the desired effect.

Obviously, the find text is to operate on Origin sheet column N when text is "YES" and below row 3 (header rows 1-2), and then to copy the Destination sheet the name (column A to column A), client code (M to B) sign date (G to C), and salesperson (C to H). Then, it would change the entire row of the copied entry to gray background fill and fill in "YES" at column O indicating its completion (note that I cannot locate a tool to change the fill color in the post, so I am using red text as substitution). This appears to be the best organization of information for using the data, but if it is insurmountable, I could move columns, although I am hoping not to do so. Please note that while I have searched this forum and tried to extract solutions, I cannot find enough of an answer to be workable, as it appears that many people want to copy complete rows or want to add a new sheet for data rather than add to an existing sheet. Oh yes, this is Windows 7, Excel 2013.

Thank you enormously for sharing your mental acumen and training with a struggling learner!


Origin sheet before


[TABLE="class: grid, width: 6"]
<tbody>[TR]
[TD="colspan: 14"]PENDING DOCUMENTS[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Name[/TD]
[TD]Date Received[/TD]
[TD]Salesperson[/TD]
[TD]Date of Salesperson Approval[/TD]
[TD]Standard or Specifically Approved[/TD]
[TD]Comments Re: Forwarding[/TD]
[TD]Date Forwarded for Management Signature[/TD]
[TD]Date Signed by Management[/TD]
[TD]Date of Client Signature or Forwarded for Client Signature[/TD]
[TD]Sign Date (Date Returned With All Signatures)[/TD]
[TD]Date Forwarded to Data Entry[/TD]
[TD]Original Document Returned for Filing[/TD]
[TD]Client Code[/TD]
[TD]Move to Active Contracts[/TD]
[TD]Completed / Copied to Active Contracts[/TD]
[TD]Followup Date[/TD]
[/TR]
[TR]
[TD]ABC Company[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD]JS[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD]Approved[/TD]
[TD]Approved[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD="align: right"]7/30/2014[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD="align: right"]1234[/TD]
[TD]YES[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]XYZ Company[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD]JD[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD]Std[/TD]
[TD]Std[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"]FALSE[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD]Destination sheet before

[TABLE="class: grid, width: 8"]
<tbody>[TR]
[TD="colspan: 26"]ACTIVE CONTRACTS[/TD]
[/TR]
[TR]
[TD]MASTER CONTRACTS ABSTRACT[/TD]
[TD]Client Code[/TD]
[TD]Sign date[/TD]
[TD]Start date[/TD]
[TD]Expiration date[/TD]
[TD]State[/TD]
[TD]Estimated volume[/TD]
[TD]Sales Person[/TD]
[TD]Automatic extensions[/TD]
[TD]Primary[/TD]
[TD]Secondary[/TD]
[TD]Tertiary[/TD]
[TD]Default[/TD]
[TD]Late Stage[/TD]
[TD]Litigation[/TD]
[TD]Loaded in System[/TD]
[TD]Date of System Entry[/TD]
[TD]30 day check[/TD]
[TD]120 day review[/TD]
[TD]Rate Terms[/TD]
[TD]Settle-ment Terms[/TD]
[TD]Special Reporting/ Remittance Requirements[/TD]
[TD]Credit Bureau[/TD]
[TD]Legal[/TD]
[TD]Bank-ruptcy[/TD]
[TD]Probate[/TD]
[/TR]
[TR]
[TD]AZ Corporation[/TD]
[TD]az123[/TD]
[TD="align: right"]7/1/2014[/TD]
[TD]7/1/2014[/TD]
[TD="align: right"]6/30/2015[/TD]
[TD]ST[/TD]
[TD]$ 10,000.00[/TD]
[TD]JD[/TD]
[TD]N/A[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[TD]Y[/TD]
[TD="align: right"]7/2/2014[/TD]
[TD="align: right"]8/6/2014[/TD]
[TD="align: right"]10/30/2014[/TD]
[TD]Standard and customary[/TD]
[TD]10%[/TD]
[TD]None[/TD]
[TD]Y[/TD]
[TD]N[/TD]
[TD]N[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]




Origin sheet after/desired


[TABLE="class: grid, width: 1645"]
<tbody>[TR]
[TD="colspan: 14"]PENDING DOCUMENTS[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Name[/TD]
[TD]Date Received[/TD]
[TD]Salesperson[/TD]
[TD]Date of Salesperson Approval[/TD]
[TD]Standard or Specifically Approved[/TD]
[TD]Comments Re: Forwarding[/TD]
[TD]Date Forwarded for Management Signature[/TD]
[TD]Date Signed by Management[/TD]
[TD]Date of Client Signature or Forwarded for Client Signature[/TD]
[TD]Sign Date (Date Returned With All Signatures)[/TD]
[TD]Date Forwarded to Data Entry[/TD]
[TD]Original Document Returned for Filing[/TD]
[TD]Client Code[/TD]
[TD]Move to Active Contracts[/TD]
[TD]Completed / Copied to Active Contracts[/TD]
[TD]Followup Date[/TD]
[/TR]
[TR]
[TD]ABC Company[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD]JS[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD]Approved[/TD]
[TD]Approved[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD="align: right"]7/30/2014[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD="align: right"]1234[/TD]
[TD]YES[/TD]
[TD]YES[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]XYZ Company[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD]JD[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD]Std[/TD]
[TD]Std[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"]FALSE[/TD]
[TD][/TD]
[TD="align: right"]9/1/2014[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Destination sheet after/desired


[TABLE="class: grid, width: 8"]
<tbody>[TR]
[TD="colspan: 26"]ACTIVE CONTRACTS[/TD]
[/TR]
[TR]
[TD]MASTER CONTRACTS ABSTRACT[/TD]
[TD]Client Code[/TD]
[TD]Sign date[/TD]
[TD]Start date[/TD]
[TD]Expiration date[/TD]
[TD]State[/TD]
[TD]Estimated volume[/TD]
[TD]Sales Person[/TD]
[TD]Automatic extensions[/TD]
[TD]Primary[/TD]
[TD]Secondary[/TD]
[TD]Tertiary[/TD]
[TD]Default[/TD]
[TD]Late Stage[/TD]
[TD]Litigation[/TD]
[TD]Loaded in System[/TD]
[TD]Date of System Entry[/TD]
[TD]30 day check[/TD]
[TD]120 day review[/TD]
[TD]Rate Terms[/TD]
[TD]Settle-ment Terms[/TD]
[TD]Special Reporting/ Remittance Requirements[/TD]
[TD]Credit Bureau[/TD]
[TD]Legal[/TD]
[TD]Bank-ruptcy[/TD]
[TD]Probate[/TD]
[/TR]
[TR]
[TD]AZ Corporation[/TD]
[TD]az123[/TD]
[TD="align: right"]7/1/2014[/TD]
[TD]7/1/2014[/TD]
[TD="align: right"]6/30/2015[/TD]
[TD]ST[/TD]
[TD]$ 10,000.00[/TD]
[TD]JD[/TD]
[TD]N/A[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[TD]Y[/TD]
[TD="align: right"]7/2/2014[/TD]
[TD="align: right"]8/6/2014[/TD]
[TD="align: right"]10/30/2014[/TD]
[TD]Standard and customary[/TD]
[TD]10%[/TD]
[TD]None[/TD]
[TD]Y[/TD]
[TD]N[/TD]
[TD]N[/TD]
[TD]N[/TD]
[/TR]
[TR]
[TD]ABC Company[/TD]
[TD="align: right"]1234[/TD]
[TD="align: right"]8/1/2014[/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD]JS[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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