+ Reply to Thread
Results 1 to 4 of 4

Creating a text cell which responds to values on a data validation list

Hybrid View

  1. #1
    Registered User
    Join Date
    04-12-2016
    Location
    Yorkshire
    MS-Off Ver
    Office 2013
    Posts
    2

    Creating a text cell which responds to values on a data validation list

    Help please, this is beyond my modest excel skills.

    I would like to create a cell which “shouts out” if a target has been achieved on a option.

    A1 contains a data validation list. A B C D
    A2 contains my manually entered value, say (450).
    A3 I would like to automatically state ‘On Target’ with a green background fill or ‘Under target’ with a red background fill.

    The targets are
    A 500
    B 500
    C 250
    D 200

    Many thanks for any assistance.

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Creating a text cell which responds to values on a data validation list

    In A3, try the following, then fill right as needed:

    =IF(AND(A$1="A",A$2>=500),"On Target",IF(AND(A$1="B",A$2>=500),"On Target",IF(AND(A$1="C",A$2>=250),"On Target",IF(AND(A$1="D",A$2>=200),"On Target","Under Target"))))

    You can get your coloring with conditional formatting:

    Select A3 to the end of your data and use the following rule for green:

    =A3="On Target"

    Same for red, but use:

    =A3="Under Target"

  3. #3
    Forum Contributor
    Join Date
    01-09-2016
    Location
    Perth Western Australia
    MS-Off Ver
    Office 365
    Posts
    257

    Re: Creating a text cell which responds to values on a data validation list

    See that attached file. I think this will answer you problems in conditional formatting and the appropriate value in cell A3.

    Let me know how you go.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-12-2016
    Location
    Yorkshire
    MS-Off Ver
    Office 2013
    Posts
    2

    Re: Creating a text cell which responds to values on a data validation list

    Thank you both for you assistance.

    I used FoxSeaLady's file, this has worked a treat. As well as solving my issue, both replies have expanded my understanding of excel.

    Once again, many thanks for your time.

+ 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. Replies: 1
    Last Post: 09-28-2014, 09:09 AM
  2. [SOLVED] VBA - Distinguishing when a cell is edited by a data validation list or free fromat text e
    By JLD1616 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-24-2014, 10:25 AM
  3. [SOLVED] Creating a Data Validation List in a Cell using VBA Code?
    By TheLittlePrince in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-18-2013, 12:02 PM
  4. Data Validation List: No empty or blank cell values
    By SiLeNCeD in forum Excel General
    Replies: 0
    Last Post: 11-14-2012, 06:41 PM
  5. [SOLVED] Creating a list in VB excel for data validation
    By Doruli in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2012, 08:45 AM
  6. Replies: 4
    Last Post: 02-15-2012, 12:11 PM
  7. Creating a data validation list
    By maacmaac in forum Excel General
    Replies: 5
    Last Post: 02-20-2010, 10:23 AM

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