Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default mathcing and comparing

i have 2 spreadsheets with 5 column of data on each, on one workbook, w
will call booka,in column c there are part numbers and column f i
quantity. what im trying to do is take the parts numbers and match the
to another set of part numbers on the second book(bookb), and paste th
quantity of that part number next to the qauntity on bookb which i
column as well. i dont need the part numbers to show, im just trying o
match the quantities next to each other and the part numbers arent i
order. so if the way i described is easy or another way is easier.
tried multiple things but just can seem to get it to work. also some o
the part numbers arent even there so those will be skipped. also,. som
of the part numbers dont match, which it would be nice if those can b
highlighted or something, or anything that makes them stand out. bu
basically i just want the first function, mathcing the part numbers t
compare quantities. thanks for any help

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default mathcing and comparing

vlookup assumes the value to match is in the leftmost column of the range.
This fits your criteria, so there is no reason to use Index and Match which
are equivalent, but don't have this restriction. Bernie has added an
additional test to see if there will be a match and thus suppress the #N/A
which is returned by default. You can prepend that test to the vlookup as
well if you want that.

--
Regards,
Tom Ogilvy

"derekc " wrote in message
...
im about to eat lunch, i will try both and get back to both of you as
soon as i can. thanks a bunch.


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default mathcing and comparing

i tried bernies, it came no match everytime , even if there was
match.

toms gave me a na everytime, this thing hasbeen a pain

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default mathcing and comparing

bum

--
Message posted from http://www.ExcelForum.com

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default mathcing and comparing

Vlookup is pretty basic. #N/A means it didn't find a match.

Note that the string 123 does not match the number 123.

I don't know if that has any bearing on your problem.

--
Regards,
Tom Ogilvy

"derekc " wrote in message
...
bump


---
Message posted from http://www.ExcelForum.com/



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
comparing pierre Excel Discussion (Misc queries) 2 May 6th 10 06:02 AM
comparing Donna[_2_] Excel Worksheet Functions 3 November 3rd 09 01:45 AM
Comparing more than two Vern Excel Worksheet Functions 4 September 24th 08 04:03 PM
comparing from two worksheets Lorne Excel Discussion (Misc queries) 4 May 11th 08 06:19 PM
Comparing Kirk[_4_] Excel Programming 1 December 2nd 03 08:35 PM


All times are GMT +1. The time now is 04:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"