I have a column of values for universities. For example, I have a column with string "University of Michigan" and "UMich"
why won't the following function return back in the cell a string "University of Michigan"
Function CleanUniCode(entry) As Variant
If entry = "UMich" Then entry = "University of Michigan"
End Function
Also tried this and the cell is returning 0, not sure why.
Function CleanUniCode(entry) As Variant
If entry Like "[UMich]" Then
entry = "University of Michigan"
ElseIf entry Like "[UPenn]" Then
entry = "University of Pennsylvania"
Else:
End If
End Function