is it possible to restrict cell values based upon a different cell?

A simple example of the desired functionality would be that a smartsheet contains two columns, Type and Value.

The Type column has two possible values: Even or Odd. The Value column has 10 possible values: 1,2,3,4,5,6,7,8,9,10.

Based on the value in column Type, I'd like to be able to restrict the choices for column Value. If Type=Even, only 2,4,6,8,10 would be displayed for selection in column Value. If Type=Odd, only 1,3,5,7,9 would be displayed for selection.

Is this possible? If so, please provide a brief description. Thanks!

Answers

  • Michael Pappas
    Michael Pappas ✭✭✭✭

    I don't think that you can do Data Validation like that, but you could use Conditional Formatting or a third column to throw up an all caps error message or turn everything bright red.

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭

    Hi @John Knipper

    I hope you're well and safe!

    Unfortunately, it's not possible now, but it's an excellent idea!

    Please submit an Enhancement Request when you have a moment.

    Here's a possible workaround or workarounds

    • Show a message what should be selected
    • Show a message/color the cell when the wrong/correct information is selected.
    • Use form logic in a form instead

    Would any of those options work/help?

    I hope that helps!

    Be safe and have a fantastic day!

    Best,

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

  • John Knipper
    John Knipper ✭✭✭✭

    Thank you, Michael and Andrée. I've considered conditional formatting, and I'll use that as a last resort.

    Andrée,

    1. You mentioned 'show a message'. Please provide information/links to read about how to do that and/or provide example.
    2. When I examined form logic, I saw functionality to display or not display fields, but I didn't see how to limit values within a field. Please provide information/link about how to do that and/or provide example.

    Thanks again,

    John