ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Four digit numbers need to be split up (https://www.excelbanter.com/excel-programming/312163-four-digit-numbers-need-split-up.html)

hyyfte[_22_]

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


Bob Phillips[_6_]

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




Max

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





All times are GMT +1. The time now is 05:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com