+ Reply to Thread
Results 1 to 7 of 7

change the word acceding to data

  1. #1
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Post change the word acceding to data

    dear friends this is possible or i don't know.here i attach my document.i need like this.my first sheet column "K" data are two type.it's like this..
    1254689
    125687A-B
    I need to compare column "K" first 6 no with sheet two.
    if it's not match & column "L" value "not dyed" or "part dyed "then that text's should delete.
    if it's not match & column "L" value "part dyed - bal" then that text should "balance".
    pls any can make macro for this .thanks.....
    Attached Files Attached Files
    Last edited by johncena; 03-11-2010 at 06:28 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: change the word acceding to data

    Text should be replaced in which column? K or L?
    _________________
    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!)

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: change the word acceding to data

    I see...it's column L. Try this...
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: change the word acceding to data

    thanks very much JBeaucaire.your understanding 100% correct & your macro also work very well.only the thing is that first sheet column "M" values not only numbers.that's way i ask to check only first 6 character in sheet two.we check all cell value it will not mach with all data & answer also not correct.
    ex-first sheet column "M" cell value is 185468A-C, that same no in sheet two like this 185468A, 185458B &185468C
    in this case your macro answer not correct.if u can check first 6 character then my problem is solved.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: change the word acceding to data

    Maybe change this line:
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: change the word acceding to data

    thanks u very much JB.u save my 1 hours working time.this help i never forget.your macro is great.thanks a lot again.....rep+ add....

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: change the word acceding to data

    Glad to help, as always.

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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