Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 788
Default Select first 5 characters from another cell

I was wondering if there was a way to have a formula where a cell will grab
the first 5 characters from another cell. The reason is that I have a list of
email addresses in an Excel spreadsheet. The username is the first 5
characters from the persons email address. Is there any way to write an
equation that will automatically pull the first 5 characters from another
cell?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Select first 5 characters from another cell

=LEFT(A1,5)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Chris" wrote in message
...
I was wondering if there was a way to have a formula where a cell will

grab
the first 5 characters from another cell. The reason is that I have a list

of
email addresses in an Excel spreadsheet. The username is the first 5
characters from the persons email address. Is there any way to write an
equation that will automatically pull the first 5 characters from another
cell?

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 634
Default Select first 5 characters from another cell

=LEFT(A1,5) will do just that

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------


"Chris" wrote in message
...
I was wondering if there was a way to have a formula where a cell will grab
the first 5 characters from another cell. The reason is that I have a list
of
email addresses in an Excel spreadsheet. The username is the first 5
characters from the persons email address. Is there any way to write an
equation that will automatically pull the first 5 characters from another
cell?

Thanks!



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Select first 5 characters from another cell


Hello Chris

The worksheet formula would look like this..

=LEFT($D$2, 5

This will return the first 5 characters of cell $D$2

Sincerely
Leith Ros

--
Leith Ros
-----------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...fo&userid=1846
View this thread: http://www.excelforum.com/showthread.php?threadid=50793

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Select first 5 characters from another cell

If the text is in A1 then:

=LEFT(A1,5) should get you the first five characters
--
Gary''s Student


"Chris" wrote:

I was wondering if there was a way to have a formula where a cell will grab
the first 5 characters from another cell. The reason is that I have a list of
email addresses in an Excel spreadsheet. The username is the first 5
characters from the persons email address. Is there any way to write an
equation that will automatically pull the first 5 characters from another
cell?

Thanks!



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 486
Default Select first 5 characters from another cell

=Left(A1, 5)

Will grab the feft most 5 characters from Cell A1. Put this in any other
cell that you want...
--
HTH...

Jim Thomlinson


"Chris" wrote:

I was wondering if there was a way to have a formula where a cell will grab
the first 5 characters from another cell. The reason is that I have a list of
email addresses in an Excel spreadsheet. The username is the first 5
characters from the persons email address. Is there any way to write an
equation that will automatically pull the first 5 characters from another
cell?

Thanks!

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
How do you select multiple characters in a drop down list to appe. Ross Noble Excel Worksheet Functions 2 August 11th 08 11:43 PM
copy select characters from specified cells. Ron Excel Worksheet Functions 3 October 9th 06 08:40 PM
select a string of characters Did Excel Worksheet Functions 7 August 17th 05 04:24 AM
Excel VBA - select firsty 30 characters of a cell ozcank[_12_] Excel Programming 3 February 6th 04 08:15 PM
select only certain characters from a cell. SS[_2_] Excel Programming 3 December 10th 03 06:43 PM


All times are GMT +1. The time now is 09:38 AM.

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

About Us

"It's about Microsoft Excel"