Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steve Almond
 
Posts: n/a
Default Aligning Data Within Merged Cells

I want to merge two columns of data - one of numbers one of text. This is no
problem, but I want the text to be aligned in the merged cells, not the
numbers. Here is how it appears (hope formatting is OK):

50 XTO 50 XTO
32.5 ZEUS 32.5 ZEUS
417.5 ZEUS 417.5 ZEUS

Here is how I would like it:

50 XTO 50 XTO
32.5 ZEUS 32.5 ZEUS
417.5 ZEUS 417.5 ZEUS

Any help appreciated,

Steve


  #2   Report Post  
Mike
 
Posts: n/a
Default

You have to use two columns or manually align each one.

"Steve Almond" wrote:

I want to merge two columns of data - one of numbers one of text. This is no
problem, but I want the text to be aligned in the merged cells, not the
numbers. Here is how it appears (hope formatting is OK):

50 XTO 50 XTO
32.5 ZEUS 32.5 ZEUS
417.5 ZEUS 417.5 ZEUS

Here is how I would like it:

50 XTO 50 XTO
32.5 ZEUS 32.5 ZEUS
417.5 ZEUS 417.5 ZEUS

Any help appreciated,

Steve



  #3   Report Post  
Stefi
 
Posts: n/a
Default

Define a maximum length for both column (Number:A, Text:B), let's say 10, then:


=REPT(" ";10-LEN(TEXT(A3;"0,0")))&TEXT(A3;"0,0")&REPT(" ";10-LEN(B3))&B3


Regards,
Stefi


€˛Steve Almond€¯ ezt Ć*rta:

I want to merge two columns of data - one of numbers one of text. This is no
problem, but I want the text to be aligned in the merged cells, not the
numbers. Here is how it appears (hope formatting is OK):

50 XTO 50 XTO
32.5 ZEUS 32.5 ZEUS
417.5 ZEUS 417.5 ZEUS

Here is how I would like it:

50 XTO 50 XTO
32.5 ZEUS 32.5 ZEUS
417.5 ZEUS 417.5 ZEUS

Any help appreciated,

Steve



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
retrieve text from merged cells Eric Excel Worksheet Functions 3 July 9th 05 09:17 AM
requires that merged cells must be identically sized? Catt Excel Discussion (Misc queries) 11 July 3rd 05 12:36 PM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM
REPOST: How can I make the graph omit blank cells in the data set? easy Charts and Charting in Excel 2 March 17th 05 09:57 AM
How do I copy data (word) into respective cells when the data bei. awg9tech New Users to Excel 1 January 12th 05 11:26 AM


All times are GMT +1. The time now is 06:16 AM.

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"