IFS Statement data Validation

Anonymous
2023-05-19T20:42:21+00:00

Trying to get this function just using data validation.

Microsoft 365 and Office | Excel | Other | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. HansV 462.4K Reputation points MVP Volunteer Moderator
    2023-05-19T20:55:20+00:00

    Select X1 and the values 1, 2, 3 and 4 below it.

    On the Formulas tab of the ribbon, in the Defined Names group, click Create from Selection, and click OK in the dialog.

    Excel will name the range with 1, 2, 3 and 4 as X1_ (the underscore is because it cannot use X1 - that is a cell address).

    Repeat for X2 and the values below it, and for X3 and the values below it.

    Then select the cell under B, i.e. cell C8.

    On the Data tab of the ribbon, click Data Validation.

    Select List from the Allow drop down.

    In the Source box, enter the formula

    =INDIRECT(B8&"_")

    Click OK.

    0 comments No comments
  2. Anonymous
    2023-05-19T21:10:47+00:00

    Thank that worked but now my issue is there is no functionality in Office 365 excel

    0 comments No comments
  3. HansV 462.4K Reputation points MVP Volunteer Moderator
    2023-05-19T21:29:48+00:00

    Do you mean Excel Online? If so:

    • Select the 1, 2, 3, and 4 below X1.
    • Click in the Name box on the left hand side of the Formula bar.
    • Type the name X1_ and press Enter.
    • Repeat for the other two ranges.

    But you may have to create the data validation rule in the desktop version of Excel.

    0 comments No comments
  4. Anonymous
    2023-05-22T13:46:15+00:00

    Yes Excel Online I meant

    0 comments No comments
  5. Anonymous
    2023-05-22T13:55:12+00:00

    Hello I tried in Excel Online. I was able to make the list, but not able to put it in a Formula in data validation.

    0 comments No comments