Stargem83
New member
- Joined
- Jul 29, 2019
- Messages
- 1
- Reaction score
- 0
- Points
- 0
- Location
- Knoxville, TN
- Excel Version(s)
- 2016
Hello!
I am struggling with what exactly I need to do with the data I am gathering, and I'm REALLY hoping I'm not being complicated, of course that would explain the headaches if it is, ha!
So in my department, we virtually consume materials to create new ones in our ERP, then we move them to the warehouse. I need to see what everyone is consuming to see if they are taking as much as they are suppose to or if they aren't taking enough. Our ERP system is QAD, and I've been working with it for 4 years now. In February I decided I was going to try to monitor everyone's accuracies on my own, so I run a history report for specified dates, and export that to an excel file. I have created a tab for every week from Jan 1 - current. In the beginning it wasn't terrible to go in and format things by hand, then use formulas manually pulling them down the column to do multiple rows. Then I learned how to create macros to do what I need. At least I thought I did. It formats everything for me, and puts the formula in the rows of the column I specified in the macro. The formula does what it's suppose to, however it's not enough. I think I need it to be more complex and I don't know which way I need to go. Below is a sample of my formula, what it does and doesn't do. I've since been promoted, and am now required to run these reports, however I do not have enough time to do my base job, plus the hours worth of combing through to see if supplies were consumed correctly.
Okay, so once I run my specific search criteria and export the file from QAD into Excel. I take that week and add it to my yearly workbook and run the macro. The primary function of the macro was to style it and help me sort through the work orders that were not accurate. Which was working well in the beginning when I didn't have other responsibilities to do. I had the time to sort through them manually, even if I did get headaches from the eye strain. The more I need to do though, the less time I have to filter through the right and wrongs, so, all it's really doing right now is formatting my cells, because the formula is simple. I think I need to somehow make a more complex formula, utilize VBA or create some sort of database. Because what I have to compare one line with another isn't as complex as I need it to be. This is the formula that the macro inserts in every cell in column H to reference G.
"=IF(OR(G2=G3, G2=G4, G2=G1), "", "x")"
Which is fine if I want the all or nothing approach. Some of our products require multiple supplies to be consumed and sometimes controllers don't always consume every item. Even though the X's are highlighting "Hey! I don't have anymore ID's to socialize with!" the ones that do have multiple ID's may not be correct either, because they could consume 2 or 3 supplies, but the order calls for 4. Which is why, I've had to go behind to see which ones that were "right" were actually wrong every week, got frustrated and stopped doing it. I have every week of this year exported, and half are formatted correctly, the other half are waiting to be formatted. I've attached to spreadsheets, one with a week that has been formatted that I combed through after running the macro, the other is before the macro has touched it.
What I would like is to be able to run it, so that it will style, search for the word "recover" or "regrind" in remarks and if true then the line is correct, flag the ones that aren't correct and count the the number of X's for each ID off to the side.
I don't know how to get that to work without creating some sort of database with a listing of our products and the supplies that makes our products, and somehow the macro references that file and marks them correct or not based on that.
Have I created confusion? Is what I need doable?
I am struggling with what exactly I need to do with the data I am gathering, and I'm REALLY hoping I'm not being complicated, of course that would explain the headaches if it is, ha!
So in my department, we virtually consume materials to create new ones in our ERP, then we move them to the warehouse. I need to see what everyone is consuming to see if they are taking as much as they are suppose to or if they aren't taking enough. Our ERP system is QAD, and I've been working with it for 4 years now. In February I decided I was going to try to monitor everyone's accuracies on my own, so I run a history report for specified dates, and export that to an excel file. I have created a tab for every week from Jan 1 - current. In the beginning it wasn't terrible to go in and format things by hand, then use formulas manually pulling them down the column to do multiple rows. Then I learned how to create macros to do what I need. At least I thought I did. It formats everything for me, and puts the formula in the rows of the column I specified in the macro. The formula does what it's suppose to, however it's not enough. I think I need it to be more complex and I don't know which way I need to go. Below is a sample of my formula, what it does and doesn't do. I've since been promoted, and am now required to run these reports, however I do not have enough time to do my base job, plus the hours worth of combing through to see if supplies were consumed correctly.
Okay, so once I run my specific search criteria and export the file from QAD into Excel. I take that week and add it to my yearly workbook and run the macro. The primary function of the macro was to style it and help me sort through the work orders that were not accurate. Which was working well in the beginning when I didn't have other responsibilities to do. I had the time to sort through them manually, even if I did get headaches from the eye strain. The more I need to do though, the less time I have to filter through the right and wrongs, so, all it's really doing right now is formatting my cells, because the formula is simple. I think I need to somehow make a more complex formula, utilize VBA or create some sort of database. Because what I have to compare one line with another isn't as complex as I need it to be. This is the formula that the macro inserts in every cell in column H to reference G.
"=IF(OR(G2=G3, G2=G4, G2=G1), "", "x")"
Which is fine if I want the all or nothing approach. Some of our products require multiple supplies to be consumed and sometimes controllers don't always consume every item. Even though the X's are highlighting "Hey! I don't have anymore ID's to socialize with!" the ones that do have multiple ID's may not be correct either, because they could consume 2 or 3 supplies, but the order calls for 4. Which is why, I've had to go behind to see which ones that were "right" were actually wrong every week, got frustrated and stopped doing it. I have every week of this year exported, and half are formatted correctly, the other half are waiting to be formatted. I've attached to spreadsheets, one with a week that has been formatted that I combed through after running the macro, the other is before the macro has touched it.
What I would like is to be able to run it, so that it will style, search for the word "recover" or "regrind" in remarks and if true then the line is correct, flag the ones that aren't correct and count the the number of X's for each ID off to the side.
I don't know how to get that to work without creating some sort of database with a listing of our products and the supplies that makes our products, and somehow the macro references that file and marks them correct or not based on that.
Have I created confusion? Is what I need doable?