Hi all,
I'm trying to use CONCATENATE for 4 columns.
<TABLE style="WIDTH: 304pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=405 x:str><COLGROUP><COL style="WIDTH: 72pt; mso-width-source: userset; mso-width-alt: 3510" width=96><COL style="WIDTH: 73pt; mso-width-source: userset; mso-width-alt: 3547" width=97><COL style="WIDTH: 78pt; mso-width-source: userset; mso-width-alt: 3803" width=104><COL style="WIDTH: 81pt; mso-width-source: userset; mso-width-alt: 3949" width=108><TBODY><TR style="HEIGHT: 12pt; mso-height-source: userset" height=16><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 72pt; HEIGHT: 12pt; BORDER-TOP: silver 0.5pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl23 height=16 width=96 x:num>17</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 73pt; BORDER-TOP: silver 0.5pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl22 width=97 x:num>2</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 78pt; BORDER-TOP: silver 0.5pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl23 width=104 x:num="3">03</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 81pt; BORDER-TOP: silver 0.5pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl24 width=108 x:num>120</TD></TR><TR style="HEIGHT: 12pt; mso-height-source: userset" height=16><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 72pt; HEIGHT: 12pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 height=16 width=96 x:num>21</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 73pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl22 width=97 x:num>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 78pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 width=104 x:num>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 81pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl24 width=108 x:num>110</TD></TR><TR style="HEIGHT: 12pt; mso-height-source: userset" height=16><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 72pt; HEIGHT: 12pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 height=16 width=96 x:num>42</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 73pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl22 width=97 x:num>6</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 78pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 width=104 x:num="1">01</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 81pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl24 width=108 x:num>110</TD></TR><TR style="HEIGHT: 12pt; mso-height-source: userset" height=16><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 72pt; HEIGHT: 12pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 height=16 width=96 x:num>41</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 73pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl22 width=97 x:num>8</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 78pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 width=104 x:num="1">01</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 81pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl24 width=108 x:num>110</TD></TR><TR style="HEIGHT: 12pt; mso-height-source: userset" height=16><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 72pt; HEIGHT: 12pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 height=16 width=96 x:num>41</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 73pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl22 width=97 x:num>8</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 78pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 width=104 x:num="1">01</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 81pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl24 width=108 x:num>310</TD></TR><TR style="HEIGHT: 12pt; mso-height-source: userset" height=16><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 72pt; HEIGHT: 12pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 height=16 width=96 x:num>41</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 73pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl22 width=97 x:num>8</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 78pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 width=104 x:num="1">01</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 81pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl24 width=108 x:num>311</TD></TR><TR style="HEIGHT: 12pt; mso-height-source: userset" height=16><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 72pt; HEIGHT: 12pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 height=16 width=96 x:num>16</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 73pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl22 width=97 x:num>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 78pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 width=104 x:num>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 81pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl24 width=108 x:num>420</TD></TR></TBODY></TABLE>
The columns are not saved as numbers, but as 0, 00 or 000 (depending on the amount of numbers) (otherwise the 0's will be deleted)
I would like to CONCATENATE this to get;
17|2|03|120
21|0|20|110
42|6|01|110
etc.
But the problem is when I use CONCATENATE it deletes the zero's in front of the single numbers;
17|2|3|120
21|0|20|110
42|6|1|110
Could somebody help me?
Mathijs.
I'm trying to use CONCATENATE for 4 columns.
<TABLE style="WIDTH: 304pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=405 x:str><COLGROUP><COL style="WIDTH: 72pt; mso-width-source: userset; mso-width-alt: 3510" width=96><COL style="WIDTH: 73pt; mso-width-source: userset; mso-width-alt: 3547" width=97><COL style="WIDTH: 78pt; mso-width-source: userset; mso-width-alt: 3803" width=104><COL style="WIDTH: 81pt; mso-width-source: userset; mso-width-alt: 3949" width=108><TBODY><TR style="HEIGHT: 12pt; mso-height-source: userset" height=16><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 72pt; HEIGHT: 12pt; BORDER-TOP: silver 0.5pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl23 height=16 width=96 x:num>17</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 73pt; BORDER-TOP: silver 0.5pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl22 width=97 x:num>2</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 78pt; BORDER-TOP: silver 0.5pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl23 width=104 x:num="3">03</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 81pt; BORDER-TOP: silver 0.5pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl24 width=108 x:num>120</TD></TR><TR style="HEIGHT: 12pt; mso-height-source: userset" height=16><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 72pt; HEIGHT: 12pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 height=16 width=96 x:num>21</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 73pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl22 width=97 x:num>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 78pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 width=104 x:num>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 81pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl24 width=108 x:num>110</TD></TR><TR style="HEIGHT: 12pt; mso-height-source: userset" height=16><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 72pt; HEIGHT: 12pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 height=16 width=96 x:num>42</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 73pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl22 width=97 x:num>6</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 78pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 width=104 x:num="1">01</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 81pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl24 width=108 x:num>110</TD></TR><TR style="HEIGHT: 12pt; mso-height-source: userset" height=16><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 72pt; HEIGHT: 12pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 height=16 width=96 x:num>41</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 73pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl22 width=97 x:num>8</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 78pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 width=104 x:num="1">01</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 81pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl24 width=108 x:num>110</TD></TR><TR style="HEIGHT: 12pt; mso-height-source: userset" height=16><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 72pt; HEIGHT: 12pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 height=16 width=96 x:num>41</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 73pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl22 width=97 x:num>8</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 78pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 width=104 x:num="1">01</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 81pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl24 width=108 x:num>310</TD></TR><TR style="HEIGHT: 12pt; mso-height-source: userset" height=16><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 72pt; HEIGHT: 12pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 height=16 width=96 x:num>41</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 73pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl22 width=97 x:num>8</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 78pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 width=104 x:num="1">01</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 81pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl24 width=108 x:num>311</TD></TR><TR style="HEIGHT: 12pt; mso-height-source: userset" height=16><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 72pt; HEIGHT: 12pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 height=16 width=96 x:num>16</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 73pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl22 width=97 x:num>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 78pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl23 width=104 x:num>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 81pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl24 width=108 x:num>420</TD></TR></TBODY></TABLE>
The columns are not saved as numbers, but as 0, 00 or 000 (depending on the amount of numbers) (otherwise the 0's will be deleted)
I would like to CONCATENATE this to get;
17|2|03|120
21|0|20|110
42|6|01|110
etc.
But the problem is when I use CONCATENATE it deletes the zero's in front of the single numbers;
17|2|3|120
21|0|20|110
42|6|1|110
Could somebody help me?
Mathijs.