Forum Discussion

Kevin_Qiu's avatar
Kevin_Qiu
Copper Contributor
Sep 19, 2019

#Dynamic Data Validation, Indirect, Offset# anyone can help?

I used INDIRECT to get a list for Data Validation, but the result is totally different in these 2 scenarios.

Scenario 1: use offset to get a dinamic range, the result is error.

Scenario 2: get a range without OFFSET, the result is normal.

5 Replies

  • Kevin_Qiu 

    offset formula needs a height and a width. In your formula you have no value for height which should have been COUNTA formula and 1 in your width area like below:

    =OFFSET(Sheet1!$C$1;;;COUNTA(Sheet1!$C:$C);1)

    if you do not enter any value in both height and width or enter 0 in these fields, offset formula would return #REF error.

    • Kevin_Qiu's avatar
      Kevin_Qiu
      Copper Contributor
      thank you so much for your time.
      I revised the OFFSET formula and it referred to the right cells.
      after that, i use INDIRECT in the data validation, the result is still the same.
    • Kevin_Qiu's avatar
      Kevin_Qiu
      Copper Contributor

      erol sinan zorlu 

      thank you so much for your time.

      I revised the OFFSET formula and it referred to the right cells.

       
       
       

Resources