LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 113
Default VLookup problem when a new row has been inserted

I use the function VLOOKUP($C$7,EmployeeData,2) in cell c8 in sheet1 to pull
the second column(EmployeeNumber) from the employees sheet(EmployeeName,
EmployeeNumber, DepartmentNumber) when the cell c7(EmployeeName) is selected
in the combox. Here "employeedata" is a namerange defined big enough to hold
the data in employees sheet.

In the begining, there are 23 rows in the Employees sheet and this formula
works, anytime in sheet1 the "EmployeeName" is selected in the combox c7 and
the corresponding EmployeeNumber is showing up in c8. But after inserting a
row(employee record) in the employees sheet, sort the sheet. The vlookup
function does not work for the row after 23rd. the cell in formula
VLOOKUP($C$7,EmployeeData,2) is just empty, even without a error code
returned.

This drove me crazy and do not understand why the function works for the
data in 1-23 rows but not for any new rows? The sheet is sorted already. Oh,
my neck is sore, any clues? I would appreciate.
 
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
Can IF and VLOOKUP functions be inserted together? Chris Cullen[_2_] Excel Discussion (Misc queries) 6 July 20th 09 12:54 AM
VLOOKUP Problem Terry Bennett Excel Worksheet Functions 3 January 29th 09 04:26 PM
Inserted Columns into VLOOKUP Tables RJB[_2_] Excel Discussion (Misc queries) 4 April 9th 08 02:49 PM
VLOOKUP problem (N/V) Mortir Excel Worksheet Functions 7 February 4th 08 01:06 PM
Vlookup Problem POD27 Excel Worksheet Functions 3 October 23rd 07 04:48 PM


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