LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Max
 
Posts: n/a
Default

Instead of say:

In Sheet2
-------------
In B1: =VLOOKUP($A1,Sheet1!$A:$C,2,0)
In C1: =VLOOKUP($A1,Sheet1!$A:$C,3,0)

(B1:C1 copied down)

Try something like:

In B1:

=VLOOKUP($A1,Sheet1!$A:$C,COLUMNS(Sheet1!$A:B),0)

Copy B1 across to C1, fill down

Now when new cols are inserted in the table_array in Sheet1's cols A to C,
the VLOOKUP formulas above in cols B and C will auto-adjust and maintain the
same returns
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Michael" wrote in message
...
I have a data base set up in Excel that records all manor of information.

I
then use "Vlookup" to extract information into different tabs of the
spreadsheet.

Ie) to one tab provides the summary of the address.

The problem that I have is that if we introduce another column to the data
base the "Col_index_number" on the Vlookup does not automatically update.

Ie)
the information that you wanted to look up use to be in Column 6, but once
you inserted another cell it is now in column 7, but the lookup is still
refering to Column 6.

Is there a way around this.
Michael



 
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
make hidden window or workbook visible without specify the name mango Excel Worksheet Functions 1 December 30th 04 03:05 PM
make a cell empty based on condition mpierre Charts and Charting in Excel 2 December 29th 04 01:01 PM
Lookup Problem StephanieH Excel Worksheet Functions 1 December 20th 04 06:17 PM
Lookup with logic Former Excel Queen Excel Worksheet Functions 1 November 3rd 04 11:22 AM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 05:15 AM.

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

About Us

"It's about Microsoft Excel"