Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
L/P
 
Posts: n/a
Default text and formula justify??


I know how to add text to a formula but not sure how/if I can get the
results to right justify while keeping the text left justified.

Ex.

="Total:" &C10+D10+E10

Would like Total: to stay on left of cell and have results on right
formatted as currency.

Total: $4567.87

Can I "split" a single cell?


Thanks,

L.



  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

Change your formula to

=C10+D10+E10

and choose Format/Cells/Number/Custom

"Text:"* General

Note: The space between * and General is critical. You can replace
General with another number format.

Note 2: This will convert your value from Text to a Number, and formulas
won't see the "Text:" part.

In article ,
"L/P" wrote:

I know how to add text to a formula but not sure how/if I can get the
results to right justify while keeping the text left justified.

Ex.

="Total:" &C10+D10+E10

Would like Total: to stay on left of cell and have results on right
formatted as currency.

Total: $4567.87

Can I "split" a single cell?


Thanks,

L.

  #3   Report Post  
L/P
 
Posts: n/a
Default

problem.
I tried to change General with Currency to get proper format and it won't
take, unless there is something I'm missing.

suggestions please..
L.


"JE McGimpsey" wrote in message
...
One way:

Change your formula to

=C10+D10+E10

and choose Format/Cells/Number/Custom

"Text:"* General

Note: The space between * and General is critical. You can replace
General with another number format.

Note 2: This will convert your value from Text to a Number, and formulas
won't see the "Text:" part.

In article ,
"L/P" wrote:

I know how to add text to a formula but not sure how/if I can get the
results to right justify while keeping the text left justified.

Ex.

="Total:" &C10+D10+E10

Would like Total: to stay on left of cell and have results on right
formatted as currency.

Total: $4567.87

Can I "split" a single cell?


Thanks,

L.



  #4   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Try Format/Cells/Number/Custom

"Total:"* $#,##0.00



In article ,
"L/P" wrote:

problem.
I tried to change General with Currency to get proper format and it won't
take, unless there is something I'm missing.

suggestions please..
L.

  #5   Report Post  
L/P
 
Posts: n/a
Default

That worked except when I go over $9,999.99 it throw the right-sided 9 past
cell line on right.
IOW- the $ does not float to the left,
and the "," is not showing/printing.. Ex: $9999.99 (no biggy).

I don't mean to be "picky", I'm trying to learn how to format.
Should I just play with it(format/formula) or is there an easier way?

Thanks,
L.


"JE McGimpsey" wrote in message
...
Try Format/Cells/Number/Custom

"Total:"* $#,##0.00



In article ,
"L/P" wrote:

problem.
I tried to change General with Currency to get proper format and it

won't
take, unless there is something I'm missing.

suggestions please..
L.





  #6   Report Post  
JE McGimpsey
 
Posts: n/a
Default

The regular Currency format by default doesn't have the $ floating to
the left. However, you can make it float if you put the "* " to the
right of the $:

Format/Cells/Number/Custom "Total:"$* #,##0.00


If the formatted text doesn't fit, try widening the column.

Try playing with the format, and look at the "About custom number
formats" topic in XL Help.


In article ,
"L/P" wrote:

That worked except when I go over $9,999.99 it throw the right-sided 9 past
cell line on right.
IOW- the $ does not float to the left,
and the "," is not showing/printing.. Ex: $9999.99 (no biggy).

I don't mean to be "picky", I'm trying to learn how to format.
Should I just play with it(format/formula) or is there an easier way?

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
Concatenation formula loses text wrap formatting DFM Excel Discussion (Misc queries) 5 December 27th 04 01:45 PM
formula is displaying as text rather than result. Jamie Excel Worksheet Functions 2 December 13th 04 05:33 PM
Formula in text boxes Will Fleenor Excel Worksheet Functions 6 December 9th 04 10:46 PM
match cell text with text in formula Todd L. Excel Worksheet Functions 3 December 9th 04 08:11 PM
Logical Text Formula Jim Excel Worksheet Functions 2 December 6th 04 10:37 PM


All times are GMT +1. The time now is 05:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"