+ Reply to Thread
Results 1 to 3 of 3

Force a cell to be filled based on text in another - data validation possible?

  1. #1
    Registered User
    Join Date
    01-23-2019
    Location
    Hobart, Tasmania
    MS-Off Ver
    2010
    Posts
    2

    Force a cell to be filled based on text in another - data validation possible?

    I am trying to improve a spreadsheet that is filled out by a range of people auditing customer interactions.

    There is a date cell that needs to be filled out if the result of the audit is "Breach" but not if the result is "Compliant".

    I want to either force the date cell to be filled if the results is Breach, OR not allow the audit result to be Breach unless there is a date in the remedial action.

    I'd like to use data validation if possible, and not have any formulas in the cell itself.

    I've used the data validation formula =NOT(ISBLANK(date cell)) in the result column to force the date to be filled out before the result, but can't figure out how to limit that to only certain result types.

    An example spreadsheet is attached.
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,739

    Re: Force a cell to be filled based on text in another - data validation possible?

    Ignore my post
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Valued Forum Contributor
    Join Date
    01-07-2022
    Location
    Europe
    MS-Off Ver
    Office 365
    Posts
    473

    Re: Force a cell to be filled based on text in another - data validation possible?

    It's difficult to 'force' without use of VBA, but there are some slightly softer interventions that may help

    how about:
    - Using Data Validation for Column E, allowing dates. You can restrict it to certain date ranges - e.g. you can put the start date as the date in Column D (e.g. =D2 in data validation for cell E2), and the end date as '=today()'. You can also put a custom Input Message to make it clearer on what the expected inputs are when they click on the cell

    and either

    - Using conditional formatting in Column H so that it highlights if Audit Result is Breach without a date of Remedial Action has been filled out, or
    - Using conditional formatting in Column E so that it highlight if date of Remedial Action is missing when Audit Result is breach.

    Have attached a mockup with the two examples of this
    Attached Files Attached Files
    <<< If you have valued anyone's contributions in this thread, please click * to thank them for their efforts

+ 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. [SOLVED] clear data validation drop down based on text in another cell
    By lilsnoop in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-28-2021, 12:36 PM
  2. Replies: 2
    Last Post: 06-24-2021, 12:28 AM
  3. [SOLVED] Data Validation to force Uppercase and From List only Text
    By IFSSCref in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-17-2020, 06:05 PM
  4. Data Cross Reference (validation) based on Text in a Cell
    By kwjoh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-06-2015, 01:57 AM
  5. [SOLVED] Trouble using Data Validation/Custom to prevent entries based on text in another cell
    By LSR1011 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-06-2014, 06:04 PM
  6. [SOLVED] Data validation based on another cell containing specific text
    By Sph01 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-06-2013, 05:51 AM
  7. Updating Two Pivot Filters based on Two Data Validation Cell Text
    By garam082981 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-13-2012, 01:21 PM

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