+ Reply to Thread
Results 1 to 7 of 7

If column contains specific text then value of another cell changes.

  1. #1
    Registered User
    Join Date
    11-19-2018
    Location
    Houston
    MS-Off Ver
    1810
    Posts
    58

    If column contains specific text then value of another cell changes.

    Hello guys, im having trouble getting this one to work. So:

    I have a code set where if column G is NOT blank then column B = "O" (open) that tells me that the order is new/open.

    Now what im looking for is if column O = "Complete" then column B = "P" (partial) that tells me the order is partially done.

    AND if column P = "Complete" then column B = "D" (Done) which tells me that the order is completely done.

    This is what I have so far:
    Please Login or Register  to view this content.
    It works when I enter value into column G because column B changes to "O" (green font) but when I enter "Complete" in either column O or P nothing happens (red front) . . . Any ideas?

  2. #2
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,156

    Re: If column contains specific text then value of another cell changes.


    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-19-2018
    Location
    Houston
    MS-Off Ver
    1810
    Posts
    58

    Re: If column contains specific text then value of another cell changes.

    No luck with that one, nothing happens when I mark either O or P with "complete"

  4. #4
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,156

    Re: If column contains specific text then value of another cell changes.


    See attachment
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-19-2018
    Location
    Houston
    MS-Off Ver
    1810
    Posts
    58

    Re: If column contains specific text then value of another cell changes.

    I saw your attachment.. works fine there but for some reason it's not working on mine. I attached a sample of my workbook along with your code.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,156

    Re: If column contains specific text then value of another cell changes.

    Try, but I don't see any special obstacles here ...:
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    11-19-2018
    Location
    Houston
    MS-Off Ver
    1810
    Posts
    58

    Re: If column contains specific text then value of another cell changes.

    Got it! After a while of playing around with it I found what the problem was. If you look at the code I posted in the beginning; I had to merge your code with that one. Starting a new "Private Sub" was what was keeping it from working properly. Works like a charm now! Thank you for your patience and brains!

+ 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. Split column/cell on specific text
    By tstackhouse10 in forum Excel General
    Replies: 2
    Last Post: 11-14-2017, 03:27 PM
  2. Replies: 8
    Last Post: 10-28-2015, 10:22 AM
  3. How to countif a specific column based on a cell text value.
    By JamesBlack90 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-24-2015, 07:46 AM
  4. Replies: 1
    Last Post: 02-03-2014, 02:13 PM
  5. [SOLVED] IF column = specific text then copy value from another cell along the same column
    By Lifeless in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-02-2013, 04:15 PM
  6. Replies: 19
    Last Post: 04-10-2013, 08:30 AM
  7. Add Text from specific cell to next empty cell in a column
    By dcgrove in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-30-2008, 01:42 AM

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.6.0 RC 1