Excel Power query error. [DataFormat.Error] We couldn't convert to Number

mikekhel1987

New Member
Joined
Nov 6, 2015
Messages
15
Hi Everyone I'm using Excel power query "unpivot other column" to transpose may set of data into a raw data to make it pivotable. I was able to do it on the first file but when I tried doing it again into another file this error occurred
"[DataFormat.Error] We couldn't convert to Number". It's kinda weird that I encountered this error because the 1st that and the 2nd file was identical in its properties and format. I hope someone enlightened me regarding on this. Any help will be greatly appreciated.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Check for any steps that change Data format. These get added automatically. Delete them and then work out what the issue is. Likely a text string in a numeric column, or similar
 
Upvote 0
I just had this problem and found that the file source had some cells with errors. I deleted that and problem solved.
Some steps that I did tried to change the Data format, but because of the error in the source file Power Query sent the "[DataFormat.Error] We couldn't convert to Number" message.
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,217
Members
453,024
Latest member
Wingit77

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