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?
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".
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?
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.
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.
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
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.
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
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....
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.
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.
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.
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.
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.
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.
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?
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.
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
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).
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.)
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.
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.
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.
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.
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.
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.
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.
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.