+ Reply to Thread
Results 1 to 3 of 3

Macro code to display qualification in next column-reg

  1. #1
    Forum Contributor
    Join Date
    10-31-2013
    Location
    india
    MS-Off Ver
    Excel 2019
    Posts
    147

    Macro code to display qualification in next column-reg

    Good Morning Sir

    Kindly help me for a macro code for the following scenario

    I have list of Doctors name with qualification in Column A

    I want a macro code which will remove the qualification from Column A and display it in Column B

    For example Dr SSSS MBBS MD is in Column A

    The output should be Dr SSSS in column A and MBBS MD in Column B

    i have attached excel file for your reference

    thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: Macro code to display qualification in next column-reg

    Hi skml,

    Does it have to be code? This formula will do the job:

    =TRIM(RIGHT(SUBSTITUTE(A2," ",REPT(" ",255),2),255))

    If it does have to be a macro then maybe:

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Forum Contributor
    Join Date
    10-31-2013
    Location
    india
    MS-Off Ver
    Excel 2019
    Posts
    147

    Re: Macro code to display qualification in next column-reg

    Dear Sir,

    Thanks for your response

    I have tested the program.

    The qualification of doctor in column A is not getting removed.

    Eg In column A Dr RRRR MBBBS,MD

    The output should be Column A Dr RRRR Column B MBBS MD

    If i give qualification as input, it should search in Column A and remove and replace the qualification in Column B



    Thanks i

+ 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. How do I get the sum of a column but with a qualification?
    By icebearmonster in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-08-2020, 07:33 AM
  2. [SOLVED] Code to display text & code in a combo list, but display only code when selected
    By kdestef1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-26-2019, 06:07 PM
  3. Qualification Tracker Recommendations/Improvments
    By sorensjp in forum Excel General
    Replies: 7
    Last Post: 02-12-2019, 06:59 AM
  4. Replies: 3
    Last Post: 03-21-2014, 10:31 AM
  5. Excel Courses/Qualification
    By pauldaddyadams in forum The Water Cooler
    Replies: 1
    Last Post: 02-01-2012, 04:51 AM
  6. Welder Qualification Database
    By karthikcoep in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-12-2009, 07:25 AM
  7. Auto clear when qualification is met
    By Paul987 in forum Excel General
    Replies: 1
    Last Post: 10-10-2005, 08:53 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