Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Does anyone know how to determine the cell containing the character "-" with
the string? for example In cell A1, =" - ", which include the character "-", then return true in B1. Thank for any suggestion Eric |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(LEN(SUBSTITUTE(A1,"-",""))=LEN(A1),FALSE,TRUE)
-- Gary's Student "Eric" wrote: Does anyone know how to determine the cell containing the character "-" with the string? for example In cell A1, =" - ", which include the character "-", then return true in B1. Thank for any suggestion Eric |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank you very much
Eric "Gary''s Student" wrote: =IF(LEN(SUBSTITUTE(A1,"-",""))=LEN(A1),FALSE,TRUE) -- Gary's Student "Eric" wrote: Does anyone know how to determine the cell containing the character "-" with the string? for example In cell A1, =" - ", which include the character "-", then return true in B1. Thank for any suggestion Eric |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
FYI
Also there's: =ISNUMBER(FIND("-",A1)) "Eric" wrote in message : Thank you very much Eric "Gary''s Student" wrote: =IF(LEN(SUBSTITUTE(A1,"-",""))=LEN(A1),FALSE,TRUE) -- Gary's Student "Eric" wrote: Does anyone know how to determine the cell containing the character "-" with the string? for example In cell A1, =" - ", which include the character "-", then return true in B1. Thank for any suggestion Eric |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
A couple mo
=countif(a1,"*-*")0 =isnumber(search("-",a1)) Eric wrote: Does anyone know how to determine the cell containing the character "-" with the string? for example In cell A1, =" - ", which include the character "-", then return true in B1. Thank for any suggestion Eric -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cleaning up data -- any way to globally fix this?? | Excel Discussion (Misc queries) | |||
List File Properties - Author | Excel Worksheet Functions | |||
Urgent date/scheduling calc needed | Excel Worksheet Functions | |||
substitute the filename in a cell reference with a string in another cell. | Excel Discussion (Misc queries) | |||
Setting character attributes in a text string | Excel Worksheet Functions |