Naming column in Index Function

M

mlkpied

I use the index function with INDEX(Personnel!A$1:$I$71,I78,9). When I insert
a column in the array the column I am looking for is now 10 instead of 9. The
column name in the Personnel worksheet is PreFund. Can I change the index
function column parameter so that if I insert a column it will still
reference the correct column? Thanks. Michael
 
F

Frank Kabel

Hi
see your other post. If you have a question to the ideas/solutions
presented best to post a follow-up question :)
 
J

JE McGimpsey

One way:

=INDEX($I$1:I$71,I78)

Another:

=INDEX($A$1:$I$71, I78, COLUMN($I$1))
 
H

hrlngrv - ExcelForums.com

JE McGimpsey wrote..
..
=INDEX($A$1:$I$71, I78, COLUMN($I$1)
..

Depends on the range starting in column A. More robust to us

=INDEX($A$1:$I$71, I78, COLUMNS($A$1:$I$71)

to ensure referencing the rightmost column
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top