View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default Concatenation with Fixed column widths

For numeric fields like column E, use the TEXT function like this:

=TEXT(E23,"000000")

this will give you 6 characters, with leading zeroes as necessary.

Hope this helps.

Pete

On Feb 20, 3:28 pm, BEEJAY wrote:
Excel 2003: SP2
Greetings: Gleaned info from this ng, but having trouble making it work.

Data in C: Description Column
Data in D: Unit of Measure Column: Fixed width of 10 required
Data in E: QTY Column: Fixed width of 6 required

Concatenated result should be: D & E & C
=LEFT(D23&REPT(" ",10),10) 'This work great.

=LEFT(D23&REPT(" ",10),10) & LEFT(E23&REPT(" ",6),6)
This returns as "Value"

Then I still also need to "add" column C.
Help, please