Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Four digit numbers need to be split up


I have the number 2537 in cell A1.


I want:
2 in A2
5 in A3
3 in A4
7 in A5


Can anyone help with this

--
hyyft
-----------------------------------------------------------------------
hyyfte's Profile: http://www.excelforum.com/member.php...fo&userid=1318
View this thread: http://www.excelforum.com/showthread.php?threadid=26547

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Four digit numbers need to be split up

=--mid(A1,1,1)
=--MID(A1,2,1)
=--MJID(A1,3,1)
=--MID(A1,4,1)

--

HTH

RP

"hyyfte" wrote in message
...

I have the number 2537 in cell A1.


I want:
2 in A2
5 in A3
3 in A4
7 in A5


Can anyone help with this?


--
hyyfte
------------------------------------------------------------------------
hyyfte's Profile:

http://www.excelforum.com/member.php...o&userid=13187
View this thread: http://www.excelforum.com/showthread...hreadid=265470



  #3   Report Post  
Posted to microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Four digit numbers need to be split up

Try in A2:

=IF(LEN($A$1)=ROW(A1),MID($A$1,ROW(A1),1)+0,"")

Copy A2 down until blanks "" appear,
signalling exhaustion of digits in A1
--
Rgds
Max
xl 97
--
Please respond, in newsgroup
xdemechanik <atyahoo<dotcom
---
"hyyfte" wrote in message
...

I have the number 2537 in cell A1.


I want:
2 in A2
5 in A3
3 in A4
7 in A5


Can anyone help with this?


--
hyyfte
------------------------------------------------------------------------
hyyfte's Profile:

http://www.excelforum.com/member.php...o&userid=13187
View this thread: http://www.excelforum.com/showthread...hreadid=265470



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
entering 16 digit numbers - last digit turns to zero dreamer New Users to Excel 4 May 9th 09 01:04 AM
Split 5 digit number into 5 cells Forum Freak Excel Discussion (Misc queries) 9 February 29th 08 09:59 AM
Need to split a 17 digit number into 17 cells by paste function. JIMBO Excel Discussion (Misc queries) 2 October 11th 07 04:29 AM
what is the minimum numbers set for 4 digit numbers from 0000 to 9 Ambika Excel Discussion (Misc queries) 14 January 27th 06 10:50 PM
16 DIGIT NUMBERS IN CELL WITHOUT LAST DIGIT BEING A ZERO jnkell Excel Worksheet Functions 2 December 18th 04 07:13 PM


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