+ Reply to Thread
Results 1 to 3 of 3

Replace a cell in a row if its value is equal to a certain word

  1. #1
    Registered User
    Join Date
    07-24-2012
    Location
    PA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Replace a cell in a row if its value is equal to a certain word

    Hi,

    This may be tough to explain but I will do my best (which also made it tough to find a similar thread before posting). Does anyone have a macro that would replace a cell if the value of that cell is the word "BALANCE" with the value from a cell in the same row. I have attached a sample spreadsheet, but this is a simple example:

    LOT BALANCE SN CD B GA
    100 91.9 .001 .01 <.001 BALANCE
    101 98.1 BALANCE <.005 1.5 <.001

    In the first row, I would want to replace the GA cell with 91.9. In the second row, I would want to replace SN with 98.1. So where the word balance would appear in that row, I want to replace it with the value in the "BALANCE" column of that row.

    Please let me know if I need to clear anything up. Any help would be appreciated. Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: Replace a cell in a row if its value is equal to a certain word

    Please Login or Register  to view this content.
    David
    (*) Reputation points appreciated.

  3. #3
    Registered User
    Join Date
    07-24-2012
    Location
    PA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Replace a cell in a row if its value is equal to a certain word

    This is perfect! Thank you very much.

+ 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