Ombir
Active Member
- Joined
- Oct 1, 2015
- Messages
- 433
Hi Friends,
I need the output as shown in column D(Expected Diff) with basic If calculation. Logic should be simple not much complicated as I will use the logic in some other tool for performance consideration. (Left, Right and Mid should be avoided if possible).
Any thoughts ?
<colgroup><col span="2"><col><col></colgroup><tbody>
</tbody>
I need the output as shown in column D(Expected Diff) with basic If calculation. Logic should be simple not much complicated as I will use the logic in some other tool for performance consideration. (Left, Right and Mid should be avoided if possible).
Any thoughts ?
Today | Partition | Current Diff(A-B) | Expcted Diff (A-B) |
201809 | 201809 | 0 | 0 |
201809 | 201808 | 1 | 1 |
201809 | 201807 | 2 | 2 |
201809 | 201806 | 3 | 3 |
201809 | 201805 | 4 | 4 |
201809 | 201804 | 5 | 5 |
201809 | 201803 | 6 | 6 |
201809 | 201802 | 7 | 7 |
201809 | 201801 | 8 | 8 |
201809 | 201712 | 97 | 9 |
201809 | 201711 | 98 | 10 |
201809 | 201710 | 99 | 11 |
201809 | 201709 | 100 | 12 |
201809 | 201708 | 101 | 13 |
201809 | 201707 | 102 | 14 |
201809 | 201706 | 103 | 15 |
201809 | 201705 | 104 | 16 |
201809 | 201704 | 105 | 17 |
201809 | 201703 | 106 | 18 |
201809 | 201702 | 107 | 19 |
201809 | 201701 | 108 | 20 |
201809 | 201612 | 197 | 21 |
201809 | 201611 | 198 | 22 |
201809 | 201610 | 199 | 23 |
201809 | 201609 | 200 | 24 |
<colgroup><col span="2"><col><col></colgroup><tbody>
</tbody>