Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Right Justifing in Excel

I am wondering how to write a formula to right justify my data within a
column. I cannot use the formatting on the menu or toolbar because when I
save my document to a .txt file, it doesn't preserve the formatting. I am
looking to right justify data in a column that contains numbers (i.e.
10000.05) and numbers and letters combined (i.e. 10000.0p). I need to save my
file as a fixed length record text file. Thanks!
--
J Harris
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default Right Justifing in Excel

I'm not sure I understand the question. When XL data is saved to a .txt
file, only the values, not the formulas that calculate the values, are stored.

Dave
--
Brevity is the soul of wit.


"J Harris" wrote:

I am wondering how to write a formula to right justify my data within a
column. I cannot use the formatting on the menu or toolbar because when I
save my document to a .txt file, it doesn't preserve the formatting. I am
looking to right justify data in a column that contains numbers (i.e.
10000.05) and numbers and letters combined (i.e. 10000.0p). I need to save my
file as a fixed length record text file. Thanks!
--
J Harris

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Right Justifing in Excel

Let's say your value is in cell A1 and you need it to take up 15 characters
in total

=rept(" ", 15-len(A1))&A1


"J Harris" wrote:

I am wondering how to write a formula to right justify my data within a
column. I cannot use the formatting on the menu or toolbar because when I
save my document to a .txt file, it doesn't preserve the formatting. I am
looking to right justify data in a column that contains numbers (i.e.
10000.05) and numbers and letters combined (i.e. 10000.0p). I need to save my
file as a fixed length record text file. Thanks!
--
J Harris

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Right Justifing in Excel

That is exactly what I was looking for. Thanks for the help!
--
J Harris


"Duke Carey" wrote:

Let's say your value is in cell A1 and you need it to take up 15 characters
in total

=rept(" ", 15-len(A1))&A1


"J Harris" wrote:

I am wondering how to write a formula to right justify my data within a
column. I cannot use the formatting on the menu or toolbar because when I
save my document to a .txt file, it doesn't preserve the formatting. I am
looking to right justify data in a column that contains numbers (i.e.
10000.05) and numbers and letters combined (i.e. 10000.0p). I need to save my
file as a fixed length record text file. Thanks!
--
J Harris

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
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Excel docs not saving as excel docs Beth Excel Discussion (Misc queries) 6 September 12th 06 02:39 AM
Open Excel 2003 from Windows Explorer pmpjr Excel Discussion (Misc queries) 9 September 11th 06 03:58 PM
Need suggestions for some uses of Ms Excel Bible John Excel Discussion (Misc queries) 1 February 27th 06 05:30 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM


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