Import CSV in Excel 2016 without PowerQuery - excel

I have used Excel for many years, but this PowerQuery is not helpfull in my day to day work. It lays on to much functionality not needed. I.E Automatic formating, connection to CSV file etc. It also have problems with decimal convertions.
In Excel 2013 I select Data - From text and i get a Text Import Wizard.
But in 2016/365 I automatical get PowerQuery with wrong converts of numbers 7,87 (desimal sign is comma) - and values is handled as text.
Is there any option to turn of use of PowerQuery, and get back to Text Import Wizard instead?

Yes, it is possible! The following is from professor-excel.com:
Go to File
Go to Options
Go to Data
Check all required legacy wizards, as shown in the image below.
The legacy wizard is now available under the tab Data --> GetData.
Changing the Excel settings:
Now the old text import wizard is available:

Related

Is there a way to retain the phone numbers with + sign format when exporting to Excel/CSV

I noticed that anytime I export from somewhere like Salesforce where the Phone = +123124141.
The data in Excel will just become =123124141 or #NAME? or some other Error spouted from Excel.
This makes data patch extremely painful and manual. Any ideas how to get around this?
When you create the file, use a different extension than .csv or .txt (these ones are interpreted by EXCEL as a green light to interpret columns as numeric/date, etc and format accordingly. Use .DAT, for example. When you open it from within EXCEL it will invoke the text import wizard, and there you should choose comma separated (or tab separated, etc, as the case maybe), and on the final screen of the wizard, choose the columns you don't want reformatted (you can choose all of them, if you like), and choose Text. Now the column values will be kept intact.
Alternatively you can first create a blank workbook/sheet, and use Data From Text to invoke the Wizard and bring the data in the same way.
If you don't want EXCEL to launch and open when you double-click on a .CSV file, without asking questions, you can remove the file-association (of CSV with EXCEL) using Windows explorer.
It is reasonably easy to develop a VBA macro to import such delimited files using 'TEXT' data types to automate what the Wizard would do.

Currency in CSV is formatted as Date in Excel

I am saving currencies (decimal values) in my CSV file that the customer wants to open in Excel. However, Excel formats those currency values to dates, if the range allows to (day <= 31, ...).
I found many hacks, that kind of get around it, but none that meets all of the following 3 requirements:
Should work with American and German settings (comma vs. decimal point)
Sums over those columns should be possible
Amounts smaller than 31.12€ should be possible
Things I have tried:
use "=""04.06"
use '04.06
use 04.06\t
Thanks for your help.
I am using NodeJS to automatically generate the csv files on click of a button.
Here is a sample CSV File (I don't know how to upload it here as file):
Passenger Number;Name;Birth Date;Int. Fares;Int. Taxes;Dom. Fares;Dom. Taxes
ARB1234;Max/Meister;12.04.2001;4.03;2.06;3;110
The most stable solution for this problem is to Import the file. If you Open the file, Excel makes a bunch of assumptions that may be incorrect (as you have noted). If you Import the file, you can intervene and declare, for example, the delimiter (semi-colon in this case); the date format (I used MDY but DMY could be used instead) and which column you want formatted as a date; and even the decimal and digit separators.
The manner in which to call the Import varies in different versions of Excel. I show below the method for 2016. From Text/CSV may open Get & Transform with an opportunity to select the file. Or, if you prefer the Legacy wizards, those can be made accessible under the Get Data tab.
The legacy method opens the Text Import Wizard. The more recent method allows you to set up a refreshable data connection to the file, and may be preferable for your end-user, as he will not have to fill in the options each time.

How to prevent excel from truncating numbers in a CSV file?

The first few lines of my CSV file look like this (when viewed from Notepad++):
Trace,Original Serial Number,New Serial number
0000073800000000097612345678901234567890,0054,0001
When I open this file in excel, I get this:
For some reason, excel is truncating the serial numbers and the trace number. I have tried changing the format to Text but that still doesn't work, as excel only sees the value up to the 6:
7.38000000000976E+34
If I change it to Number:
73800000000097600000000000000000000.00
What can I do? I only have 60 lines, so if I have to start over and some how recopy the text into excel I will, but I'm afraid saving it will change the format once again.
You shouldn't need to start over or alter the existing CSV. The fastest way might be to use Excel's text import wizard. In the data tab under Get External Data click From Text and select your CSV file.
The wizard that appears will let you tell Excel the data type of each "column" and you can tell it to use text for your barcode.
Excel is trying to "help" you by formatting the input values. To avoid this, do not double-click the file to open it. Instead, open the Data tab and in the Get External Data section, click on From Text
Then tell the Import Wizard that the fields are Text:
One solution that may work for you depending on the environment you consume the csv, you can add a nonnumeric character to the beginning and end (e.g. a "_") of the values. This will force Excel to recognize it as text. You can then remove the "_"s in your downstream environment (SQL, Databricks, etc.) or even keep them if they don't interfere with your reporting.

How to import variable columns into fixed columns in Excel 2007

I have a text file that has the variable columns.
I need to convert the variable columns to fixed columns in Excel 2007 (or Access Database 2007 - whichever works better? or however better anywhere!).
How do?
Thanks!
Holly
From the Data tab, touch From Text in the Get external data group.
This will invoke the Import Wizard to allow you to pick the file............You can tell the Wizard to use the tilde as the separator.

Specify Excel 'Display Format' while importing data

I'm currently using an excel document as a template for generating a report. This is done by first specifying an 'Xml Map' in Excel and then importing data against it. The report generation works fine.
The problem is that I want the display format on the cell to be 'General' and not 'Text' after the import. I came across this link (yes, Excel 2007)
http://office.microsoft.com/en-gb/excel-help/xml-schema-definition-xsd-data-type-support-HP010206414.aspx#BMxsdexport
The link specifies that Excel will set string data from the xml import to display as 'Text' by default. I need this to be displayed as 'General' instead. Is there a way to do this?
The only solution I've come up with so far is to use a macro to change the display format after opening the document but if I can do it using only Excel settings it would be better.
Try to use the text import feature: http://office.microsoft.com/en-us/excel-help/text-import-wizard-HP010102244.aspx
NOTE: the important step that should address your need is the "Column data format" section, which often gets overlooked as it is the last step of the import. I hope that helps.
The mapping cannot be changed.
http://social.technet.microsoft.com/Forums/en-US/fdf99171-0a53-4716-9e72-25afc36ddf90/specify-excel-display-format-while-importing-data

Resources