Filling table with data, numbers don't come across correctly?

Lil2606

Board Regular
Joined
Jan 29, 2019
Messages
79
Hi all, sorry I may not managed to correctly phrase my initial question...

I have a Source Table with several columns (and hundreds of rows) from which "Code" and "Identifier" are causing troubles. In "Code" there is always a 2 digit number. (00, 01, 02 etc.) in "Identifier" there is always a 5 digit number (00000, 00001, 00002 etc.) and in my new table I'm supposed to have a "Product ID" put together from the "Code-Identifier" (00-00001, 01-00002 etc.)

I tried:

Code:
[COLOR=#333333][IMG]http://icons.iconarchive.com/icons/double-j-design/ravenna-3d/24/File-Copy-icon.png[/IMG]
<code style="margin: 0px; padding: 0px; font-style: inherit; font-weight: inherit; line-height: 12px;">Join(Array(SourceTable.ListRows(i).Range(1, SourceTable.ListColumns("Code").Index).Value, SourceTable.ListRows(i).Range(1, SourceTable.ListColumns("Identifier").Index).Value), "-")</code>[/COLOR]

but I get all sorts of numbers except for the ones in the SourceTable, eventough the format seems right. The SourceTable has a custom number formatting applied to display the zeros and such.. is that the problem?

Please help!

Posted on ExcelForum as well link:
https://www.excelforum.com/excel-pr...s-dont-come-across-correctly.html#post5126733
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top