Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
A brilliant approach, Tom. Why didn't I think of that ...<g
Best wishes Harald Excel MVP Followup to newsgroup only please "Tom Ogilvy" skrev i melding ... This appears to work as well: Function ValCat(r As Range) Dim sVal As String ValCat = 4 sVal = r.Text If sVal Like "[A-Z]" Then ValCat = 1 If sVal Like "[A-Z]#" Then ValCat = 3 If sVal Like "[A-Z]##" Then ValCat = 3 If sVal Like "#" Then ValCat = 2 If sVal Like "##" Then ValCat = 2 End Function -- Regards, Tom Ogilvy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If function required | Excel Discussion (Misc queries) | |||
Function required | Excel Discussion (Misc queries) | |||
Help required with COUNTIF/AND function | Excel Worksheet Functions | |||
Function not working quite as required | Excel Programming | |||
Function not working quite as required | Excel Programming |