ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to put space in between each Character in same cell with formula (https://www.excelbanter.com/excel-worksheet-functions/452930-how-put-space-between-each-character-same-cell-formula.html)

Sunil V

How to put space in between each Character in same cell with formula
 
Hi,

How to put space in between each Character in same cell with formula
For example: ABCDEF which is in A1 Cell should be converted in to A B C D E F need to add Space in between each character in A1 Cell with formula


Regards
Sunil.V


Claus Busch

How to put space in between each Character in same cell with formula
 
Hi,

Am Thu, 8 Dec 2016 03:16:12 -0800 (PST) schrieb Sunil V:

How to put space in between each Character in same cell with formula
For example: ABCDEF which is in A1 Cell should be converted in to A B C D E F need to add Space in between each character in A1 Cell with formula


try it with a macro.
For each cell in column A:

Sub Space()
Dim i As Long, LRow As Long
Dim rngC As Range
Dim myStr As String

With ActiveSheet
LRow = .Cells(.Rows.Count, "A").End(xlUp).Row
For Each rngC In .Range("A1:A" & LRow)
myStr = rngC.Text
For i = 2 To Len(myStr) * 2 - 1 Step 2
myStr = Left(myStr, i - 1) & " " & Mid(myStr, i)
Next
rngC = myStr
Next
End With
End Sub


Regards
Claus B.
--
Windows10
Office 2016

Sunil V

How to put space in between each Character in same cell with formula
 
On Thursday, December 8, 2016 at 4:46:15 PM UTC+5:30, Sunil V wrote:
Hi,

How to put space in between each Character in same cell with formula
For example: ABCDEF which is in A1 Cell should be converted in to A B C D E F need to add Space in between each character in A1 Cell with formula


Regards
Sunil.V


Thanks for your support....
Can you suggest me any basic formula for this ???

Claus Busch

How to put space in between each Character in same cell with formula
 
Hi,

Am Thu, 8 Dec 2016 05:47:45 -0800 (PST) schrieb Sunil V:

Can you suggest me any basic formula for this ???


a formula is very long and not really readable:
=REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(A1,2,1," "&MID(A1,2,1)),4,1," "&MID(A1,3,1)),6,1," "&MID(A1,4,1)),8,1," "&MID(A1,5,1)),10,1," "&MID(A1,6,1))


Regards
Claus B.
--
Windows10
Office 2016

tamnhu099341

omachi
mì omachi
mì gói omachi

PhunuSEO

Đầu tiên Khô g* Trang Moon xin phép các mod cho mình quảng cáo một b*i ở diễn đ*n nhé.

Từ lâu nay, các món khô Bò, khô Nai l*m mình l*m mẩy trên thị trường về độ dễ ăn của nó, tuy nhiên hai loại khô n*y có nhược điểm l* ăn cùng vị v* cứng. Ng*y nay, với công nghệ cải tiến, ướp vị v* đánh xé g* th*nh từng thớ nhỏ được phát minh, chúng tôi xin giới thiệu đến các bạn món khô g* xé cay cực ngon. Món n*y hợp với hầu hết các bạn cả nam v* nữ, từ mọi ngh*nh nghề, lao động hay văn phòng đều có thể nhâm nhi được hết nhé. Vì lý do diễn đ*n không cho post ảnh nhiều, mình đưa lên một ảnh đại diện cho các bạn chiêm ngưỡng nhé. Các thông tin cụ thể các bạn có thể theo thông tin bên dưới để tham khảo.

https://scontent-sin6-1.xx.fbcdn.net...c1&oe=58BF2A43

Ngo*i ra, các bạn muốn kinh doanh thì có thể liên hệ Inbox facebook page hoặc Zalo đều được nhé

Trang chủ :khogatrangmoon.com (Các bạn copy dán lên trình duyệt nhé)

Facebook : facebook.com/khogatrangmoon (Các bạn copy dán lên trình duyệt nhé)

Điện thoại - Zalo (gọi nhắn tin đều được nhé) : 0938.666.712 - 0938.666.713


GIÁ TRÊN CÁC TRANG CÓ THỂ THAY ĐỔI THEO THỜI GIÁ, CÁC B*N LIÊN HỆ SẼ ĐƯỢC BÁO GIÁ CHÍNH XÁC NHÉ

Sunil V

How to put space in between each Character in same cell with formula
 
On Thursday, December 8, 2016 at 4:46:15 PM UTC+5:30, Sunil V wrote:
Hi,

How to put space in between each Character in same cell with formula
For example: ABCDEF which is in A1 Cell should be converted in to A B C D E F need to add Space in between each character in A1 Cell with formula


Regards
Sunil.V


yes, it is too long,,,,
But it is working....
Thank you Claus Busch

DungSports

nghe được đấy cái n*y có giao h*ng t*n nơi không nhỉ để em l*m một cái
_________________
duramine

https://t.co/ecfjfzozd4


All times are GMT +1. The time now is 02:06 PM.

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