+ Reply to Thread
Results 1 to 2 of 2

moving mismatched data from column to corresponding row with target data in same column

  1. #1
    Registered User
    Join Date
    04-17-2014
    Location
    NJ
    MS-Off Ver
    Excel 2007
    Posts
    9

    moving mismatched data from column to corresponding row with target data in same column

    They say a picture is worth a thousand words. Well, please see the following:

    datemacrohelp.png

    I am trying to execute the preceding operations with a macro. (move dates from same column as names, into column to the left of names, next to names that fell under the same date.) I'd like it to loop throughout the worksheet. I can substitute and move things around in VBA but I cannot purely write the macro. I was thinking either recognizing the pertinent cells as dates or by their bold characteristic? I feel like this is a pretty common macro in the business world and was hoping someone would share the solution with me. I am using Excel version 2007.

    If it helps, the purpose of this is to format the file in such a way that i can use a pivot table. i want the names to keep a relationship with the dates (example: the date represents when the customer placed an order) Any suggestions are appreciated. Please provide feedback if it is not understood what it is I am trying to do.
    Attached Files Attached Files
    Last edited by Didomenicon; 04-17-2014 at 09:19 AM.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: moving mismatched data from column to corresponding row with target data in same colum

    Try such a macro:
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    04-17-2014
    Location
    NJ
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: moving mismatched data from column to corresponding row with target data in same colum

    That worked perfectly! Thank you Kaper!

+ 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. Moving data from column and pasting to bottom of next column
    By Datagirl8472 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-05-2014, 04:33 PM
  2. Moving column and putting data into the new column
    By godlyatheist in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2013, 03:20 PM
  3. Replies: 1
    Last Post: 01-22-2013, 06:53 PM
  4. deleting a duplicate in Column A but moving the data in Column B elsewhere
    By wwweeerrr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-10-2012, 01:33 PM
  5. Replies: 5
    Last Post: 02-07-2012, 04:55 PM

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