+ Reply to Thread
Results 1 to 6 of 6

Excel VBA code required to re-arrange the data based on Column condition

  1. #1
    Forum Contributor
    Join Date
    09-20-2014
    Location
    India
    MS-Off Ver
    2013
    Posts
    275

    Lightbulb Excel VBA code required to re-arrange the data based on Column condition

    Dear all,
    Please review attached file.

    The data below "Scenario" is my present data and "Output Required" is something what i am looking for...

    Process (Refer "Scenario" data):
    1) If any of the Row "Type" is "O", then data available in 'commodity' column must be move to next upper "R" type column under "Col2" cell
    2) After moved, "O" type row has to be deleted.

    Is it possible to do..?

    Please help.
    Attached Files Attached Files
    Last edited by mchilapur; 07-28-2015 at 02:23 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,110

    Re: Is it possible to do using VBA?

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Never use Merged Cells in Excel

  3. #3
    Forum Contributor
    Join Date
    09-20-2014
    Location
    India
    MS-Off Ver
    2013
    Posts
    275

    Re: Excel VBA code required to re-arrange the data based on Column condition

    I have changed the title..Is it fine now..?

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,110

    Re: Excel VBA code required to re-arrange the data based on Column condition

    Yes. You may continue.

  5. #5
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Excel VBA code required to re-arrange the data based on Column condition

    Hi mchilapur,
    try this
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    09-20-2014
    Location
    India
    MS-Off Ver
    2013
    Posts
    275

    Re: Excel VBA code required to re-arrange the data based on Column condition

    Thanks a lot..

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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