xymcrush17
New Member
- Joined
- May 17, 2014
- Messages
- 49
hi mr excel i have question
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD]2013-12-20[/TD]
[TD]18
[/TD]
[TD]2014-01-10[/TD]
[TD]0
[/TD]
[TD]8
[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]4[/TD]
[TD]2014-01-04[/TD]
[TD]0
[/TD]
[TD]2014-02-10[/TD]
[TD]0
[/TD]
[TD]6
[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]5[/TD]
[TD]2014-02-01[/TD]
[TD]-4
[/TD]
[TD]2014-03-01[/TD]
[TD]0
[/TD]
[TD]-25
[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]1[/TD]
[TD]2014-01-29[/TD]
[TD]28
[/TD]
[TD]2014-03-10[/TD]
[TD]1
[/TD]
[TD]9
[/TD]
[/TR]
</tbody>[/TABLE]
Red words is the result that my expected
where
D1 = C1-B1 (date)
F1 = E1-C1 (month) (and different month will subtract 1)
G1 = E1-B1 (date)
thank you in advance
warm regard
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD]2013-12-20[/TD]
[TD]18
[/TD]
[TD]2014-01-10[/TD]
[TD]0
[/TD]
[TD]8
[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]4[/TD]
[TD]2014-01-04[/TD]
[TD]0
[/TD]
[TD]2014-02-10[/TD]
[TD]0
[/TD]
[TD]6
[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]5[/TD]
[TD]2014-02-01[/TD]
[TD]-4
[/TD]
[TD]2014-03-01[/TD]
[TD]0
[/TD]
[TD]-25
[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]1[/TD]
[TD]2014-01-29[/TD]
[TD]28
[/TD]
[TD]2014-03-10[/TD]
[TD]1
[/TD]
[TD]9
[/TD]
[/TR]
</tbody>[/TABLE]
Red words is the result that my expected
where
D1 = C1-B1 (date)
F1 = E1-C1 (month) (and different month will subtract 1)
G1 = E1-B1 (date)
thank you in advance
warm regard