Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hi,
I have a long list of times entered as 8:30am - 9:15pm , where there is no space between the time and the text am & pm. Can I use the formula substitute to replace both the "am" and "pm" with " am" and " pm" respectively, i.e to insert a space between the time and text in a single formula? is it possible to use OR to replace BOTH of them? I would appreciate any help.... Thank you. |
#2
![]() |
|||
|
|||
![]()
Hi Hassan ,
Try this =SUBSTITUTE(SUBSTITUTE(A1,"am"," am"),"pm"," pm") Regards, KL "Hassan Alameh" wrote in message oups.com... Hi, I have a long list of times entered as 8:30am - 9:15pm , where there is no space between the time and the text am & pm. Can I use the formula substitute to replace both the "am" and "pm" with " am" and " pm" respectively, i.e to insert a space between the time and text in a single formula? is it possible to use OR to replace BOTH of them? I would appreciate any help.... Thank you. |
#3
![]() |
|||
|
|||
![]()
You could also do it with Find Replace in two steps on the whole column,
in place, by replacing the "a" with " a" and the "p" with " p" without the quotes. Vaya con Dios, Chuck, CABGx3 "KL" wrote in message ... Hi Hassan , Try this =SUBSTITUTE(SUBSTITUTE(A1,"am"," am"),"pm"," pm") Regards, KL "Hassan Alameh" wrote in message oups.com... Hi, I have a long list of times entered as 8:30am - 9:15pm , where there is no space between the time and the text am & pm. Can I use the formula substitute to replace both the "am" and "pm" with " am" and " pm" respectively, i.e to insert a space between the time and text in a single formula? is it possible to use OR to replace BOTH of them? I would appreciate any help.... Thank you. |
#4
![]() |
|||
|
|||
![]()
:), missed that !!! thank u clr
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help inserting a Cell Value in a Text Cell | Excel Worksheet Functions | |||
Cell set to wrap text and blank line -- fix? | Excel Discussion (Misc queries) | |||
how to hyperlink text to a cell | New Users to Excel | |||
Formatting a cell as "text" in the number catagory. | Excel Worksheet Functions | |||
GET.CELL | Excel Worksheet Functions |