Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old December 6th 04, 11:07 PM
mlkpied
 
Posts: n/a
Default 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   Report Post  
Old December 6th 04, 11:14 PM
Frank Kabel
 
Posts: n/a
Default

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   Report Post  
Old December 6th 04, 11:16 PM
JE McGimpsey
 
Posts: n/a
Default

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   Report Post  
Old December 7th 04, 12:20 AM
hrlngrv - ExcelForums.com
 
Posts: n/a
Default

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!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing a range name as an argument to the Index Function Michael Sharpe Excel Discussion (Misc queries) 3 September 5th 12 01:33 PM
Variable values in Index function mlkpied Excel Worksheet Functions 6 December 6th 04 11:38 PM
vlookup change column index position - without changing formulae loopyloobyloo Excel Worksheet Functions 1 November 26th 04 01:35 PM
Excel - option to extend function in cell to column kjoshua777 Excel Worksheet Functions 2 November 18th 04 01:08 AM
Column Index Megan Excel Worksheet Functions 2 November 11th 04 02:09 PM


All times are GMT +1. The time now is 12:30 AM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004-2019 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017