Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
BMF BMF is offline
external usenet poster
 
Posts: 1
Default Limit character count in cell from left


This may have already been answered, but I'm going to ask it anyway : )

I work with the same spread sheet every day and I need to limit the
character count in one of the date cells. The text come in as:

200607120910
and I need it to take off the hour and minute of the time stamp:
20060712

Thanks in advance.


--
BMF
------------------------------------------------------------------------
BMF's Profile: http://www.excelforum.com/member.php...o&userid=36297
View this thread: http://www.excelforum.com/showthread...hreadid=560750

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default Limit character count in cell from left

hi BMF,

in an auxiliar column use =left(a1,8)

hth
regards from Brazil
Marcelo

"BMF" escreveu:


This may have already been answered, but I'm going to ask it anyway : )

I work with the same spread sheet every day and I need to limit the
character count in one of the date cells. The text come in as:

200607120910
and I need it to take off the hour and minute of the time stamp:
20060712

Thanks in advance.


--
BMF
------------------------------------------------------------------------
BMF's Profile: http://www.excelforum.com/member.php...o&userid=36297
View this thread: http://www.excelforum.com/showthread...hreadid=560750


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 618
Default Limit character count in cell from left

"BMF" wrote in message
...

This may have already been answered, but I'm going to ask it anyway : )

I work with the same spread sheet every day and I need to limit the
character count in one of the date cells. The text come in as:

200607120910
and I need it to take off the hour and minute of the time stamp:
20060712


=LEFT(A1,8) or =INT(A1/10000)
--
David Biddulph


  #4   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Limit character count in cell from left

To do it without using another column, just highlight the column, then do
Data TextToColumns FixedWidth Next and set the column break line
where you want it Next click on the top of the column with the unwanted
characters and then check the button DoNotImportColumn(Skip) Finish

hth
Vaya con Dios,
Chuck, CABGx3



"BMF" wrote:


This may have already been answered, but I'm going to ask it anyway : )

I work with the same spread sheet every day and I need to limit the
character count in one of the date cells. The text come in as:

200607120910
and I need it to take off the hour and minute of the time stamp:
20060712

Thanks in advance.


--
BMF
------------------------------------------------------------------------
BMF's Profile: http://www.excelforum.com/member.php...o&userid=36297
View this thread: http://www.excelforum.com/showthread...hreadid=560750


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Limit character count in cell from left


the functions left mid right and len should allow you to do what you
want


--
tony h
------------------------------------------------------------------------
tony h's Profile: http://www.excelforum.com/member.php...o&userid=21074
View this thread: http://www.excelforum.com/showthread...hreadid=560750



  #6   Report Post  
Posted to microsoft.public.excel.misc
BMF BMF is offline
external usenet poster
 
Posts: 1
Default Limit character count in cell from left


It worked perfectly. Thanks a lot.


--
BMF
------------------------------------------------------------------------
BMF's Profile: http://www.excelforum.com/member.php...o&userid=36297
View this thread: http://www.excelforum.com/showthread...hreadid=560750

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
Returning left part of cell before a character Alan Excel Discussion (Misc queries) 6 April 4th 23 02:26 PM
Get first character in cell and count all cells that begin with 1,2,3 etc [email protected] Excel Discussion (Misc queries) 5 June 8th 06 05:04 PM
Find text within cell then display text to left Jambruins Excel Discussion (Misc queries) 5 April 17th 06 10:01 PM
resetting last cell jagdish.eashwar Excel Discussion (Misc queries) 11 March 31st 06 02:06 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 12:45 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"