+ Reply to Thread
Results 1 to 2 of 2

move specific values from one column to another - macro request

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-08-2012
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    196

    move specific values from one column to another - macro request

    Dear all,

    I am writing to seek help, in creating a macro, which can find specific values from column F and if those values (conditions) equal true in column F, then copy column F and G and paste it into column H & I.

    Here are the conditions:
    if (F) int values >= 125(whole number)
    copy. cell(F)&(G) = paste.cell(H)&(I)

    else if (F) string values >= alphabet+(int value) *
    copy. cell(F)&(G) = paste.cell(H)&(I)

    else if (F) string values >= +(int value) *
    copy. cell(F)&(G) = paste.cell(H)&(I)


    (*) - i.e. N+100, ASW+70s,

    (*) - i.e. +900, +34s

    the 3 conditions are:
    if column F, contains whole number greater than 125, then copy the value from column F and the same row cell of Column G, and paste it into column H and I.

    if column F, contains string value where it has alphabet and plus sign and number after that, then extract that value and paste it into column H and I (same row).

    if column F, contains string value where it has plus sign and number after that, then extract that value and paste it into column H and I (same row).

    I have attached a sample data in the file below, showing input data and desired output in another sheet, for further reference. The workbook follows the logic from the conditions stated above.
    test_1.xls

    Thank you very much for any help provide.
    Kind regards
    Last edited by missy22; 01-26-2015 at 10:13 AM.

  2. #2
    Forum Contributor
    Join Date
    08-08-2012
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    196

    Re: move specific values from one column to another - macro request

    Hi, could anyone please provide a little guide, as to how I can get started with the above threat post.

    Much appreciated. Thanks

+ 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] Macro to move whole column if the first cell of the column has a specific value
    By Jangorage in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-22-2014, 09:59 AM
  2. [SOLVED] Macro with Formula to move specific information to new column
    By redzan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-31-2014, 03:29 PM
  3. [SOLVED] Macro to move any selected cell to a specific column on the same row
    By Jonah Mulski in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-30-2013, 12:23 PM
  4. Macro/VBA to move specific data from one column to another (without duplicates)
    By JezVanderBrown in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-29-2013, 06:36 AM
  5. Replies: 2
    Last Post: 03-13-2006, 01:10 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