Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dave O
 
Posts: n/a
Default

Hi, Sarah-
Here's one way: using your "Smith" example in a field that must be 40
characters long, enter the name Smith into cell A1. In cell B1 type
this formula:
=A1&REPT(" ",40-LEN(A1))

This formula determines the length of the name in A1, subtracts that
number from 40, then adds that number of spaces to the name in A1.

You can copy that formula and Paste As values to convert the results
into text.

Dave O

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
Export to fixed width text file FinChase Excel Discussion (Misc queries) 0 January 24th 05 07:25 PM
Column Width Behavior Kirk P. Excel Discussion (Misc queries) 1 January 11th 05 06:35 PM
Putting text in a column based on variable text from another colum Jacky D. Excel Discussion (Misc queries) 1 December 16th 04 06:09 PM
Counting every unique text string in a column doctor rick Excel Worksheet Functions 2 December 15th 04 07:36 AM
Change the width of a single column in a column chart Dave Charts and Charting in Excel 2 December 13th 04 07:25 PM


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

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"