Share via

Formula not working in data validation

Anonymous
2023-02-10T23:17:20+00:00

Hi,

I'm using Excel 360 - web.

Goal: Trying to created a dynamic list based on the input of another cell.

I have created the following formula

=OFFSET('Index - What'!$B$2,1,MATCH($C2,'Index - What'!$B$2:$F$2,0)-1,COUNTA(OFFSET('Index - What'!$B$2,1,MATCH($C2,'Index - What'!$B$2:$F$2,0)-1,100)),1)

The above formula works when its inputted into a cell, but when I try and add the formula within the data validation (either under list or custom) I get the following error code, "This formula currently evaluates to an error. Do you want to continue?"

Anyone know why the formula works on its own? but not in the data validation tool?

Microsoft 365 and Office | Excel | For business | MacOS

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

Answer accepted by question author

Anonymous
2023-02-12T04:27:59+00:00

Solved the issue, turns out I was using a free version of 365 and not the full version. The free version did not support functions.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-02-12T04:14:50+00:00

    Just to clarify, when you say add a name, how would that show?

    Should formulas not work in the data validation? Is that a restriction?

    Was this answer helpful?

    0 comments No comments
  2. Ashish Mathur 102K Reputation points Volunteer Moderator
    2023-02-11T01:33:37+00:00

    You are welcome. Share some data and show the expected result.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-02-11T01:26:06+00:00

    Thanks, just tried that, it partially works, but it now only pulls the first lane of the offset and not the full list. :(

    Was this answer helpful?

    0 comments No comments
  4. Ashish Mathur 102K Reputation points Volunteer Moderator
    2023-02-11T00:00:31+00:00

    Hi,

    Assign a name to the formula and use that name in Data validation.

    Was this answer helpful?

    0 comments No comments