Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm creating a demonstration database for Preventative Maintenance.
I hadcreated my PM program sequence, and established a set of reasonable dates and mileages between them. Afterwards, I wanted to add some other programs, and did, but now I need to re-balance the dates & mileages. For example, I need to insert n date values between two current dates, n rows apart. Each date could be 1/6th of the total number of days between the two current dates, but I'd prefer there to be some random variences. A EQUIPMENT# B R_TYPE C READING D UOM E NOTES F G New Dates H Number of Blank Lines AS145-B ENHR 10665 MLS PDI Y 9/12/2004 4:35 AS145-B ENHR 48773 MLS PMA Y AS145-B ENHR 64941 MLS PMB Y AS145-B ENHR 97337 MLS PMA Y AS145-B ENHR 139082 MLS Misc Y AS145-B ENHR 170228 MLS PMB Y AS145-B ENHR 251218 MLS Misc Y AS145-B ENHR 258492 MLS PMDOT Y 9/11/2005 11:39 6 AS145-B ENHR 258492 MLS Retorque Y 9/15/2005 3:40 AS145-B ENHR 340574 MLS PMA Y AS145-B ENHR 342890 MLS PMC Y AS145-B ENHR 375486 MLS PMA Y AS145-B ENHR 379149 MLS PMB Y AS145-B ENHR 392653 MLS PMA Y AS145-B ENHR 497397 MLS PMDOT Y 9/10/2006 22:51 5 AS145-B ENHR 497397 MLS Retorque Y 9/13/2006 9:36 AS145-B ENHR 544029 MLS PMA Y AS145-B ENHR 554863 MLS PMC Y AS145-B ENHR 578999 MLS PMA Y AS145-B ENHR 807683 MLS PMB Y AS145-B ENHR 1222337 MLS PMA Y AS224-A ENHR 193 MLS PDI Y 11/3/2000 3:38 5 As you can see for this equipment unit, AS145-B, the first distance reading of 10665 occurred on 9/12/2004. A year later, a DOT inspection was done at 256492 miles, and there were 6 readings between those two. I want to prorate the dates of the other service actions. Has anyone got an idea on how to start? I've tried, but quickly got bogged down trying to reference the date values I need to use to perform the calculations on. How do you find the 'next non-blank value'? Thanks Jim Berglund |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hide Intermediate Levels in Date Dimension | Excel Discussion (Misc queries) | |||
What is contained in excel intermediate? | Excel Discussion (Misc queries) | |||
Intermediate value of a set of array. | Excel Worksheet Functions | |||
How to get intermediate values from smooth graph in Excel ? | Charts and Charting in Excel | |||
date returning time in vba intermediate window | Excel Programming |