Hello All,
I have already tried to do this and ended up with an enormous macro that takes an eternity to run. Thus I hand the project over to you folks to try and help me out.
TestData.xlsm Here is an example of two months worth of data that I have.
Now here are some complications:
- Each serial number (col B) goes with a unique test, however if that serial number appears on two different days (col A) they should be considered separate tests
- This dataset can be of any length and thus any date range (col A)
- I'd like to do alot of analysis on this data which can end up making the macro rather complicated
Now essentially when Oil Temp In (col AD) or Oil Temp Out (col AE) goes under 125 that is considered a failure. I need to see if failures correlate to the following variables:
- Rotor Speed (col D) (ranges from 0-30000, should be broken up into ranges)
- Number of unique tests on that day (derived from col A)
- Length of the test that value is in (derived from col A)
- Ambient Temperature (col X)
- Month that test is in (derived from col A)
This could be done in a number of ways. The way I was doing it before was by finding the percent of failures in each category (i.e. number of failures when Rotor Speed is between 0-1000 / total instances when Rotor Speed is between 0-1000 * 100).
If anyone has any ideas on how I should go about any of this please help me out. I am not ignorant at coding, I am just not fluent enough in VBA to write codes with operating speeds in mind. I will monitor this thread constantly in case anyone has any questions.
Hopefully I will see a good turnout of help here.
Thanks!
Bookmarks