Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sorry not sure if subject title is clear.
I need to have only 15 characters in a cell. If the characters in a cell are less than 15.. i need there to be spaces after the characters to make up 15 in total. Does this make sense ? can it be done ? Thanks Mel |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Assuming that column A contains all the information you can create
column B as per your mail by using the following fomula in cell B1 and copying it subsequent rows =IF(LEN(A1)<15,A1&REPT(" ",15-LEN(A1)),LEFT(A1,15)) On Jan 11, 5:57*am, Melissa wrote: Sorry not sure if subject title is clear. I need to have only 15 characters in a cell. If the characters in a cell are less than 15.. i need there to be spaces after the characters to make up 15 in total. Does this make sense ? can it be done ? Thanks Mel |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks for the quick reply.
How do i check that it has worked. It is showing the result in a new cell but how do i turn it from a formula to just characters "Ag" wrote: Assuming that column A contains all the information you can create column B as per your mail by using the following fomula in cell B1 and copying it subsequent rows =IF(LEN(A1)<15,A1&REPT(" ",15-LEN(A1)),LEFT(A1,15)) On Jan 11, 5:57 am, Melissa wrote: Sorry not sure if subject title is clear. I need to have only 15 characters in a cell. If the characters in a cell are less than 15.. i need there to be spaces after the characters to make up 15 in total. Does this make sense ? can it be done ? Thanks Mel |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I just figured it out !! thanks !!!!!
"Melissa" wrote: Thanks for the quick reply. How do i check that it has worked. It is showing the result in a new cell but how do i turn it from a formula to just characters "Ag" wrote: Assuming that column A contains all the information you can create column B as per your mail by using the following fomula in cell B1 and copying it subsequent rows =IF(LEN(A1)<15,A1&REPT(" ",15-LEN(A1)),LEFT(A1,15)) On Jan 11, 5:57 am, Melissa wrote: Sorry not sure if subject title is clear. I need to have only 15 characters in a cell. If the characters in a cell are less than 15.. i need there to be spaces after the characters to make up 15 in total. Does this make sense ? can it be done ? Thanks Mel |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Can you use a formula in another cell?
=left(a1&rept(" ",15),15) This will truncate the value in A1 if the length is greater than 15, too. Melissa wrote: Sorry not sure if subject title is clear. I need to have only 15 characters in a cell. If the characters in a cell are less than 15.. i need there to be spaces after the characters to make up 15 in total. Does this make sense ? can it be done ? Thanks Mel -- Dave Peterson |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank you so much !! worked perfectly ! saved me hours (days) of work .. (
19000 x 3 cells) "Dave Peterson" wrote: Can you use a formula in another cell? =left(a1&rept(" ",15),15) This will truncate the value in A1 if the length is greater than 15, too. Melissa wrote: Sorry not sure if subject title is clear. I need to have only 15 characters in a cell. If the characters in a cell are less than 15.. i need there to be spaces after the characters to make up 15 in total. Does this make sense ? can it be done ? Thanks Mel -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Limiting cell size to 25 characters | Excel Discussion (Misc queries) | |||
limiting characters in a cell by formula | Excel Discussion (Misc queries) | |||
Limiting the number of characters in a cell. How? | Excel Discussion (Misc queries) | |||
limiting or deleting extra characters in a cell | Excel Discussion (Misc queries) | |||
Limiting characters in a cell | Excel Worksheet Functions |