Thread: VLOOKUP Problem
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default VLOOKUP Problem

Hi!

Are you always using the last column of the table as the
column_index_number? If so:

=VLOOKUP(B564,$B$1:$F$558,COLUMNS($B1:$F558),0)

Do your columns have headers? Use a MATCH function to find the correct
column_index_number:

=VLOOKUP(B564,$B$1:$F$558,MATCH("column_header",$B $1:$F$1,0),0)

Biff

"Ian" wrote in message
...
I have been using VLOOKUP functions extensively for a long time and
recently
encountered a problem that I haven't seen before.

My VLOOKUP formula is: =VLOOKUP(B564,$B$1:$F$558,5,FALSE)

When I insert a new blank column in the middle of the array, the VLOOKUP
function continues to return the same value as it did before I inserted
the
column. After inserting the column, the old value is now in the 6th
column,
but the VLOOKUP output doesn't change.

The calculation option in the Tools-Options menu is set to "Automatic" and
pressing the F9 key doesn't change the output. The only way I am able to
get
the VLOOKUP to change is by going into the VLOOKUP function and then
pressing
enter.

A person I know recently told me that he also has this problem with the
VLOOKUP. Has anyone encountered this problem before? Any suggestions
would
be appreciated.