LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Combine two cells without losing data cell formats

I need a macro, or a function to combine 2 columns of data into one column
WITHOUT losing the text-justification of each. See below.

what i have: 1st column is left-justified text. 2nd column is
right-justified text.

[john ][ smith]
[sam ][ williams]
[antwane][ carlson]

what i need in each cell, which is no larger than a cell width of 88.14 or
622pixels :

[john smith]
[sam williams]
[antwane carlson]


if i concatenate, i get the below which is not what i need:
[john smith ]
[sam williams ]
[antwane carlson ]


can i put another formula in to justify all last names to the right in one
cell? maybe take the difference between the number of text that can fit into
cell width of 88.14, and the total amount of text from both cells and space
that amount in between the result?? I don't really know...maybe overthinking
it.

Please help
thx!!


 
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
combine cells with different formats Truong Excel Discussion (Misc queries) 2 May 17th 09 06:21 PM
& to combine cells/Keep formats jlclyde Excel Discussion (Misc queries) 1 November 19th 08 08:23 PM
combine data in two cells into a third cell ordnance1 Excel Worksheet Functions 3 September 25th 08 07:49 AM
How to combine 2 cells' data into 1 cell? [email protected] Charts and Charting in Excel 1 October 12th 05 02:54 AM
how can i combine 2 columns in excel into 1 without losing data? sturville Excel Discussion (Misc queries) 4 May 10th 05 04:11 PM


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

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"