presence of volume has no impact on price change

This commit is contained in:
Trowbridge 2019-03-20 13:03:58 -04:00
parent ae5515a83e
commit 7d2e018388
1 changed files with 2 additions and 6 deletions

View File

@ -388,14 +388,10 @@ Sub month_tosheet(ByRef pkg() As Variant, ByRef basket() As Variant)
End If
'--adjust--
If co_num(pkg(i, 3), 0) = 0 Then
If (pkg(i, 3) + pkg(i, 2)) = 0 Then
sh.Cells(i + 1, 8) = 0
Else
If (pkg(i, 3) + pkg(i, 2)) = 0 Then
sh.Cells(i + 1, 8) = 0
Else
sh.Cells(i + 1, 8) = (pkg(i, 7) + pkg(i, 6)) / (pkg(i, 3) + pkg(i, 2)) - (pkg(i, 6) / pkg(i, 2))
End If
sh.Cells(i + 1, 8) = (pkg(i, 7) + pkg(i, 6)) / (pkg(i, 3) + pkg(i, 2)) - (pkg(i, 6) / pkg(i, 2))
End If
'--current adjust--