Hello. I work at metal fabrication shop. To manage the raw inventory, we created an excel spreadsheet. It lets us receive in material, reserve it for jobs, etc... There is a master list that contains all the current sheets of raw material.
Most of the material types are called out in a manner similar to the following: AL-5052-.125(48x96) or CR-A366-16ga(60x120). Occasionally, we'll get something weird, like 0.020" x 24" x 48" Alum or 9748K45 if we order from McMaster-Carr.
Our GM has recently asked me to be able to come up with the weight of all the full sheets of material on the floor at the end of the month. Finding the weight isn't a problem. That's just (length x width x height x density). I really only need to use the density for aluminum and steel, since galvaneal/galvanized, stainless, and alumizied are close enough to steel density not to matter.
I need to be able to take the master list or material in inventory, break it down into aluminum and everything else, then parse out the thickness and height/width of the part. The issue is that it's difficult, because they're written differently. A lot of the time, the size will be in parenthesis, sometimes it won't. Then I have the AL from aluminum being the first two of ALMZ of aluminized.
Can anyone help me with the code to do this? Preferably, once I run the program, it will bring up a list or listbox of materials that it didn't know how to place correctly and I can manually choose steel or aluminum for them.
Most of the material types are called out in a manner similar to the following: AL-5052-.125(48x96) or CR-A366-16ga(60x120). Occasionally, we'll get something weird, like 0.020" x 24" x 48" Alum or 9748K45 if we order from McMaster-Carr.
Our GM has recently asked me to be able to come up with the weight of all the full sheets of material on the floor at the end of the month. Finding the weight isn't a problem. That's just (length x width x height x density). I really only need to use the density for aluminum and steel, since galvaneal/galvanized, stainless, and alumizied are close enough to steel density not to matter.
I need to be able to take the master list or material in inventory, break it down into aluminum and everything else, then parse out the thickness and height/width of the part. The issue is that it's difficult, because they're written differently. A lot of the time, the size will be in parenthesis, sometimes it won't. Then I have the AL from aluminum being the first two of ALMZ of aluminized.
Can anyone help me with the code to do this? Preferably, once I run the program, it will bring up a list or listbox of materials that it didn't know how to place correctly and I can manually choose steel or aluminum for them.