Home » excel » excel – How to find value of a cell from named range

excel – How to find value of a cell from named range

Posted by: admin May 14, 2020 Leave a comment

Questions:

Is in EXCEL some formala, that can find value of a cell. Something like INDEX, but instead of an index column, a named range.

I want to find cell in this named range and i know index of row

How to&Answers:

Just use INDEX as would would normally, and specifiy the name rather than the range, eg if YourNamedRange names the range A1:A100 then

=INDEX(YourNamedRange, IndexNumber)

and

=INDEX(A1:A100, IndexNumber)

are equivalent

Answer:

for vba
range(“YourNamedRange”).cells(1,1)
will get you the value of the first cell in the range