Am I Right To Be Feeling This Way?
Family Life2 mins ago
No best answer has yet been selected by snapping sam. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.Sorry....have only just got back to see that you had replied again !
you need to go into TOOLS > MACRO > VISUAL BASIC EDITOR (depending on what version of excel you are using
Then add the following to the general code
Function daylit(x)
If Format(x, "d") = "12" Then
daylit = "12th"
ElseIf Format(x, "d") = "11" Then
daylit = "11th"
ElseIf Format(x, "d") = "13" Then
daylit = "13th"
ElseIf Right(Format(x, "d"), 1) = "1" Then
daylit = Format(x, "d") & "st"
ElseIf Right(Format(x, "d"), 1) = "2" Then
daylit = Format(x, "d") & "nd"
ElseIf Right(Format(x, "d"), 1) = "3" Then
daylit = Format(x, "d") & "rd"
Else
daylit = Format(x, "d") & "th"
End If
If x < "10" Then
daylit = "!!" & daylit
End If
End Function
you should then be able to select this function to use in any cell in your spreadsheet