Find cells with specific value -> select row and copy some cells into another workbook

HePeoR

New Member
Joined
Jan 16, 2018
Messages
1
Hi,

i have tried to pull this out with partial codes, but without success.

My file has in one column named "Diff", this cells have a formula inside. This formula gives me values. I'm searching for Zero values (there will be always several of those). If I identify a 0, than I need to copy 4 cells from the same row (columns A,V,R and D). In the end I have to copy them to another file.

Thank you for your time and help.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
In each of the cells that you are potentially copying data to, make it an if statement. For example, assuming your Diff is column W...
your target for the A column data in cell row 2 would be =IF(W2=0,A2,"")
your target for the D column data in cell row 2 would be =IF(W2=0,D2,"")
your target for the R column data in cell row 2 would be =IF(W2=0,R2,"")
your target for the V column data in cell row 2 would be =IF(W2=0,V2,"")

copy the formulas down the rows
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,996
Members
452,373
Latest member
TimReeks

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