Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 47
Default Add a space in data

Hi,

Is there a formula that would add a space between two characters?

I have "12:13:09", I would like to add a space before the first colon. (12
:13:09)
--
smile
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 320
Default Add a space in data

Format it as
h" ":mm:ss

"israel" wrote in message
...
Hi,

Is there a formula that would add a space between two characters?

I have "12:13:09", I would like to add a space before the first colon. (12
:13:09)
--
smile



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 698
Default Add a space in data

I had to format the cell as Text and enter 12:13:09 to get this formula to
work.

=LEFT(F1,2)&" "&MID(F1,3,6)

HTH
REgards,
Howard

"israel" wrote in message
...
Hi,

Is there a formula that would add a space between two characters?

I have "12:13:09", I would like to add a space before the first colon. (12
:13:09)
--
smile



  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 35,218
Default Add a space in data

Are these values times?

Or are they text?

If they're text, you could use a formula like:
=SUBSTITUTE(A1,":"," :",1)

If they're times, you could give it a custom format
(format|Cells|number tab|Custom category)
hh :mm:ss

or using a formula and another cell:
=text(a1,"hh :mm:ss")

israel wrote:

Hi,

Is there a formula that would add a space between two characters?

I have "12:13:09", I would like to add a space before the first colon. (12
:13:09)
--
smile


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 47
Default Add a space in data

Thank you for your reply. Your sollution does not work for me since my column
was formated to "TIME".

Thank you
--
smile


"L. Howard Kittle" wrote:

I had to format the cell as Text and enter 12:13:09 to get this formula to
work.

=LEFT(F1,2)&" "&MID(F1,3,6)

HTH
REgards,
Howard

"israel" wrote in message
...
Hi,

Is there a formula that would add a space between two characters?

I have "12:13:09", I would like to add a space before the first colon. (12
:13:09)
--
smile






  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 47
Default Add a space in data

Way to go, it worked beautifully. It is TIME and the solution was quite
simple.

Thank you
--
smile


"Dave Peterson" wrote:

Are these values times?

Or are they text?

If they're text, you could use a formula like:
=SUBSTITUTE(A1,":"," :",1)

If they're times, you could give it a custom format
(format|Cells|number tab|Custom category)
hh :mm:ss

or using a formula and another cell:
=text(a1,"hh :mm:ss")

israel wrote:

Hi,

Is there a formula that would add a space between two characters?

I have "12:13:09", I would like to add a space before the first colon. (12
:13:09)
--
smile


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to pick up data from left of a space starting from the right? Jim Thomlinson Excel Discussion (Misc queries) 0 August 15th 08 10:40 PM
Discovering No-BREAK Space in cell Data Joe Excel Discussion (Misc queries) 4 April 26th 07 01:46 PM
Paper Space / Model Space ? Coolboy55 Excel Discussion (Misc queries) 0 September 1st 05 08:58 PM
How do I shade the space between two data series in Excel? spike5150 Charts and Charting in Excel 1 March 23rd 05 11:19 PM
space between y axis and data points.. Dave R. Charts and Charting in Excel 3 January 8th 05 04:56 AM


All times are GMT +1. The time now is 07:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"