+ Reply to Thread
Results 1 to 4 of 4

searching for a day then populating that column to a new sheet

  1. #1
    Registered User
    Join Date
    05-10-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    searching for a day then populating that column to a new sheet

    Hello

    I hope someone can assist me. File is attached.

    I have a macro running which accesses two hyperlinks, copies the data from these files and pastes it into my file in the "raw data tab".
    What I need is for the data for Monday to be put into the "RD MON" tab, the data for Tuesday to be put into the "RD Tue" tab and so on for each day of the week.

    There are two sets of data that are imported into the "Raw Data" tab that need to be imported to each of the tabs for each days of the week:
    "Res Out by Half Hour Gold ADE60" referred to as Gold Data
    "Res Out by Half Hour NonGold ADE60" referred to as Non Gold Data

    Gold Data needs to be pasted from B4:B21 in the following tabs "RD Mon""RD Tue""RD Wed""RD Thu""RD Fri""RD Sat""RD Sun"
    Non Gold Data needs to be pasted from D4:D21 in the following tabs "RD Mon""RD Tue""RD Wed""RD Thu""RD Fri""RD Sat""RD Sun"

    Problem 1:
    These hyperlink files are daily reports. They are very simple and look at the confirmed orders, broken down into time periods, for the next 7 days. Because they are run daily the first column of data each day is for the next day. For example if I ran it today (Tuesday), the first column of data would be for Wednesday, then Thursday and so on for 7 days. If I ran the report tomorrow (Wednesday) the first column of data would be for Thursday and then for Friday and so on. So every time I run the macro, it places the data into my spreadsheet.

    As the day changes columns every time you upload the file, I cant work out how to make the macro take the 2 columns of data for each day and place it in the relevant columns in that Days Tab.

    Any assistance is greatly appreciated.
    Attached Files Attached Files
    Last edited by JAL_0110; 09-04-2013 at 03:16 AM.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: searching for a day then populating that column to a new sheet

    Hi JAL_0110

    Try this
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    05-10-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: searching for a day then populating that column to a new sheet

    Thank you so much. Code worked brilliantly!!

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: searching for a day then populating that column to a new sheet

    You're welcome...glad I could help. Thanks for the Rep.

+ 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. Replies: 6
    Last Post: 12-20-2022, 02:32 PM
  2. Replies: 0
    Last Post: 08-07-2011, 05:06 PM
  3. Replies: 0
    Last Post: 04-24-2008, 12:03 PM
  4. Populating a cell in a column from another sheet
    By kvvaughan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-20-2007, 09:05 AM
  5. Replies: 7
    Last Post: 03-12-2006, 10:55 AM

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