So far it finds the "$", then returns the string. Occasionally there is a $5k, so it also changes it to $5000 and returns it. Now I need help if there are multiple values (always preceded by a "$") and pulling the max. Thanks in Advance, as I can't seem to figure this one out.
Public Function DollarAmt(s As String) As Double
If InStr(s, "$") Then
s = Mid(s, InStr(s, "$") + 1)
If Mid(s, Len(Trim(Val(s))) + 1, 1) = "k" Then
s = Val(s) & "000"
Else
s = Val(Replace(s, ",", ""))
End If
Else
s = 0
End If
DollarAmt = s
End Function
Public Function DollarAmt(s As String) As Double
If InStr(s, "$") Then
s = Mid(s, InStr(s, "$") + 1)
If Mid(s, Len(Trim(Val(s))) + 1, 1) = "k" Then
s = Val(s) & "000"
Else
s = Val(Replace(s, ",", ""))
End If
Else
s = 0
End If
DollarAmt = s
End Function