+ Reply to Thread
Results 1 to 5 of 5

Data Validation List - Offset?

Hybrid View

  1. #1
    Registered User
    Join Date
    03-08-2008
    Posts
    48

    Data Validation List - Offset?

    I have a worksheet with a drop down list for three items for a project status update: Green, Yellow and Red

    Easy enough - However I would like the drop down list to show a color BUT enter a single letter, which represents a shape with the correct color associated. Currently I can do either or but not both...

    I can get the associating color using "Conditional Formatting" but how do I get the data validation to select Green but enter "l"

    Current lists name: ProjectColor, ProjectStatus

    So selecting "Yellow" would enter "n" formatted in yellow with a font of Wingdings to show a <Yellow Square>

    Any ideas?

  2. #2
    Registered User
    Join Date
    03-08-2008
    Posts
    48
    I know that Access has this ability in a drop down list but I can't seem to get it in Excel.

    Show one word in the drop down list - and input a different word in the cell.

    Anyone have any ideas on this one?

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    You could eliminate the data validation Error Alert, and use the worksheet change event to change the color names to whatever and change the font.

    Doing that would flush the Undo buffer, which, IMO, is a heavy price to pay.

  4. #4
    Registered User
    Join Date
    03-08-2008
    Posts
    48
    Thanks shg!

    I probably won't have a choice as this is a required feature for this worksheet so...macro it is.

    Thanks again.

  5. #5
    Registered User
    Join Date
    03-08-2008
    Posts
    48

    Resolved using Combo Box

    Just wanted to update everyone on a fix I can accross for my issue:

    Using a combo box to select my list (Green, Yellow or Red)
    Cell Link is in an unused cell formated as white and returns 1, 2 or 3 respectively.

    Using an If Statment I can pull the correct value and replace with the correct letter. So, selecting Green in the drop down box, Enters 1 in cell F1, which in turn enters "l" in D1, formatted as Wingdings using a conditional format to highlight in Green gives me a green circle. The same system provides a yellow square and a red diamond.

    I placed my control box over the cell that I need to show the results in: D1.
    In the format section I marked the control to not print.

    When the worksheet is opened you can read the results, when it is printed it has the colorful shapes that my manager has requested. Good times.

+ 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