+ Reply to Thread
Results 1 to 5 of 5

Copying Data from Sheet1 to Sheet2 with condition

  1. #1
    Registered User
    Join Date
    08-10-2018
    Location
    United Kingdom
    MS-Off Ver
    Office 365 Pro Plus
    Posts
    7

    Copying Data from Sheet1 to Sheet2 with condition

    Hi everyone,

    Good evening. My first post here and happy to be a part, to learn and to contribute. i am posting a thread today to kindly get some help. I am new to VBA excel and i am working on a task. Please see the attached excel sheet; what I would like to get is,

    1. Copy and paste data from Sheet1 into a sheet and that sheet data should be categorised according to the tests.

    The final output should look like how it is in Sheet2. (Please note that there is no "Test C" on Sheet 2)

    Any help would be very much appreciated.

    Very much looking forward to replies.

    Thanks guys!!
    Attached Files Attached Files

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

    Re: Copying Data from Sheet1 to Sheet2 with condition

    Try
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-10-2018
    Location
    United Kingdom
    MS-Off Ver
    Office 365 Pro Plus
    Posts
    7

    Re: Copying Data from Sheet1 to Sheet2 with condition

    Jindon------wow wow wow wow!!!!!!!!!!!!!!!This is genius stuff mate. Thanks very much for your help. Cant thank you enough. I am now just trying to crack the code to understand it better.

    I have understood some of the functions and hope you could help me understand the some please?

    Dim a, i As Long, ii As Long, w, txt As String, e, n As Long, dic As Object

    If you could please help me the ones marked in bold above and what they refer to, that will be great.

    I am a learner and thanks for your patience and time. Much appreciated.
    Last edited by AliGW; 08-12-2018 at 06:24 AM. Reason: Unnecessary quotation removed.

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

    Re: Copying Data from Sheet1 to Sheet2 with condition

    1)

    Don't quote whole posts -- it's just clutter.
    If you are responding to a post out of sequence, limit quoted content to a few relevant lines that makes clear to whom and what you are responding

    For normal conversational replies, try using the QUICK REPLY box below.

    2) Do a step debug while Local Window open.
    While you are in VBE, go to [View] - [Local Window].
    Click somewhere n the code, and hit F8
    As you hit F8, the code executes one line and you will see all the variables in Local Window.

  5. #5
    Registered User
    Join Date
    08-10-2018
    Location
    United Kingdom
    MS-Off Ver
    Office 365 Pro Plus
    Posts
    7

    Re: Copying Data from Sheet1 to Sheet2 with condition

    No problem Jindon, thanks again for your help and support! Cheers.

+ 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. Copying data from sheet2 to sheet1 with specific requirement
    By biggener in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-17-2016, 02:23 PM
  2. Copying data from sheet2 to sheet1
    By marius87 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-06-2016, 09:04 AM
  3. Replies: 2
    Last Post: 09-07-2013, 02:23 PM
  4. Replies: 6
    Last Post: 07-25-2013, 02:58 PM
  5. Replies: 2
    Last Post: 12-09-2012, 04:26 AM
  6. Replies: 3
    Last Post: 06-06-2012, 05:36 AM
  7. [SOLVED] Copying Data from Sheet1 to sheet2 based on criteria for copy
    By pprane in forum Excel General
    Replies: 1
    Last Post: 04-22-2012, 02:32 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