+ Reply to Thread
Results 1 to 3 of 3

Macro to concatenate or add text to cell value based on another cells value

  1. #1
    Registered User
    Join Date
    08-23-2012
    Location
    Charotte,NC
    MS-Off Ver
    Excel 2007
    Posts
    25

    Macro to concatenate or add text to cell value based on another cells value

    OK, here's the desired outcome:

    In column "H", if "Note" is slected from a drop down list, the corresponding note description in column "F" will add an asterisk and a space before the text description

    For example,:

    "Note" is selected, and the text in column "F", "Customer to verify" would change to "* Customer to verify".

    Thanks

  2. #2
    Registered User
    Join Date
    08-23-2012
    Location
    Charotte,NC
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Macro to concatenate or add text to cell value based on another cells value

    I was able to figure this one out except for undoing the asterisk if the drop down value changes from a "Note" to another value. How can I remove the asterisk and the space before the description? Thanks

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-23-2012
    Location
    Charotte,NC
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Macro to concatenate or add text to cell value based on another cells value

    Perhaps the TRIM function would be a solution to the above post. Any ideas of what code would search the beginning of the active cell for an "* " and then TRIM(ActiveCell) or something to this effect? If no "* ", then ActiveCell value. Thanks

+ 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