Match barcode between 2 sheets [Solved/Closed]

Ram - Feb 15, 2012 at 07:03 AM - Latest reply: TrowaD 2395 Posts Sunday September 12, 2010Registration date July 17, 2018 Last seen
- Dec 13, 2012 at 10:45 AM
Hello,


I have two diffrent sheets. One sheets has tens thausand lines with barcode value,description and quantity of product. another one has 2100 lines with just barcode of products .I want to match up barcode to barcode and get everything information that needed foe 2100 lines from the 10,000 lines.Please help me
See more 

3 replies

TrowaD 2395 Posts Sunday September 12, 2010Registration date July 17, 2018 Last seen - Feb 16, 2012 at 10:32 AM
0
Thank you
Hi Ram,

Looks like you are in need of the VLOOKUP formula.

=VLOOKUP(1,2,3)
1: the cell/value you want to lookup. The barcode from sheet2
2: the matrix you want to look in. All the data from sheet1
3: the column you want to retrieve info from. For description 2, for quantity 3.

Select the matrix in the formula and hit F4 to make the reference absolute, do this for easy dragging.

Please post back if you get stuck (or to say thank you).

Best regards,
Trowa
I am trying the similar thing with my products in warehouse. And I want those barcodes scanned could be change to red color in excel automatically, is this possible?
TrowaD 2395 Posts Sunday September 12, 2010Registration date July 17, 2018 Last seen - Dec 13, 2012 at 10:45 AM
Hi Barcode,

It is possible to change color of newly added values.

More info is needed though.
What will the destination be for the barcodes (example column A)?
Do you want to color cell or letters?

To get you started, the following code will color the cell red whenever a value is added in column A:
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Columns("A:A")) Is Nothing Then Exit Sub
Target.Interior.ColorIndex = 3
End Sub

To use code, right-click on the sheets tab (name) and select view code. Paste code and try it out.

Best regards,
Trowa