Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 86
Default vlookup / index for a large spreadsheet

Hi

I am trying to lookup a name for an employee ID. I have tried vlookup and
the index functions. The initial setup works; however, when I copy / paste
the function, the subsequent values for the array changes.

originial function
=INDEX(EIDs!A1:B41,MATCH(G113,EIDs!A1:A41,0),2)
function further down in spreadsheet
=INDEX(EIDs!A13:B53,MATCH(G125,EIDs!A13:A53,0),2)

I have about 6000 records I'm trying to update, it would be nice if I could
somehow keep the range the same.

Does anyone have any suggestions?

Thank you
Cynthia

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default vlookup / index for a large spreadsheet

Use absolute cell references for your range:

$A$1:$B$41

The $ symbol prevents Excel from incrementing the reference when the formula
is copied.

Look up Absolute and Relative cell references in Excel Help for more info on
this.

HTH,
Elkar


"Cynthia" wrote:

Hi

I am trying to lookup a name for an employee ID. I have tried vlookup and
the index functions. The initial setup works; however, when I copy / paste
the function, the subsequent values for the array changes.

originial function
=INDEX(EIDs!A1:B41,MATCH(G113,EIDs!A1:A41,0),2)
function further down in spreadsheet
=INDEX(EIDs!A13:B53,MATCH(G125,EIDs!A13:A53,0),2)

I have about 6000 records I'm trying to update, it would be nice if I could
somehow keep the range the same.

Does anyone have any suggestions?

Thank you
Cynthia

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 86
Default vlookup / index for a large spreadsheet

Thanks! That worked

"Elkar" wrote:

Use absolute cell references for your range:

$A$1:$B$41

The $ symbol prevents Excel from incrementing the reference when the formula
is copied.

Look up Absolute and Relative cell references in Excel Help for more info on
this.

HTH,
Elkar


"Cynthia" wrote:

Hi

I am trying to lookup a name for an employee ID. I have tried vlookup and
the index functions. The initial setup works; however, when I copy / paste
the function, the subsequent values for the array changes.

originial function
=INDEX(EIDs!A1:B41,MATCH(G113,EIDs!A1:A41,0),2)
function further down in spreadsheet
=INDEX(EIDs!A13:B53,MATCH(G125,EIDs!A13:A53,0),2)

I have about 6000 records I'm trying to update, it would be nice if I could
somehow keep the range the same.

Does anyone have any suggestions?

Thank you
Cynthia

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
INDEX(LARGE( across worksheets Fin Fang Foom Excel Worksheet Functions 10 February 17th 07 05:52 AM
LARGE and INDEX functions bob Excel Worksheet Functions 5 April 3rd 06 07:10 AM
Large Index Match Lookup Qaspec Excel Worksheet Functions 3 August 20th 05 01:13 AM
Match, Index, Vlookup, Large....Help Please [email protected] Excel Worksheet Functions 3 December 15th 04 01:38 PM
Match, Index, Vlookup, Large....Help Please [email protected] Excel Worksheet Functions 0 December 14th 04 11:16 PM


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