Hi all,
I've been working on this chart for over a month now, and all the hard work is nearing an end. Aside from a couple of QOL things, I only have one major issue keeping this chart from being the tool I need it to be at work.
For context, my employer has a decent ERP system, but they have been careless in its implementation, no one who currently works there was employed when the system went live, and consequently, it has a LOT of garbage information. For this reason, the system analytic tools are useless.
This chart pulls data from 3 reports generated by the ERP system: the Advise report, the On Hand report, and the Production Forecast report. Its purpose is to analyze on hand quantities of items, and track incoming open orders, while filtering the noise.
The problem:
In order to order effectively, there must be some overlap between incoming orders and on hand quantities, so that there is no production downtime. That overlap needs to be accounted for in the duration of the items, because sometimes the overlap can be quite significant.
Trying to do this with a VLOOKUP causes circular errors because it checks a calculated date that includes the cell where the VLOOKUP calculation is preformed.
My solution is to use INDIRECT to exclude the row that the VLOOKUP is calculated on, which at first glance seems to work. It is to lookup the array above the row, and below the row.
This might sound dumb, but the logic of getting both conditions met, where it performs both actions(lookup above/below), escapes me. I might just be burnt out, I have had to parse some of my formulas in Notepad++ just to work out the logic, but I'd really like to wrap this up. As I said, I've been at this over a month, doing most of the work at home, unpaid. not that it matters a lot, this is for my own purposes after all.
Anyways, here are some notables:
1. The scheduling table has a helper column (Column 1) to index part numbers. Every change to formulas, or the underlying data, should be done with all sorting and filters turned off. Any other time this table must be able to be sorted or filtered.
2. The formula in question is in Column K, the Overlap column of the Scheduling table. It should check the Promised Date(Column I) of the row being calculated, against the End Date(Column N) of all other similar Item Numbers, and if it is less, output the number of NETWORK days of the difference. It needs to check against Item Numbers and On Hand, although On Hand parts will never need to be calculated for an overlap for themselves.
3. The chart has been moved out of the way to BA650, because it takes a while to draw.
That's all that I can think off at the moment. Also, any performance suggestions would be appreciated, it isn't terrible slow, but I feel like it could be faster.
Thanks!
The xlsm is 4.23 MB, I tried to zip it down, got to 3.14 MB, but the forum still won't let me upload it. I put the zip file in my Google Drive.
https://drive.google.com/file/d/1IjW...ew?usp=sharing
Bookmarks