LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default Lookup Value from Table erratic

Hi

I have 2 workbooks for entering Order and Bill Details. The Order
Details is as follows

OrderID Description Total
3456 rrrrr 2323424
2351 asdkljf 495890
5612 wobvwei 1265
9325 vavmewr 39224

The Bill Details workbook has the following fields

OrderID Bill no Bill Amt Description
3456 SE/3494 45351
2351 ax-erewr 23213
5612 KS/inv/034 1265
9325 345 39224
2351 bx-erewr 123033
3456 SE/3600 1125000
3456 SE/3712 572375

Now I would like to add another column after Bill Amt, to get the
matching Order Description (from Order Details) with the corresponding
OrderID in the Bill Details.I tried the VLookup formula
VLookup(A2,OrderDetails!A2:C5,2,TRUE) in the Description field of
BillDetails, but the result is erratic. The problem was solved when I
sorted the OrderDetails Table based on OrderID.

Is there any way that I can get the correct Lookup value without
sorting the OrderDetails Table.

Thanks for the help
 
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
Erratic display of concatenation Colin Hayes Excel Worksheet Functions 3 October 3rd 08 02:18 AM
Automatic Completion Erratic jimjomac Excel Discussion (Misc queries) 1 February 3rd 08 05:10 PM
Erratic Workbook Password Problems Rich Kooyer[_2_] Excel Discussion (Misc queries) 2 September 13th 07 04:46 PM
SUM formulas exhibiting erratic behavior Mango Excel Discussion (Misc queries) 3 May 9th 07 03:19 PM
Erratic Cursor Behavior Cathy C Excel Discussion (Misc queries) 6 June 18th 05 04:17 PM


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