Forum Discussion
Kevin_Qiu
Sep 19, 2019Copper Contributor
#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...
erol sinan zorlu
Sep 19, 2019Iron Contributor
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_QiuSep 19, 2019Copper Contributorthank 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.- erol sinan zorluSep 19, 2019Iron Contributor- Kevin_QiuSep 20, 2019Copper Contributorthank you so much. but it's really hard for me to understand even though I've spent a few hours on it.
 
 
- Kevin_QiuSep 19, 2019Copper Contributorthank you so much for your time. I revised the OFFSET formula and it referred to the right cells.