Getting DataFormat.Error on a column with whole numbers and also text

danhendo888

Board Regular
Joined
Jul 15, 2019
Messages
167
Office Version
  1. 365
Platform
  1. Windows
Table1: Among many columns, I have a column with whole numbers and also text.
In PQ, I will do a Merge on the above table with another lookup table (Table2). It seems to work fine in PQ editor since I can expand the new column from Table2.

But when I try to Load To as a pivot table or Table, I get the error: [DataFormat.Error] We couldn't convert to Number.
It seems the error is caused by the column mentioned in Table1.

I'm not sure what I'm missing here. Perhaps there is something I'm overlooking? When doing a Merge on the column from Table1 (with numbers and text), should it only be one data type?
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Nevermind, I fixed it. I just left the data type as is (after importing the tables into PQ) for the columns in question and the appending worked with no errors.
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,021
Members
452,374
Latest member
keccles

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