Prev Previous Post   Next Post Next
  #13   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld
 
Posts: n/a
Default Concatenate

On Fri, 24 Mar 2006 08:41:33 -0600, Max_power
wrote:


I'm sorry I see where it is now that I'm going wrong. Two of the columns
that I'm concatenating are text columns. The first formula works perfect
with one text and one integer. Can I make excel read one of the text
columns as an integer?

Thanks



On my worksheet, the formula works whether the second column is a number
formatted as a number, or a number formatted as text.

Try this formula instead:

=CONCATENATE(A1,REPT(" ",22-LEN(A1)-LEN(B1)),B1)

1. Change the 22 to whatever is necessary so that it is greater than the
maximum sum of the lengths of strings in A1 & B1).

2. USE a fixed pitch font (e.g. Courier, or Courier New, or Lucida Sans
Typewriter or ...


--ron
 
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
Tough Concatenate Problem BCBC Excel Worksheet Functions 3 February 16th 06 10:13 AM
Concatenate Jeff Excel Discussion (Misc queries) 4 October 5th 05 04:39 PM
Using Concatenate inside a vlookup bmclean Excel Worksheet Functions 3 July 5th 05 09:29 PM
Match and Concatenate ?? carl Excel Worksheet Functions 4 June 22nd 05 01:55 PM
Concatenate cells without specifying/writing cell address individually Hari Excel Discussion (Misc queries) 4 January 3rd 05 06:05 PM


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