Sorting Dates

adamsm

Active Member
Joined
Apr 20, 2010
Messages
444
I've been wanting to know a code that would copy the date in column “F” of the sheet “Memo” and paste the date to column “A” of the sheet “Orders”.

My data in sheet “Memo” starts from row 4 where I have column headers in row 3. And the data in sheet “Orders” start from row 5 where I have column headers in row 4.

In sheet “Memo”, I have the serial number in column “B”. And in sheet “Orders” I have Serial number in column “B”. The serial numbers are in the format 0679 and so on.

What I’m trying to do is to copy the date from the sheet “Memo” and paste the date in the rows of the sheet “Orders” that matches with the serial number.

Let’s say for example the serial number in column “B” of sheet “Memo” is 0697 and date in column “F” of the same sheet & same row is 26/01/2010.
And in column “B” of the sheet “Orders” I’m having the serial number 0697 starting from rows 5 to 10.

What I want to get with the macro code is to copy the date from the sheet “Memo” and paste it in column “A” from rows 5 to 10 where the serial number 0697 exists in the sheet “Orders”.

And to repeat the same with other serial numbers.

I hope I’ve made my question clear.

Any help on this would be kindly appreciated.

Thanks in advance.
 

Some videos you may like

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

adamsm

Active Member
Joined
Apr 20, 2010
Messages
444
Thanks for the reply P45Cal. And I do really appreciate your help.
 

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,506
Messages
5,511,706
Members
408,862
Latest member
sidneybc

This Week's Hot Topics

  • Turn fraction around
    Hello I need to turn a fraction around, for example I have 1/3 but I need to present as 3/1
  • TIme Clock record reformatting to ???
    Hello All, I'd like some help formatting this (Tbl-A)(Loaded via Power Query) [ATTACH type="full" width="511px" alt="PQdata.png"]22252[/ATTACH]...
  • TextBox Match
    hi, I am having a few issues with my code below, what I need it to do is when they enter a value in textbox8 (QTY) either 1,2 or 3 the 3 textboxes...
  • Using Large function based on Multiple Criteria
    Hello, I can't seem to get a Large formula to work based on two criteria's. I can easily get a oldest value based one value, but I'm struggling...
  • Can you check my code please
    Hi, Im going round in circles with a Compil Error End With Without With Here is the code [CODE=rich] Private Sub...
  • Combining 2 pivot tables into 1 chart
    Hello everyone, My question sounds simple but I do not know the answer. I have 2 pivot tables and 2 charts that go with this. However I want to...
Top