+ Reply to Thread
Results 1 to 2 of 2

Need a Macro to extract values from one column into different columns

  1. #1
    Registered User
    Join Date
    06-10-2015
    Location
    Bengaluru, India
    MS-Off Ver
    2007
    Posts
    21

    Need a Macro to extract values from one column into different columns

    Hi,

    I need a macro to extract few values from a column (i.e) Please find the attached file. Here in the file whichever is within "par(xxxx)" and "bpar(xxxx)" must be copied and paste the values into the new columns based on occurrences. kindly please do help me out. Thanks in advance for your reply.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,926

    Re: Need a Macro to extract values from one column into different columns

    The key to success with this is the recursive use of InStr.
    The function is called FindPar and the syntax is =FindPar (CellRef, "par(",Instance) where instance is 1, 2, 3 ... in other words the occurrence of par or bpar in the input string.
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. String combining column names. Extract values from these columns.
    By regresss in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-04-2015, 06:20 PM
  2. looking for macro to extract values from column
    By AnmolKumar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-09-2013, 09:18 AM
  3. Replies: 8
    Last Post: 09-12-2013, 09:17 AM
  4. Replies: 1
    Last Post: 02-14-2013, 02:32 PM
  5. Macro to extract data into different tabs for each values in column D "Group"
    By vijanand1279 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-26-2012, 03:30 PM
  6. Replies: 3
    Last Post: 09-20-2011, 05:05 PM
  7. Macro Loop to Extract Specific Values and Min/Max Values From Column/Rows Range
    By ExcelQuestFL in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 12-19-2010, 09:19 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