likexl
New Member
- Joined
- May 7, 2011
- Messages
- 18
Hello,
How one can achive solution in the following situation:
<tbody>
</tbody>
After executing vba code following is expected:
<tbody>
</tbody>
Id can be duplicate, but id active will be unique.
Value in the empty cell filled will based on previous.
Thanks.
How one can achive solution in the following situation:
ID | STATUS | DAY1 | DAY2 | Day3 | Day4 | DAy5 |
H1 | PASSIVE | 100 | 100 | 100 | ||
H2 | ACTIVE | 100 | 500 | |||
H1 | ACTIVE | 100 | 500 | 200 | ||
H3 | ACTIVE | 100 | 200 | 500 | ||
H4 | ACTIVE | 100 | 200 | 500 |
<tbody>
</tbody>
After executing vba code following is expected:
ID | STATUS | DAY1 | DAY2 | Day3 | Day4 | DAy5 |
H1 | PASSIVE | 100 | 100 | 100 | ||
H2 | ACTIVE | 100 | 100 | 100 | 100 | 500 |
H1 | ACTIVE | 100 | 100 | 500 | 500 | 200 |
H3 | ACTIVE | 100 | 200 | 200 | 200 | 500 |
H4 | ACTIVE | 100 | 200 | 500 |
<tbody>
</tbody>
Id can be duplicate, but id active will be unique.
Value in the empty cell filled will based on previous.
Thanks.