+ Reply to Thread
Results 1 to 4 of 4

Automatically extract data with the same date to another worksheet

  1. #1
    Registered User
    Join Date
    01-02-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    95

    Exclamation Automatically extract data with the same date to another worksheet

    We are currently working on a sales report. I'm using excel 2010 and I could not seem to figure out how to copy and paste the rows on the same date to another worksheet. I've attached the file I am currently working on and I hope you guys could help me.

    Also, is it better if I select the date it would automatically direct you to the the Raw sheet (that contains all the data) and filters it. How? Thank you in advance
    Attached Files Attached Files
    Last edited by danallamas; 01-13-2014 at 11:21 PM. Reason: wrong subject

  2. #2
    Valued Forum Contributor smuzoen's Avatar
    Join Date
    10-28-2011
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2003/2007/2010
    Posts
    610

    Re: Automatically extract data with the same date to another worksheet

    The easiest way to be to Autofilter the data in place then copy the visible cells to the destination sheet. Autofilters will often fail on exact date hence filtering on >= date and < date +1 so you need two criteria in autofilter. In this case I have hard coded a date but I would pass it to the sub as a parameter - to use the date (passed as a string) as a filter criteria convert it to a "long" and use this as the final criteria for the filter
    Please Login or Register  to view this content.
    Hope this helps.
    Anthony
    Pack my box with five dozen liquor jugs
    PS: Remember to mark your questions as Solved once you are satisfied. Please rate the answer(s) by selecting the Star in the lower left next to the Triangle. It is appreciated?

  3. #3
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: Automatically extract data with the same date to another worksheet

    So you want to be able to Select a Date.. and then copy all the rows that have that date from the "Sales Report (RAW)" sheet to another sheet.. is that correct?

    Which sheet do you want these rows copied to?

  4. #4
    Registered User
    Join Date
    01-02-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    95

    Re: Automatically extract data with the same date to another worksheet

    Yes I need to be able to copy all the rows from Sales Report Raw to MPA. The data must be copied below the date. if its possible, still below the date but to another column. I hope I was able to make myself clear

+ 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] Extract date from cell and replace value with date then delete empty rows
    By jjislas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-03-2013, 11:52 AM
  2. Replies: 4
    Last Post: 01-18-2013, 05:10 AM
  3. Replies: 1
    Last Post: 10-09-2012, 05:51 AM
  4. How to automatically add same worksheet on another date?
    By Roughneck in forum Excel General
    Replies: 8
    Last Post: 05-21-2012, 10:43 PM

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