+ Reply to Thread
Results 1 to 3 of 3

Macro to match date in data table and copy cell range containing date.

  1. #1
    Registered User
    Join Date
    04-26-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    31

    Macro to match date in data table and copy cell range containing date.

    Hi all, I am a struggling user of Excel (2003). In a worksheet I have a data range ("B66:P161") containing scheduling details for 95 staff set out for 14 dates which are shown along ("C66:P66") (the top row). I need help creating a macro which will match a date in a cell ("E1") with corresponding one in ("C66:P66") and copy the cells below it to another location beginning with cell ("U66"). E.g. if ("E1") a date "14/8/14" then the range ("D66:D161") would be copied & pasted to ("U66"). Thanks in advance.Schedule.xls

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Macro to match date in data table and copy cell range containing date.

    hi 54ed, please check attachment, press Run button
    Attached Files Attached Files
    Last edited by watersev; 08-14-2014 at 06:35 PM.

  3. #3
    Registered User
    Join Date
    04-26-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    31

    Re: Macro to match date in data table and copy cell range containing date.

    Thanks Watersev, that does exactly what I wanted. I love the Ukrainian version of Monday and will save it. Regards from Dublin, Ireland.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Index Match Based on One Date Criteria, Table Contains Beginning Date and End Date
    By jcox1953 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-09-2014, 02:41 PM
  2. [SOLVED] INDEX date that MATCH on date range, MATCH code(string)
    By Dahlia in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-23-2014, 03:33 AM
  3. Replies: 9
    Last Post: 04-12-2012, 04:23 AM
  4. Replies: 27
    Last Post: 08-17-2011, 05:25 PM
  5. Macro to copy cell data on a set date
    By Pindacko in forum Excel - New Users/Basics
    Replies: 10
    Last Post: 12-11-2006, 07:11 AM

Tags for this Thread

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