Perform a find on hidden cells

前端 未结 2 1280
你的背包
你的背包 2021-02-19 14:03

I have a computed range of values in a hidden column which I use for a dropdown box. To figure out which value the user has selected, I try to run a Find on that range, but for

2条回答
  •  不思量自难忘°
    2021-02-19 14:34

    Is really necesary do it inside a macro, would be easier use match:

    =MATCH(G9;H9:H16;0)
    

    G9 : Cell of the DropDownBox

    H9:H16 : Your range

    0 : for exact match

    It returns the index inside the array

提交回复
热议问题