Append Query

Dokat

Active Member
Joined
Jan 19, 2015
Messages
304
Office Version
  1. 365
Hi,

When i try to append 2 tables in Excel it deletes some of the values and give below error message. Can anyone help?

DataFormat.Error: We couldn't convert to Number.
Details:
10002324A


Thank you
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Well it looks like what ever you are trying to convert is not a number. Make sure there are no spaces, no currency indicators, no commas etc
 
Upvote 0
There are no spaces commas ie however some numbers end with a letter and i cant change that. Is there a way around it?

Thanks
 
Upvote 0
Well there is no way to turn 1234A into a number, because it is not a number. If you had 1234A, what number would you expect? Are you expecting 1234?

You could do a "Replace Values" and replace the character A with 'nothing' and that would work. Trouble is you would have to do this step once for every character that could possible appear in the column. There may be another way, but I don't know of it.
 
Upvote 0
In Power Query you can remove the "Changed Type" steps before the append, so the query looks like:
Code:
let
    Source1 = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    Source2 = Excel.CurrentWorkbook(){[Name="Table2"]}[Content],
    #"Appended Query" = Table.Combine({Source1, Source2})
in
    #"Appended Query"
 
Upvote 0

Forum statistics

Threads
1,216,756
Messages
6,132,533
Members
449,733
Latest member
Nameless_

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