problems while copying and pasting data with the XL2BB-tool,

BSALV

Banned user
Joined
Oct 31, 2010
Messages
1,651
Office Version
  1. 365
  2. 2013
  3. 2007
when i copy the data in from this post Linear interpolation of 2-way array using spill functions, then i get the data like here below.
There are sometimes 2 points in a number, sometimes very thing is multiplied with a factor ?
There is no logic in it.
What is going wrong ? A setting ?
important : i use the comma as decimal separator and the point for the thousands

Map1
ABCDEF
1Bar12345
2
3
4
5
6
7
8
9
10
11
12
13
14x1 [m]-11.15-10.057.881-8.618.945-8.219.738-8.219.738
15x2 [m]-11.149.999-912.788-8.618.944-7.529.737-7.529.737
16x3 [m]-8.618.946-8.618.946-0.500001-5.209.739-5.909.739
17x4 [m]-8.618.945-8.618.945-0.5-4.519.738-5.219.738
18y1 [mm2]00245.436.926.061.70300
19y2 [mm2]15.707.963.267.949245.436.926.061.703245.436.926.061.703785.398.163.397.448785.398.163.397.448
20y3 [mm2]15.707.963.267.949245.436.926.061.703245.436.926.061.703785.398.163.397.448785.398.163.397.448
21y4 [mm2]00245.436.926.061.70300
22
Blad3
 
important : i use the comma as decimal separator and the point for the thousands
Just to say that it is pasting fine for me so I think you may be right that it has something to do with the issue.
Will probably have to wait for @smozgur to have a look at the issue (he is tagged in but will have to wait until he is online obviously).

x1 [m]-11.1500000000-10.0578810000-8.6189450000-8.2197380000-8.2197380000
x2 [m]-11.1499990000-9.1278800000-8.6189440000-7.5297370000-7.5297370000
x3 [m]-8.6189460000-8.6189460000-0.5000010000-5.2097390000-5.9097390000
x4 [m]-8.6189450000-8.6189450000-0.5000000000-4.5197380000-5.2197380000
y1 [mm2]0.00000000000.00000000002454.36926061700.00000000000.0000000000
y2 [mm2]1570.79632679492454.36926061702454.3692606170785.3981633974785.3981633974
y3 [mm2]1570.79632679492454.36926061702454.3692606170785.3981633974785.3981633974
y4 [mm2]0.00000000000.00000000002454.36926061700.00000000000.0000000000
 
Last edited:
the comma and point, that are my regional settings, so i can't change that.
Is there the same problem when i upload something ?
1st column is a double value between 1 and 2 in the numberformat "0.000".
The 2nd column is a double variable >1E12
,
Cell Formulas
RangeFormula
A1:A11A1=1+RAND()/100
B1:B11B1=RANDBETWEEN(1000000000000,10000000000000)+RAND()
 
Is there the same problem when i upload something ?

It copies across ok, but then it will as you have formulas in the cells so it will just recalculate the formulas in the destination sheet
 
When you create a mini-sheet in Excel, it doesn't matter which regional settings are being used. The numbers will be displayed however they are formatted in the current regional setting (comma vs period). Just like below ("comma" is used as the decimal separator in the sample mini-sheet. Move your mouse pointer over the cells, and you will see the value with "period as decimal separator" that will be copied when you click on the copy button).

Book 5.xlsx
ABCDEF
1x1 [m]-11,15-10,05788-8,618945-8,219738-8,219738
2x2 [m]-11,15-9,12788-8,618944-7,529737-7,529737
3x3 [m]-8,618946-8,618946-0,500001-5,209739-5,909739
4x4 [m]-8,618945-8,618945-0,5-4,519738-5,219738
5y1 [mm2]002454,369300
6y2 [mm2]1570,79632454,36932454,3693785,39816785,39816
7y3 [mm2]1570,79632454,36932454,3693785,39816785,39816
8y4 [mm2]002454,369300
Sheet1


1649925510153.png


However, BB2XL (BB2XL: as I call "copy from the mini-sheet to the worksheet") must assume a default decimal separator, and it is "period" in XL2BB. So, no matter what regional settings you used to create the mini-sheet in Excel, it will be displayed as formatted in Excel BUT it will be copied that the decimal separator is "period".

You can see the same behavior in Excel Online. For example:
1- Enter a number in a worksheet in Excel Online, where the decimal separator is "period". I entered 1570.796327
2- Copy this cell and paste it into a worksheet in Excel Windows where the decimal separator is "comma".
3- You will get 1570796327

1649925041636.png

Copy from Excel Online (HTML version - Decimal separator: period)


1649925079572.png

Paste into Excel Windows (Decimal separator: comma)


Right, we usually have some difficulties between the HTML and the Desktop worlds and especially when the user's computer's regional setting is unknown. So, all that can be done is to make it work with a default setting, which is "period is the decimal separator" in this case.

Hope this explains it.
 
It copies across ok, but then it will as you have formulas in the cells so it will just recalculate the formulas in the destination sheet
This is correct by the way (Thanks @MARK858). When it comes to formulas, it just recalculates the result where it is pasted in Excel with the system's regional settings.
 
That's okay concerning the explanation, but how do i correctly import BB2XL into my PC ?
Have to do it like importing a TXT-file ?

I tried copy and paste it the normal way by clicking on the icon, a 2nd time with the Alt-key, a 3rd time by just selecting the values in the screen and then CTRL+C and CTRL+V.
Non of them gave a good result.
 
Last edited:
but how do i correctly import BB2XL into my PC ?
I am really forcing myself to think of a solution for this. :unsure:
Have I thought about this before? Yes, but considering it has been only asked twice in 2.5 years, so, it's not a high priority issue especially also considering the applicability.

I admit that it is not like converting function names to another language, so we use English function names as default obviously, but this is still a complicated issue. I am not promising anything, but I am thinking.
 
I tried copy and paste it the normal way by clicking on the icon, a 2nd time with the Alt-key, a 3rd time by just selecting the values in the screen and then CTRL+C and CTRL+V.
Non of them gave a good result.
No, none of these will work. As I explained, it is designed to work with "period" as the decimal separator.

Please let me think.
 

Forum statistics

Threads
1,214,990
Messages
6,122,626
Members
449,093
Latest member
catterz66

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