Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
klafert
 
Posts: n/a
Default Need Excel Function that will return # of char in preceding cell

I used it before and cant remeber the function command that will allow me to
copy just the 1st 5 numbers in a cell to another cell. Thes cells are like C
& D.

Thanks for your help. Command just slipping my mind.
  #2   Report Post  
Ragdyer
 
Posts: n/a
Default

Are you perhaps talking about:

In D1, enter,

=LEFT(C1,5)
OR
=--LEFT(C1,5)
to retain numerical format.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"klafert" wrote in message
...
I used it before and cant remeber the function command that will allow me

to
copy just the 1st 5 numbers in a cell to another cell. Thes cells are like

C
& D.

Thanks for your help. Command just slipping my mind.


  #3   Report Post  
IanRoy
 
Posts: n/a
Default

In D1, LEFT(C1,5) will return the first five characters in C1.

"klafert" wrote:

I used it before and cant remeber the function command that will allow me to
copy just the 1st 5 numbers in a cell to another cell. Thes cells are like C
& D.

Thanks for your help. Command just slipping my mind.

  #4   Report Post  
olasa
 
Posts: n/a
Default


The 'first' 5 numbers can be interpreted in two ways:

123456
=LEFT(C1,5) --- "12345" (this is a text)
=--LEFT(C1,5) ---12345 (this is a number)

654321
=RIGHT(C1,5) --- "54321" (this is a text)
=--RIGHT(C1,5) ---54321 (this is a number)

HTH
Ola Sandström


--
olasa
------------------------------------------------------------------------
olasa's Profile: http://www.excelforum.com/member.php...o&userid=17760
View this thread: http://www.excelforum.com/showthread...hreadid=380387

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
Will the Excel WEEKNUM function become ISO 8601 compliant? Gilles Moerdijk Excel Worksheet Functions 3 February 8th 05 07:05 PM
Access Module coded converted to Excel Function Adam Excel Discussion (Misc queries) 1 December 23rd 04 02:48 PM
Does Excel 2000 have a 'datedif' function to calculate the number. Kaddy Excel Worksheet Functions 7 December 11th 04 08:53 PM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 12:35 PM.

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"