+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    03-04-2010
    Location
    Dubai
    MS-Off Ver
    Excel 2007
    Posts
    3

    Criteria based editing of cells

    Hello Guyz,



    S/no Ref

    5634 RXOCF-23 to be deleted
    5634 RXOTRX-23-11
    5634 RXOTRX-23-12 Should be combined
    3234 RXOTX-2
    2234 RXOCF-12 to be deleted
    2234 RXOTRX-12-1 to be deleted
    2234 RXOTX-12-1


    and ouput should be as follows

    5634 RXOTRX-23-11&-12
    3234 RXOTX-2
    2234 RXOTX-12-1



    Note : The page used to have a lot of data i this order

    S/n>Ref

    for a particular s/no there will be multiple entries like Ref on

    CF-xx
    TRX-xx-yy
    TRX-xx-yy1
    TX-xx-yy
    TX-xx-yy1 and so on

    My aim is to get only one entry for a S.no with particular 'xx' which has the lower most REF, combining multiple yy's

    in above eg

    it should be


    S/no TX-xx-yy&yy1


    plz help me to generator a macro for the same...


    Thx in advance
    Attached Files Attached Files
    Last edited by Ahamed Mehaboob; 03-10-2010 at 01:55 PM.
    Regards

    Ahamed Mehaboob
    Etisalat, UAE
    Mob: 0506325561

  2. #2
    Registered User
    Join Date
    03-04-2010
    Location
    Dubai
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: HELP: To generate MACRO for combining and deleting cells based on many criteria

    Kindly contact me if u require any sample sheet.
    Regards

    Ahamed Mehaboob
    Etisalat, UAE
    Mob: 0506325561

  3. #3
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    18,225

    Re: HELP: To generate MACRO for combining and deleting cells based on many criteria

    Please provide a usable sample data workbook, 10-20 rows should suffice.

    Click GO ADVANCED and use the paperclip icon to post up your workbook.

    =======
    NOTE: Please EDIT the original post, click GO ADVANCED and remove the "Help" from the title, it is against the forum rules. Titles should succinctly and professionally state the topic only.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    “None of us is as good as all of us” - Ray Kroc
    “Actually, I *am* a rocket scientist.” - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    03-04-2010
    Location
    Dubai
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: MACRO for combining and deleting cells based on some criteria

    Thank you, test file attached.
    Regards

    Ahamed Mehaboob
    Etisalat, UAE
    Mob: 0506325561

Thread Information

Users Browsing this Thread

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

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.2.0