Remember Me?

#1
December 6th 04, 11:07 PM
 mlkpied Posts: n/a
Naming column in Index Function

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

#2
December 6th 04, 11:14 PM
 Frank Kabel Posts: n/a

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

--
Regards
Frank Kabel
Frankfurt, Germany

"mlkpied" schrieb im Newsbeitrag
...
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

#3
December 6th 04, 11:16 PM
 JE McGimpsey Posts: n/a

One way:

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

Another:

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

In article ,
"mlkpied" wrote:

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

#4
December 7th 04, 12:20 AM
 hrlngrv - ExcelForums.com Posts: n/a

JE McGimpsey wrote...
...
Another:

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

...

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

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

to ensure referencing the rightmost column.
---------
www.coffeecozy.com

Use your Bodum and give up cold coffee for good!

 Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On

 Similar Threads Thread Thread Starter Forum Replies Last Post Michael Sharpe Excel Discussion (Misc queries) 3 September 5th 12 01:33 PM mlkpied Excel Worksheet Functions 6 December 6th 04 11:38 PM loopyloobyloo Excel Worksheet Functions 1 November 26th 04 01:35 PM kjoshua777 Excel Worksheet Functions 2 November 18th 04 01:08 AM Megan Excel Worksheet Functions 2 November 11th 04 02:09 PM

All times are GMT +1. The time now is 08:53 PM.