+ Reply to Thread
Results 1 to 11 of 11

Transfer important data from a messy rawdata

  1. #1
    Forum Contributor
    Join Date
    04-22-2013
    Location
    Philippines
    MS-Off Ver
    Office 365, Excel 2016
    Posts
    146

    Transfer important data from a messy rawdata

    I have an unpredictable data, which I need a macro to be able to transfer the data. In the attached file, in the INPUT tab, all yellow should be transferred in a new sheet. Most of the data has dates/value on the column C. The highlights are for this sample purposes only and not in the actual.

    Is there a macro on how I can transfer the line or the data to a new sheet with this data behavior?

    Thanks.
    Attached Files Attached Files
    Last edited by SBBmaster09; 09-14-2016 at 05:39 AM.

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Transfer important data from a messy rawdata

    You probably missed the attachment.

    ____________________________


    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    多么想要告诉你 我好喜欢你

  3. #3
    Forum Contributor
    Join Date
    04-22-2013
    Location
    Philippines
    MS-Off Ver
    Office 365, Excel 2016
    Posts
    146

    Re: Transfer important data from a messy rawdata

    I didn't missed it, it was just late uploaded since the file came from other's PC,

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Transfer important data from a messy rawdata

    Maybe:

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    04-22-2013
    Location
    Philippines
    MS-Off Ver
    Office 365, Excel 2016
    Posts
    146

    Re: Transfer important data from a messy rawdata

    Hi -

    Thank you John. I just got another requirement that would help me. Only rows where column A has the "MAC" value. This are usually placed from the 3rd String of column A. [MID(A1,3,3)] How will I will be able to only get those lines with the said requirement? Thanks.

  6. #6
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Transfer important data from a messy rawdata

    You can try this:
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    04-22-2013
    Location
    Philippines
    MS-Off Ver
    Office 365, Excel 2016
    Posts
    146

    Re: Transfer important data from a messy rawdata

    Hi millz, it is now working. I able to determine another requirement, how can I add that the filter will be selected only for column C where a defined date is equal to K1.

    Also, I will be using different workbook. The ws would be the Inputworkbook and need to reopen another workbook and there will be the output be inserted.

  8. #8
    Forum Contributor
    Join Date
    04-22-2013
    Location
    Philippines
    MS-Off Ver
    Office 365, Excel 2016
    Posts
    146

    Re: Transfer important data from a messy rawdata

    Seems I got it, so far I have this running code working:
    Filters MAC and date, will post once I got the correct for the different workbook.

    Please Login or Register  to view this content.

  9. #9
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Transfer important data from a messy rawdata

    Hi, that just complicate matters.
    Will the destination workbook be a new one? or is it an existing one? If existing, post a sample of that 'destination' workbook too.
    Is the destination worksheet in the workbook a new one? or an existing one?

  10. #10
    Forum Contributor
    Join Date
    04-22-2013
    Location
    Philippines
    MS-Off Ver
    Office 365, Excel 2016
    Posts
    146

    Re: Transfer important data from a messy rawdata

    Final working code from one workbook to another:

    Please Login or Register  to view this content.

  11. #11
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,554

    Re: Transfer important data from a messy rawdata

    No loop
    Please Login or Register  to view this content.

+ 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] vba to copy data from rawdata and paste into output sheet depends upon code&child
    By johnmacpro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-01-2016, 06:52 AM
  2. need vba fetch data from pivot table or rawdata depends upon m column value
    By julielara in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-22-2016, 04:35 AM
  3. Help With Formatting Messy Data
    By KimberlyS in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-08-2015, 01:37 PM
  4. [SOLVED] Reorganizing Messy Data
    By Glade1825 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 11-23-2014, 03:01 AM
  5. Cleaning Messy Data for Import
    By Mordred in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-23-2011, 12:14 PM
  6. : help to create critical macro to copy data from rawdata file by 5 condition and pas
    By nirmala_kr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-03-2010, 01:57 PM
  7. [SOLVED] messy data
    By Adam in forum Excel General
    Replies: 4
    Last Post: 01-24-2006, 11: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