Cross reference cell values then copy data between sheets

mrkambo

New Member
Joined
May 7, 2017
Messages
23
This one is a bit difficult for me to explain, so i included screenshots to help....maybe

I've have to cover some of the data as its personal information

https://imgur.com/cFDqyS8 source<source

<source (separate="" worksheet)

https://imgur.com/jdC0Ii9
destination<destination<destination (separate="" worksheet)


OK, so on the source you see column H, the last 3 characters are 300, i want the time part of the value in cell R to be copied to destination worksheet in column E

Now the tricky part, the destination worksheet has numbers ranging from 101 to 419, however they aren't sequential or go in ascending order

So what i need, is some kind of code which will look at all the values on the destination worksheet column A, and if it matches the last 3 character values in column H on source worksheet, it then copies the time value to the equivalent row in column E, if not it moves to next row

Im not sure if makes sense....

any guidance would be appreciated</destination<destination></source
 
Last edited:

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hi. Try this:

=MOD(LOOKUP(2,1/(RIGHT(Source!$H$1:$H$1000,3)=""&A1),Source!$R$1:$R$1000),1)

Alter the ranges as necessary.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

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