Find duplicates and copy offset to other sheet (Second Post)

Status
Not open for further replies.

emukiss10

Board Regular
Joined
Nov 17, 2017
Messages
201
Hello.

This is my second post about the same subject. Im sorry for double but it was not answered. Link to first post below.
https://www.mrexcel.com/forum/excel-questions/1045323-copy-if-match-offset-2.html

Ill try to explain it with an example this time.

What I need is:

1. "Check every 3rd cell from Sheets("fifth") column "A" against column "F" from Sheets("third")
(two sheets are being compared)
2. If value from "fifth" is found in "third" than copy cells DG and DI from "third" to N and M of Fifth

- Ofc the same row. If Sheets("fifth").Range("A30") is found in Sheets("third").Range("F822") than copy DG822 and DI822 from "third" to M30 and N30 of "fifth""


In this example

Sheets("FIFTH") A3 (654) was found in Sheets("THIRD") F5 and I need to copy from Sheets("THIRD") DG5 and DI5 to M3 and N3 Sheets("FIFTH")
the same with A6 (159) and so on till the last row.


SHEETS("THIRD")
ABCDEFDGDHDI
1datadatadatadatadata123WHITEdataGREEN
2datadatadatadatadata456CARdataPLANE
3datadatadatadatadata789APPLEdataBANANNA
4datadatadatadatadata987CATdataMOUSE
5datadatadatadatadata654FLYdataDIG
6datadatadatadatadata321HOLEdataSPACE
7datadatadatadatadata159TARdataDIRT
8datadatadatadatadata753BLEACHdataCLEAN
9datadatadatadatadata852WALTZdataPOLONEZ

<tbody>
</tbody>

SHEETS("FIFTH")
ABCMNO
11111datadatadatadatadata
22222datadatadatadatadata
3654datadata..............data
43333datadatadatadatadata
54444datadatadatadatadata
6159datadata..............data
75555datadatadatadatadata
86666datadatadatadatadata

<tbody>
</tbody>



I hope this will clear my goals.
Those sheets mayby big (50.000 +) so mayby dictionary or arrays would be better. (just thinking loudly)

Best Regards
W.
 
Last edited:

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread.
Per forum rules, posts of a duplicate nature will be locked or deleted (rule 12 here: Forum Rules).
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,215,237
Messages
6,123,800
Members
449,127
Latest member
Cyko

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