VBA To Lookup Part Number When Scanning A Barcode

Feb 14, 2014

I have a USB scanner connected to a PC. Data is entered into Excel when the part number barcode on a box is scanned. I have two worksheets that I will be scanning part numbers into, one is Group A and the other is Group B. On Group A's sheet there is a list of Group B part numbers that will be used for the lookup procedure when the barcode is scanned. The same is true for Group B's sheet. The groups should never be mixed, so if part number "B005" is scanned into Group A's sheet it should cause an error message to pop up. I've attached a workbook as an example. Is it possible to do this with VBA?

Barcode Scan Lookup.xlsx

View 3 Replies


ADVERTISEMENT

Lookup Function: Compare Every Part In The All Parts Worksheet To See If The Part Number Exists On The Active Parts Sheet

Dec 10, 2008

I have a spreadsheet with 2 worksheets. On the first "active parts" I have a list of active part numbers and on the second "All Parts" I have all of the parts available.

I want to compare every part in the All Parts worksheet to see if the part number exists on the Active Parts sheet - if it's there, I would like it to return the value "Active" in column B in All Parts. I have a formula in column B in All Parts that seems to work for the first few, but as soon as it finds one that is active, the rest of the cells below all return "Active".

View 3 Replies View Related

How To Lookup Barcode Scanned Into A Field

Jul 31, 2014

Im tryinig to set up a time sheet and need to have a barcode number that is scanned replaced with a name. Is there a way to look up the barcode scanned into a field (such as C3) and have that barcode number be replaced by a name?

View 1 Replies View Related

Multiple Lookup: List Of Part Numbers Based On The Product Part Code

Feb 12, 2009

I'm creating a worksheet that gives a list of part numbers based on the product part code. In most cases I can use the following.

=LOOKUP(O6,{0,1,2,3,4},{"NONE (M25)","SMP-55-001","SMP-55-004","SMP-55-008","SMP-55-014"})

so this gives a part number depending on what number is placed in O6. What I need to do know is look at 2 different cells and for each combination of numbers give a different part number. so if A1 is 2 and B1 is 3 give a certain result.

View 3 Replies View Related

Create Barcodes: Print Out A Sheet That Includes A Code 128 Barcode Of A Specific Number

Nov 22, 2006

how to create a barcode in an excel spreadsheet? I am trying to print out a sheet that includes a code 128 barcode of a specific number that I type in.

View 2 Replies View Related

Lookup On Part Of Lookup Array

Feb 21, 2009

Assuming 1st row is a header row

Sheet1, Column A

1230000_XL07 - WB OPS
1230001_XL08 - WB OPS
1230002_XL09 - WB OPS

Sheet 2, Column A

1230000

How do I lookup 1230000 and return 1230000_XL -07 WB OPS in B2

View 2 Replies View Related

Scanning Schedule

Dec 2, 2006

The table posted above is the schedule for my employee. I need an input box which asks for a date. When the user supplies date, it should look for people who are scheduled for that particular date and who are on leave and put the result in the next worksheet at the last occupied row.

For instance, if I supply the date as 2nd Dec then the next worksheet should be filled with @ row # 2 (Row1 has headings)

EmployeeEmp IDSchedule
A123409:00 PM - 06:00 AM
B123511:30 PM - 08:30 AM
C123602:30 AM - 11:30 AM
E123811:30 PM - 08:30 AM
G124009:00 PM - 06:00 AM

Then if I select 3rd Dec, the next worksheet should be filled with the following data starting fom row number 7 (just below the above data)
A123409:00 PM - 06:00 AM
B123511:30 PM - 08:30 AM
D123705:30 AM - 03:00 PM
G124009:00 PM - 06:00 AM

View 9 Replies View Related

Scanning Barcodes Into Excel - Macros

Sep 5, 2013

I am working for a small job shop company that is producing many bespoke products and recently the company has grown up a bit and a shop floor data collection is required in order to have a control over the production process. The company has 14 machines which are operated by 7 operators and this means that each operator is running 2-3 machines at the same time. The best solution for data collection is barcoding into excel. However i need 3 macros (I think) in order to meet my needs. Those macros need to:

1) show what is currently on the machines (who is doing what and when the particular job has started)
Machine
Operator
Part No
Description
Clock In

Note: Description will not be scanned, this can be filled in based on the vlookup from the waiting parts list

2)show what have been done (who did what, on which machine and clock in/out times). Here it is important to mention that sometimes jobs are stopped and taken off the machine and they are put on the machine later on. Sometimes it will be different machine or operator etc)

Part No
Description
Machine
Operator
Clock In
Clock Out
Machine
Operator
Clock In
Clock Out
Machine
Operator
Clock In
Clock Out

3)show what is remaining to machine.

While searching for a solution I have found here a really nice topic which seems to be a good foundation for my needs Scan barcode to excel with date & time stamp in & out.

View 1 Replies View Related

Scanning Range Instead Of Single Cell

Aug 5, 2006

I am trying to make this macro look at multiple cells in column X and perform the given operation based on what is found. I currently have it set to look at one cell, I am not sure how to make it look at a range of cells and change its cell refrences for the copy function.

Dim vS As Variant
vS = Sheets(3).Range("X5")
If Not IsNumeric(vS) Then
Exit Sub
Else
Select Case vS
Case 1
If MsgBox("Are you sure you want to delete?", _
vbYesNo, "ExcelTips") = vbYes Then
Application.DisplayAlerts = False
Sheets("Approved").Select
Range("B5:F5").Select
Selection.Copy

View 9 Replies View Related

Lookup On Part Of Cell Value

Jun 21, 2006

I have a question regarding searching in cells for a value, and returning corresponding data. This is what my workbook looks like:

Sheet1, cell A1 contains value "D600"
Sheet1, cell A2 contains value "V-1234"
Sheet1, cell A3 contains value "DB23"

Sheet1, cell B1 empty
Sheet1, cell B2 empty
Sheet1, cell B3 empty
..........................
1. search each cell value form Sheet1 column A, in Sheet2 column B
2. when a match is found, return the corresponding value of column A from Sheet2....

View 2 Replies View Related

Lookup Part Text

Oct 12, 2007

I am not sure if a vlookup can do the following.

I have a spreadsheet in excel with lots of rows. In column A I have some descriptions such as:

British Pound
Danish Krone
Japanese Yen

I have created another spreadsheet 2 columns that would have something like:
column A/columnB
British/Yes
Danish/No
Japananese/Yes

This 2nd spreadsheet can grow and have more lines.
In column Z of the 1st spreadsheet, I want a formula to look at the second spreadsheet and if any word in the column A of the 1st spreadsheet matches the word in column A of the second spreadsheet, I want it to the value in column B of the second spreadsheet.

View 4 Replies View Related

Inventory - Match Part Number To Multiple Vehicles Sharing That Same Number

Jun 3, 2013

I have a spreadsheet listing all my vehicles and their respective oil filter part number. Now, some vehicles share the same oil filter and I am trying to find a way to return the vehicle description when using the filter # as a value. In my example below, I am looking to fill the third column with the Vehicle that also shares the same oil filter number. i.e. in the Dodge row, toyota would appear in the third column and vice versa in the Toyota row.

Vehicle
Oil Filter #
Also used with
Dodge
51515
Honda
54565
Toyota
51515

I am not well versed in excel lingo which is probably why I have a hard time coming up with a method that works.

View 4 Replies View Related

Drop Whole Number And Leave Decimal Part Of Number For Calculations?

Feb 9, 2013

How can I drop the whole number part of a number and leaving only the decimal part of the number. Then multiply the decimal part of the number with a number. Then repeat this in a sequence. The object is to convert Lat and Long decimals to Hr. Min. Sec.

eg. 53.535663 .535663*60=32.13978 .13978*60=8 53 32 8
eg. 113.352640 .352640*60=21.1584 .1584*60=9 113 21 9
eg. 113.306579 .306579*60=18.39474 .39474*60=23 113 18 23

View 1 Replies View Related

Lookup Process For My Address Part Of My Invoice

Apr 6, 2007

I'm trying to create a lookup process for my address part of my invoice, I want it so when I enter the first address it automatically looks up and enters the rest of the information (Title, Name etc.) I've been trying to do this with vlookup and I can't seem to get it to work. I'm just getting #Ref! returned.

My address 'database' (list of addresses etc) are on a seperate sheet to the Invoice.

View 9 Replies View Related

Conditional Part Cell Lookup Across Multiple Worksheets

Feb 22, 2008

We have the following formula in our timesheets. Basically when we enter a Job number in one cell in say Tab1, it will return the matching project name in a different cell that we have next to the project number. The job number match is done in the tab named "ProjectSchedule", where all the details of the project are listed. We need to extend the match range to include another tab named "CustomSchedule", but I can't figure out how to make the first formula search jobs from both tabs.

Current working formula:

=IF(C7="","",INDEX(ProjectSchedule!$C$3:$C$202,MATCH(C7 & "*",ProjectSchedule!$B$3:$B$202,0)))

What I'm trying to accomplish, but it not working is something like this:

=IF(C7="","",INDEX(ProjectSchedule!$C$3:$C$202&CustomSchedule!$C$3:$C$202,MATCH(C7 & "*",ProjectSchedule!$B$3:$B$202&CustomSchedule!$B$3:$B$202,0)))

View 9 Replies View Related

Lookup Part Of Text String In Userform ComboBox And Search For Value In Sheet Range

Feb 12, 2014

I have a worksheet with following values:

A
B
C
1
Shorts
75

[Code]...

Also I have a Userform with 2 ComboBoxes named "ComboBox1" and "ComboBox2". Values in ComboBox1 is "Pull my pants", "Eat my shorts", "Socks for everyone".

What I would like to do is to search though column A and look for any of these textstrings in my selection in ComboBox1 and return the value from column B in column C.

Example: "Pull my pants" is selected in ComboBox1 then the value "pants" should be found in column A and value in column B (25) should be entered in cell C2.

I am fairly new to VBA and have spend hours searching Google and found some formulas like InStr and VLookup. My problem is that I am not sure if these statements will do the job and how to combine them.

View 1 Replies View Related

Part Numbers With Zero As First Number

Feb 12, 2010

I am trying to do a VLOOKUP on a worksheet with a list of our Part numbers. The Part numbers begin with zero and go into the alphabet with anywhere from 3 digits upto 18.

When I sort the sheet Excel sorts the numeric by the number of digits in the number AND totally ignores the first zero. I can not format as numbers since again Excel drops the first zero. Therefore, when I do the VLOOKUP it will not look through the entire numeric list for the higher digit numbers. Is there anyway to resolve my VLOOKUP issue with indexing or?

View 9 Replies View Related

Make A Part Number Formula?

Apr 22, 2009

I'll try to keep this brief. Our part #'s look like this. XP014567. Where the first pair of characters stand for a value(say XP=Bolt), the second pair stand for a value(01= Grade 2), and so on. What I would like to be able to do is type in the part numer and have the description automatically populate. Is there an easy way to do this? I'm running Excel 2003.

View 4 Replies View Related

Sorting By The 5th Character In A Part Number

Dec 30, 2008

I have part numbers in a column that look like the numbers listed below. All numbers begin with A, so the default sort begins with the first number. I would like to sort the list using the middle three numbers denoted by the red x's in the first example. Is this possible?

A 385 XXX 0055 A 385 466 0060 A 385 466 0160 A 385 584 7024 A 387 284 0185 A 388 017 0160 A 389 260 1485 A 389 262 0293 A 389 262 4935 A 389 262 9134 A 389 267 2819 A 389 267 3319 A 393 328 0065 A 398 267 3319 A 403 990 0210 A 403 997 0620 A 404 260 0074

View 9 Replies View Related

Listing All Part Number Combinations

Mar 28, 2007

im looking to piece together all possible part number combinations with a one condition:

The values in Column A must come before the values in Column B. The values in Column B must come before the values in Column C. And So forth...

Example: If Column A had the values of A, B, C; Column B had the values of -1, -2, -3; and Column C had the values of -01, -02, -03

The outcome(s) would be: A-1-01, A-1-02, A-1-03 and so forth...

How can I get it to do that? But I need the flexibility of adding on more "options" should the part number be bigger (for future part number combinations).

View 9 Replies View Related

Breakdown Number Of Part Matches

Jan 29, 2008

I was given this new task this year. Normally this process is done by hand, by one of the managers, but since it now belongs to me, I look at it as being a little to tedious to do. So I would rather have excel do it for me.

We have about 5 CSRs who handle clients based on the first letter in the clients name. I guess to make this easier to update in the future if the macro would respond to a cell reference for the number of CSRs that would be great. I will need to perform this task Annually, and of course each time a CSR leaves or we hire another one. This way work loads are kept close to the same.

I have a list of letters in column A. Each of these letters has a corresponding number of clients in column B. I have been given the task to try to split these values equally between the 5 individuals. I know that since the numbers don’t all add up and divide equally it can’t be done easily by hand.

I have attached an excel file with what I have in the sheet. Sheet 2 shows what I would like to have as an example as output on the same sheet. (What I put on the sheet is an example of the way I want it to look, are not close to adding up to a "close to equal" total.)

View 9 Replies View Related

Combine And Remove Duplicate Part Number

Aug 19, 2013

I have two sets of data and i would like to combine into one.

Problem is some may have duplicated part number.

My current method is copy & paste data from 2 different tab in to one and using data, remove duplicated to get what i needed.

View 1 Replies View Related

Calculate The Sum Of Part Used Depends Upon End Of Serial Number?

Apr 8, 2014

I want excel formula to calculate the sum the value of partused depends upon serialno repeats where repeats of end of serial no i want result at end of every multiple serial no end cell.

View 2 Replies View Related

Retrieve Drawing Numbers Associated With Part Number

Oct 12, 2009

I have a list of part numbers and a new drawing number and old drawing number. I'm am trying to put this list on the second page of a workbook and write a code on thie first page that allows a person to enter the part number and the old and new drawing numbers will be displayed.

View 3 Replies View Related

SUMIFS Using Part Of Number Series As Criteria

Apr 12, 2012

I would like to use an (I think) easy SUMIFS formula. In this case I'm using only 3 criteria, and 2 of them work perfectly. With the third I want to SUM only IF the series begins with 112 in the example.

Criteria 1 Criteria 2 Criteria 3 SUM
SYS 1 111234 105
SYS 1 111345 111
ORA 2 112456 33
SYS 2 112998 70
SYS 2 112856 56

[Code] ..........

From what I've found out so far I could use "112*" ore something like it, but I cant get it to work.

View 2 Replies View Related

Delete And Replace Part Of Number Into Another Cell

Jun 14, 2013

Can you cut out part of a number and replace it in another cell. For example

A1 come in as ###+### and it will not always be a three digts all the time but I would like to keep the number in front of the "+" in A1 and the number behind the "+" into A2 cell.

Can you do this my a SEARCH("+",A1)LEFT("+)

View 3 Replies View Related

Vlookup On Only Part Of A Text/number String

May 5, 2009

I am trying to reference a Name of a place from an order number. To illustrate, University Park, IL can have an order # of 6598641373. The only thing is, all I need to reference is the first four digits, 6598. The other worksheet does not have city and state names, they only have the order #s.

View 10 Replies View Related

Sort Into Regular Part Number Order

May 20, 2009

i have a list of part numbers that all have prefixes and i need to sort them into regular part number order and can't seem to figure out why i'm having such a hard time. the order i need them is this example. i need after part number 1-1 to be 1-2 followed by 1-3 etc. not 1-10 followed by 1-100. i hope i'm explaining this correctly.

View 9 Replies View Related

Dynamic Userform: Put In The Details Of A Part Number

Mar 15, 2007

I have an excel sheet where i have the part number in the Column "A". I have four sets of four columns each which has the details of price for that particular part, currency , lead time and the Vendor Name. Now i want to have an user form where in i can put in the details of a part number and i should get the details of the best vendor in terms of price and lead time Seperately. The best vendor in terms of price is determined by comparing the values in the columns B, F, J & N and The best vendor in terms of leadtime is determined by comparing the values in the columns D, H, L & P. I have also created an user form with out any code just to give you an idea of what i am looking at. So that it can be helpful to you. I just key in the part code and i get the best results for the same.

View 6 Replies View Related

Lookup Part Text In Range In Cells Holding Text Strings

Sep 27, 2006

I try to write the function that gets some "ref" and returns appropriate item.
For example: if I give to function "C3", it returns "AAA"
if I give to function "R18", it returns "BBB" (cause it between R15 to R26)
if I give to function "R9", it returns "BBB" also.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved