#1   Report Post  
Darren Woodbrey
 
Posts: n/a
Default vlookup

I think this is a VLOOKUP, but cannot figure it out.

I have
column A = old part#
column B = old price
column C = new part#
column D = new price

There may be additional part numbers in the new list vice versa and they are
not sorted the same way.

I need to find each old part# in the new part# list and then return the part
number if the price is different. It would be good to return the new price
as well. Any help would be greatly appreciated. Thanks!


Darren



  #2   Report Post  
Kevin
 
Posts: n/a
Default

Re-order your columns as follows:

Column A Column B Column C Column D
New Part# Old Part# old Price New Price

Lets define this lookup table as the following range: W1:Z24.

Sort on New Part# - This has to be sorted to work. If you add a new item, it
has to be resorted.

In the column where you want the old part number the vlookup will look like
the following:

=vlookup(column A,W1:Z24, 2)

For the old pice you would have :
=vlookup(column A, W1:Z24, 3)

etc.

Hope that helps!

"Darren Woodbrey" wrote:

I think this is a VLOOKUP, but cannot figure it out.

I have
column A = old part#
column B = old price
column C = new part#
column D = new price

There may be additional part numbers in the new list vice versa and they are
not sorted the same way.

I need to find each old part# in the new part# list and then return the part
number if the price is different. It would be good to return the new price
as well. Any help would be greatly appreciated. Thanks!


Darren




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
Vlookup finds a blank, but returns a zero - HELP! flummoxed Excel Discussion (Misc queries) 6 January 18th 05 03:15 PM
Vlookup Syntax Error YV New Users to Excel 9 December 23rd 04 05:28 PM
Need help with modifying VLookUp Tom Excel Discussion (Misc queries) 4 December 2nd 04 12:44 AM
VLOOKUP help SamUK Excel Worksheet Functions 8 November 22nd 04 12:27 AM
VLOOKUP not working Scott Excel Worksheet Functions 3 November 12th 04 08:06 PM


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