tractorvix
Technical User
Hi All,
I'm sure this has a really simple answer, but my brain just doesn't seem to be in gear today!
I have normalised my data to show:
Prod Date Value
A 1/1/8 4.5
A 1/2/8 5
A 1/3/8 5
B 1/1/8 6
B 1/2/8 5.75
B 1.3.8 5.5
What I need to do is calculate the monthly variance so it becomes
Prod Date Variance
A 1/1/8 0 (always zero)
A 1/2/8 -0.5 (5 - 4.5)
A 1/3/8 0 (5 - 5)
B 1/1/8 0 (always zero)
B 1/2/8 -0.25 (6 - 5.75)
B 1/3/8 -0.25 (5.75 - 5.5)
etc.
Can anyone please advise?
Thanks
Vicky
I'm sure this has a really simple answer, but my brain just doesn't seem to be in gear today!
I have normalised my data to show:
Prod Date Value
A 1/1/8 4.5
A 1/2/8 5
A 1/3/8 5
B 1/1/8 6
B 1/2/8 5.75
B 1.3.8 5.5
What I need to do is calculate the monthly variance so it becomes
Prod Date Variance
A 1/1/8 0 (always zero)
A 1/2/8 -0.5 (5 - 4.5)
A 1/3/8 0 (5 - 5)
B 1/1/8 0 (always zero)
B 1/2/8 -0.25 (6 - 5.75)
B 1/3/8 -0.25 (5.75 - 5.5)
etc.
Can anyone please advise?
Thanks
Vicky