473,473 Members | 1,935 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Managing 2 excel file to get product code

2 New Member
Hi! I am Atanu. I am working in a company dealing with manufacturing of mechanical spear parts. When we release a product for manufacturing we make drawing and given the same to the factory. To make the drawing handy we make an excel sheet we call “MC” which contains the summary of the drawing like type of product, tube length, type of component etc. I have to generate the product code based on the drawing or “MC” and then make the BOM in SAP. To make the code I have to use two excel files. One of these file contains all the basic code like xxx-xxx-xxxxx-0000 ( standard code). In the other file nonstandard part of the code is maintained (last 4 number of the code) it is maintained serially like 0001, 0002, 0003…… At present the nonstandard part is 0925. If the product is nonstandard then I have to combine the basic code and the nonstandard code and create the product code as xxx-xxx-xxxxx-xxxx. If the product is standard then I get the product code from the 1st file where the standard codes are maintained. If the product is nonstandard then the basic code I get from the 1st file (xxx-xxx-xxxxx- ) and the last 4 digit I have to get from 2nd file based on the drawing or “MC”. (Eg: xxx-xxx-xxxxx-0023) If the product dosenot matches with the old codes I have to enter new nonstandard code the next number 0926 and the product code will be xxx-xxx-xxxxx-0926. To make this code it takes about 80% of the total time to make BOM in SAP. After making this code I give the same to our authorized person to create the code in SAP . after he makes the code in SAP, I make the BOM of the material this part takes 20% of the time. Is there any softwate or programming like VB, C/C++ etc by which the code can be made automatically when we make “MC” using the two excel files for codification . I have tried excel formula like VLOOKUP, HLOOKUP or combining various formulas but they are not giving satisfactory result. Though standard part can be managed somehow, nonstandard cant be, specially when new code has to be entered.
Please help to solve this problem.
Thanks and regards,
Atanu
May 3 '12 #1
4 1719
Rabbit
12,516 Recognized Expert Moderator MVP
It's hard to follow what you're saying. Sample data and results would help.
May 3 '12 #2
Guido Geurs
767 Recognized Expert Contributor
Is it possible to attach example files in Bytes?
If the data is confidential, please replace it with representative data.
If the files are to large, set only +- 10 lines in the sheets so we can see the structure of the sheets and the type of data.
Also, if possible, add an example of the results you finally want so we can see in which direction we have to work.
May 4 '12 #3
atanu
2 New Member
OK, i am attaching sample excel files 3 nos for your reference. In the file name "SAMPLE-MC" the product summary from drawing given based on this I have to generate the code. I have given 2 example one is of standard product and other is of non standard product. the product may vary in product type, belt width, tube length, bld type, skt type, boot type, em type, no of arm. all the parameters may vary. based on the parameter there is a logic to search for the basic code. I have mentioned the same in the adjuscent column. in the row no, 26 the logical code is mentioned for respective product. then I copy the code go to the file name "STANDARD CODE" then find the copyed code by pressing CTRL+F >> CTRL+C >> ENTER. the product code will be the corrosponding SAP code. The product becomes nonstandard based on the tube length parameter. for nonstandard code all the above procedure will follow to get the basic code. then I go to the file "NON STANDARD CODIFICATION". Here I get the code by filtering the datas 1st with tube length, then with EM and then with offset height.

Hope this will clear all confusion.

regards,
Atanu
Attached Files
File Type: xls SAMPLE-MC.xls (21.5 KB, 368 views)
File Type: xls STANDARD CODES.xls (20.0 KB, 422 views)
File Type: xls NON STANDARD CODIFICATION.xls (27.0 KB, 348 views)
May 4 '12 #4
NeoPa
32,556 Recognized Expert Moderator MVP
You have a complex procedure here, but your explanation, though it is quite full, leaves out many steps of explanation. Also, your files are missing titles to explain some of the information. EG. B1100X31N1PBS & B11200V2X2PCS are shown, but nothing says what they are, or where they fit into the picture. I expect these are important, so missing that out is a massive loss to any chance of understanding what you're trying to explain. This is just an example of why this should be explained more fully. It is not the only item where important information is missing. Analysis of a problem can only be carried out with all the information available and clear. You would need to make sure this is done before anyone can even start to help you. Looking through files that don't make sense is a long and frustrating business if the information in there is incomplete.

Don't get me wrong. You've made a decent stab at a very difficult explanation, but we still cannot help unless the information is all there and makes complete sense.
May 5 '12 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: no one | last post by:
I need to find a way to upload an Excel file into an MS SQL database using a web control front end. I have my ASP.Net control (using C#) uploading a file to a directory, but the server people now...
1
by: Steve | last post by:
I am trying many ways to create and save data to an Excel file, but all I got is the following error message. (The code behind is in C#.net) System.UnauthorizedAccessException Here is my...
7
by: khunohm | last post by:
I would like to know how to select each item of data from text file transfer to each column in excel file. source 1..159662 /organism="Candidatus...
9
by: John Bailo | last post by:
I want to generate an Excel file (.xls format) from some database data. I don't want to use Excel.exe because of all the automation and security issues. Does Microsoft document the .xls file...
8
by: msghaleb | last post by:
Hi all, I've created an asp page which is reading an Excel file, the code is working ok only not on IIS !! here is the code: oConn.Open "Driver={Microsoft Excel Driver (*.xls)};" & _ ...
2
by: vijayarl | last post by:
Hi Everyone, Am trying to collate the individual xls files into a single xls file.i have written this code. use strict; use Spreadsheet::WriteExcel; use Spreadsheet::ParseExcel; use...
1
by: codexxx | last post by:
Hi All, We have setup an Amazon webstore and we anticipate uploading 10,000+ products, and therefore to avoid unnecessary manual labor we wish to automate as much of the process of adding and...
1
by: pexp | last post by:
Hello All, I would like to insert/update a database table using excel file. I have a list of products in an excel file. If product exist in a database table tblproduct than it should update the...
1
by: farhana | last post by:
Hi experts, Need ur help and advice, My excel file is for user to upload their product listing. I have created a macro programming in the excel file. To use the file, user need to download...
6
by: dillipkumar | last post by:
hi, i have one excel file, i want to create a hash of hash from the excel file, like: %hash= , sheet2 => , .... .... ];
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.