excel - VBA: assign specific values if two conditions are met -
i have following table:
- column a: time stamps
- column b-d: different values
- column e: indicators
- column g: converted time stamps calculate (min sec)
i need assign different values indicators (column f). first sequence xyz gets 1, second 2, ect. shown in image.
however, if gets more complicated can have missing values.
- for example rows 11 17 might not exist , indicator left z (which gets 2 assigned).
- in worst case, rows 11 20 missing. next sequence 3 needs assigned.
thus, somehow need work column "g" due missing values time stamp 'jumps' indicator in column "i".
i tried use if functions 1 if indicator or time changes. combine , how can work in loop...
does know deal or has idea?
in actual table have around 12 rows per second. gives >16,000 rows per file. after assignment goal make pivot table different values , assignments (this works already).
Comments
Post a Comment