Sub ShortenNumber(Value As Float) As String
'https://en.wikipedia.org/wiki/Unit_prefix
Dim unitprefix As String
If Value >= 1000000.0 Then
Value = Value / 1000000.0
unitprefix ="M"
Else If Value >= 1000.0 Then
Value = Value / 1000.0
unitprefix = "k"
End If
Return NumberFormat( Value ,1,2) & unitprefix
End Sub