+ Reply to Thread
Results 1 to 9 of 9

Replace value

  1. #1
    Registered User
    Join Date
    06-16-2014
    Location
    TX
    MS-Off Ver
    2010
    Posts
    27

    Replace value

    Hi

    I would like to know if this is posible to program.

    I would like to replace the value in column K with -1 if the value in column G is FT.

    Any help or advise is greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Replace value

    you want that in VBA or will a formula in a seperate column suffice?
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    06-16-2014
    Location
    TX
    MS-Off Ver
    2010
    Posts
    27

    Re: Replace value

    in VBA would be I deal

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Replace value

    try this code

    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: Replace value

    This would be one of many ways.
    Please Login or Register  to view this content.

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Replace value

    ↑ will give you wrong result when there is no "FT"....?
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    06-16-2014
    Location
    TX
    MS-Off Ver
    2010
    Posts
    27

    Re: Replace value

    Thank you it worked perfectly

  8. #8
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: Replace value

    @jindon.
    Of course, you're right. Never thought about that.
    Thanks for pointing that out jindon.

  9. #9
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: Replace value

    Maybe something like this will also work...? (Change ranges to suit)

    Please Login or Register  to view this content.

+ 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] find and replace to not replace characters found as wildcards
    By sabutler4 in forum Excel General
    Replies: 4
    Last Post: 07-03-2013, 06:48 PM
  2. Multiple Find and Replace to replace a list of strings
    By WalterP34 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-11-2011, 07:41 PM
  3. Replace Function:Replace" and type in
    By ronnyc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-19-2007, 06:26 PM
  4. [SOLVED] find and replace - replace data in rows to separated by commas
    By msdker in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-14-2006, 08:10 PM
  5. Replace method - cannot find any data to replace
    By Mike in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-06-2006, 04:00 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