Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default cutting characters from a cell

i need to cut the first 14 characters from a text string - for instance I
need to return "E-100-250-4332" from "E-100-250-4332 Rental Expense". I
can't use the function "Right" as the right part of the cell is a variable
number of characters.

Thanks for your help!!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 492
Default cutting characters from a cell

If its always 14 characters, with "E-100-250-4332 Rental Expense" in A1,
=LEFT(A1,14)
Regards,
Alan.
"LAndersen" wrote in message
...
i need to cut the first 14 characters from a text string - for instance I
need to return "E-100-250-4332" from "E-100-250-4332 Rental Expense". I
can't use the function "Right" as the right part of the cell is a variable
number of characters.

Thanks for your help!!!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default cutting characters from a cell

How about the LEFT?

=LEFT(A1,14)

HTH,
Elkar


"LAndersen" wrote:

i need to cut the first 14 characters from a text string - for instance I
need to return "E-100-250-4332" from "E-100-250-4332 Rental Expense". I
can't use the function "Right" as the right part of the cell is a variable
number of characters.

Thanks for your help!!!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default cutting characters from a cell

No - using "left" will not work. I could cut the first 14 characters in the
cell and be left with the variable number of characters on the right, but I
can't remember what the function is to do this. Basically, I don't want
anything copied from the cell - I want the first 14 characters actually cut
out.

Thanks for your help!!

"Elkar" wrote:

How about the LEFT?

=LEFT(A1,14)

HTH,
Elkar


"LAndersen" wrote:

i need to cut the first 14 characters from a text string - for instance I
need to return "E-100-250-4332" from "E-100-250-4332 Rental Expense". I
can't use the function "Right" as the right part of the cell is a variable
number of characters.

Thanks for your help!!!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default cutting characters from a cell

Take a look at "Text to Columns" in the Data menu. It sounds like this may
accomplish what you're looking for.



"LAndersen" wrote:

No - using "left" will not work. I could cut the first 14 characters in the
cell and be left with the variable number of characters on the right, but I
can't remember what the function is to do this. Basically, I don't want
anything copied from the cell - I want the first 14 characters actually cut
out.

Thanks for your help!!

"Elkar" wrote:

How about the LEFT?

=LEFT(A1,14)

HTH,
Elkar


"LAndersen" wrote:

i need to cut the first 14 characters from a text string - for instance I
need to return "E-100-250-4332" from "E-100-250-4332 Rental Expense". I
can't use the function "Right" as the right part of the cell is a variable
number of characters.

Thanks for your help!!!



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default cutting characters from a cell

You can try this:

=RIGHT(A1,LEN(A1)-14)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"LAndersen" wrote in message
...
No - using "left" will not work. I could cut the first 14 characters in
the
cell and be left with the variable number of characters on the right, but
I
can't remember what the function is to do this. Basically, I don't want
anything copied from the cell - I want the first 14 characters actually
cut
out.

Thanks for your help!!

"Elkar" wrote:

How about the LEFT?

=LEFT(A1,14)

HTH,
Elkar


"LAndersen" wrote:

i need to cut the first 14 characters from a text string - for instance
I
need to return "E-100-250-4332" from "E-100-250-4332 Rental Expense".
I
can't use the function "Right" as the right part of the cell is a
variable
number of characters.

Thanks for your help!!!


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
Using an offset formula for the reference in a relative reference Cuda Excel Worksheet Functions 6 November 15th 06 05:12 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Number of characters in a cell (one row, merged columns) Dajana Excel Discussion (Misc queries) 1 September 19th 05 09:30 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
if cell starts with characters formula Norman Kong via OfficeKB.com Excel Discussion (Misc queries) 3 March 24th 05 10:18 AM


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