#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default splitting cell

Can anyone tell me how to split a 7 or 8 digit number in a cell so that each
individual digit is in a separate cell on the same row (with margin to right
i.e. the right hand most #'s should line up).

Thanks

anand
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default splitting cell

if A1 contains 12345678
then in B1 thru I1, enter:
=MID($A$1,COLUMN()-1,1)

--
Gary''s Student - gsnu200726
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default splitting cell

If your data value is in A1, then try this in columns B to I:
=IF(COLUMN()+LEN($A1)<10,"",--MID($A1,COLUMN()+LEN($A1)-9,1))
--
David Biddulph

"anand" wrote in message
...
Can anyone tell me how to split a 7 or 8 digit number in a cell so that
each
individual digit is in a separate cell on the same row (with margin to
right
i.e. the right hand most #'s should line up).

Thanks

anand



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
splitting a cell wnfisba Excel Discussion (Misc queries) 7 April 10th 07 10:22 AM
Splitting a cell into two... Louise Excel Discussion (Misc queries) 3 April 21st 06 04:25 PM
Splitting a cell David Excel Worksheet Functions 2 March 16th 06 07:36 PM
Splitting a cell c Excel Worksheet Functions 1 April 12th 05 02:40 PM
Splitting a Cell c Excel Worksheet Functions 5 April 11th 05 10:23 PM


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