Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ROSIE
 
Posts: n/a
Default VLookup using 2 worksheets, whole column reference

I have two pieces of similar data, one old (sheet 1) and one with new
information (sheet 2). Sheet 1 will contain some information I want to bring
across into Sheet 2 if the identifying references match. I have been using:

VLOOKUP(A1,'sheet 1'!A1:CC3000,81,0)

A1 is the common link with an identifying number. I'm asking that if the
identifying number existed on the previous data (sheet 1) to then return the
value shown in column 81.

This only works if the identifying number is on the same row in sheet 1 as
the formula I'm typing in sheet 2. I want the formula in sheet 2 to search
all of column 1, ie. A1:A3000. At the moment it's only comparing it's exact
replica on sheet 1.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpeltzer
 
Posts: n/a
Default VLookup using 2 worksheets, whole column reference

This is set up to indeed search in Sheet1!A1:A3000. But if you copied this
formula, as you posted it here, to subsequent rows, the table range would
change. If sheet2 has more data, then you would very likely slip past the
matching row on sheet1 and then fail to match. Use absolute references in
your table range to prevent that problem: =vlookup(a1,'sheet
1'!$A$1:$CC$3000,81,0)
I'm usually even lazier and just leave off the row qualifiers:
=vlookup(a1,'sheet 1'!a;c,81,0)
--Bruce

"ROSIE" wrote:

I have two pieces of similar data, one old (sheet 1) and one with new
information (sheet 2). Sheet 1 will contain some information I want to bring
across into Sheet 2 if the identifying references match. I have been using:

VLOOKUP(A1,'sheet 1'!A1:CC3000,81,0)

A1 is the common link with an identifying number. I'm asking that if the
identifying number existed on the previous data (sheet 1) to then return the
value shown in column 81.

This only works if the identifying number is on the same row in sheet 1 as
the formula I'm typing in sheet 2. I want the formula in sheet 2 to search
all of column 1, ie. A1:A3000. At the moment it's only comparing it's exact
replica on sheet 1.

Thanks.

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
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
Maintain Relative Reference After Inserting a Column Mark T. Excel Worksheet Functions 3 January 4th 06 04:56 AM
Vlookup - name of file to get info from is in Column A DD1 Excel Discussion (Misc queries) 3 August 11th 05 06:55 AM
COUNT NON-BLANK CELLS WITH REFERENCE TO ANOTHER COLUMN carricka Excel Worksheet Functions 1 May 6th 05 04:50 PM
Column Reference Jeff Excel Discussion (Misc queries) 2 February 10th 05 06:22 PM


All times are GMT +1. The time now is 03:18 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"