+ Reply to Thread
Results 1 to 3 of 3

Marco that check date and look up column

  1. #1
    Registered User
    Join Date
    07-12-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Marco that check date and look up column

    Hello.
    I'm new here and come here with first problem.
    I need to make macro (I think it will be macro, maybe formula, not such a expert) that checks date in one cell, then reads data from column in same sheet. After that find column in different sheet with same date and copys data in there.
    Something like this.

    Sheet1
    A B C D E
    1 Description Size 02/05/2013 07/05/2013 12/05/2013
    2 Box 100
    3 Tape 50
    4 Paper 2000
    5 Kit 1

    Sheet2
    A B C D E F
    1 Description Size Count Date 12/05/2013
    2 Box 100 83
    3 Tape 50 24
    4 Paper 2000 6
    5 Kit 1 128

    So I need that it checks the date in sheet2 (F1) then finds a column in sheet1 with the same date and copys all date from column (C2:C5) in sheet2 to matching date column in sheet1.
    Last edited by imag1ne; 07-12-2013 at 03:50 AM. Reason: SOLVED

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Marco that check date and look up column

    Hi and welcome. Try something like this...

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    07-12-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Marco that check date and look up column

    Works like a charm. U are master-blaster! Thank You, u saved my ***.
    Last edited by imag1ne; 07-12-2013 at 03:20 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1