J
Jim
I am trying to understand why this function is producing weird
results. I feel like I have setup the function correctly, but the
numbers being returned are not the numbers expected. Thanks for the
help,
Function FINDTier(ERNVAR, Tier As Range)
Select Case ERNVAR
Case Is > 0.13: FINDTier = Tier(1)
Case Is >= 0.13: FINDTier = Tier(2)
Case Is >= 0.09: FINDTier = Tier(3)
Case Is >= 0.05: FINDTier = Tier(4)
Case Is <= 0: FINDTier = Tier(5)
Case Is <= -0.03: FINDTier = Tier(6)
Case Is <= -0.07: FINDTier = Tier(7)
Case Is < -0.12: FINDTier = Tier(8)
End Select
End Function
results. I feel like I have setup the function correctly, but the
numbers being returned are not the numbers expected. Thanks for the
help,
Function FINDTier(ERNVAR, Tier As Range)
Select Case ERNVAR
Case Is > 0.13: FINDTier = Tier(1)
Case Is >= 0.13: FINDTier = Tier(2)
Case Is >= 0.09: FINDTier = Tier(3)
Case Is >= 0.05: FINDTier = Tier(4)
Case Is <= 0: FINDTier = Tier(5)
Case Is <= -0.03: FINDTier = Tier(6)
Case Is <= -0.07: FINDTier = Tier(7)
Case Is < -0.12: FINDTier = Tier(8)
End Select
End Function