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

Copper Contributor

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.

clipboard_image_0.pngclipboard_image_1.png

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

clipboard_image_2.png

clipboard_image_3.pngclipboard_image_4.png

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.

@erol sinan zorlu 

thank you so much for your time.

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

 
 
 
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.
thank you so much. but it's really hard for me to understand even though I've spent a few hours on it.