Questions tagged [excel]

For questions about importing from or exporting to Microsoft Excel sheets, and interfacing to Microsoft Excel using COM or other methods.

Filter by
Sorted by
Tagged with
1
vote
0answers
46 views

Preserving mathematica formatting when exporting to Excel

I have a list: lis = {{"a", "b", "c"}, {"d", "e", "f"}, {"g", "h", "c"}} I would like to format the list such that whenever "c" occurs as the last element in a ...
0
votes
0answers
30 views

How to use Headers after imported them?

I read this post here, and played a bit with the Import function, so I now have my data imported from xlsx file, which say is a <...
2
votes
0answers
43 views

Exporting to Excel using Excel Link

I often export results from Mathematica to Excel. Then I have an auxiliary xlsm that formats the export file for me. Would Excel Link allow me to export data to Excel and to format it? The ...
0
votes
1answer
29 views

Export to CSV gives unformatted output and unexpected characters

I want to export data I collected in a Table to a CSV (or XLSX)-File. However, the output is not very handy, it is not in a column-shape but surrounded by {} and in ...
0
votes
2answers
114 views

Properly Exporting Data to Excel

I have been looking at wind speed data from various locations. And I'd like to export this to excel. That part works. But the data are difficult to work with in excel. This is what the raw export ...
1
vote
1answer
98 views

ExcelLink stop working after Windows 10 update

After Windows Update KB4508433 & KB4512508, ExcelLink stop to work. If I uninstall these updates, it work again, but windows return to install them... ...
1
vote
1answer
61 views

Interpolating data from Excel

Sorry for the probably mainstream question, but I have not found the answer I was looking for yet. I have this Excel file: https://drive.google.com/file/d/1UhkYdoaqXQIsf6opOx-EBgG7xPxxHga3/view and I ...
2
votes
1answer
75 views

How to import a part of an Excel file?

I'm trying to import a part of an excel, the column 20 and the row between 6-59 in this column. I tried : tab = Import[ "file.xlsx"]; time = tab[[20, 6 ;; 59]] ...
1
vote
1answer
115 views

How do I create multiple plots from an Excel spreadsheet?

I have imported an Excel spreadsheet with dimensions {row, col}= {92, 28} into Mathematica, I want to plot 27 datasets from the spreadsheet: column 1 with column 2, column 1 with column 3, ..., column ...
1
vote
1answer
60 views

How to import XLSX data as integers?

I am importing simple 0s and 1s array from Excel myDep = Import[ FileNameJoin[{NotebookDirectory[], "dependencies.xlsx"}], {"Sheets", "Data"}] All good ...
2
votes
2answers
175 views

Importing Excel File as Dataset

This might be a basic question but I couldn't get it to work. I have a dataset in Excel that I import to mathematica using ...
4
votes
4answers
558 views

How can I replace ; with , in an imported excel file and to delete "

I want to import an excel .csv file and ListPlot the data. ...
3
votes
2answers
220 views

Importing an Excel file as a structured dataset

I need to import an Excel file as a dataset with row and column headers, and the following option using "Dataset" does not work. However, I can import the Excel file using "Data" option as a list ...
2
votes
0answers
72 views

Excel file reference disappears after `Import`; how to avoid this?

EDIT An excel file reference in a formula like =[source.xlsx]Sheet1!A1 will be replaced by [1]Sheet1!A1 after 'Import'. How do ...
9
votes
2answers
163 views

Problem with Excel operation in NETLink way

I'm using the NETLink package to build a Excel file and trying to fill it with some data as this: ...
3
votes
1answer
77 views

Excel to Mathematica and plot [closed]

I have an csv file that I open with excel. In it 2 columns of numbers. I'd like to import it to mathematica and plot it. How can I do ?
2
votes
2answers
665 views

Import data from Excel and plot in Mathematica

I'm trying to Plot data in Mathematica that I upload from Excel. The Excel file has 5 columns. The first column I would like to be the x-values, and the remaining ...
0
votes
2answers
101 views

Plotting Imported Excel Data With Specific Format into Mathematica 3-Dimensionally

EXCEL SPREADSHEET I have an Excel spreadsheet (link to it and its image given) that contains data I want to graph three dimensionally. Purple is for the x-axis values (wavelength). Blue is for the ...
2
votes
1answer
67 views

Format FinancialData into MS Excel. How can I curate the data before exporting it?

My goal is to curate the following data before I export it as a CSV to open in Excel. I have downloaded financial data for more than one asset, like the following: ...
1
vote
1answer
80 views

Drawing a surface using an Excel file

I’m totally new to Mathlab. I have the following ‘grid data’ to be read from ‘Office Excel’ that I need them to be drawn as a surface in the Mathematica or Mathlab. I’ve done this with the ‘Surface’ ...
1
vote
2answers
117 views

Embedded data in a notebook

I'm looking for a method to store data which have been exported from an Excel sheet in my notebook. This enables my notenook to be indepent from the Excel sheet once the data have been imported. In ...
0
votes
2answers
192 views

Prepare a dataset in Excel then import to Mathematica

I need to prepare a dataset, which will be much easier using e.g. Excel. Then I want to import and use it in Mathematica. One row in the dataset would look like this in Mathematica: ...
1
vote
1answer
46 views

Looping and find the minimum of a function and get data in excel sheet

I have written a code. I want to change y from (*10^-4 to 10^-6) and want to find the corresponding minimum and then need to export the value of y and corresponding minimum in an excel sheet. I know ...
0
votes
2answers
65 views

Labeling a list plot came from excel data set

I have made a list plot for an excel data set and I got the graph. However, I need to label each graph by its name that is already in the first cell of each column. I have 647 rows and 21 columns, but ...
0
votes
1answer
87 views

Data from Excel does not show up in Bar Chart

I am trying to create a bar chart using data imported from Excel. This is how my excel file looks like. I created the following function: ...
1
vote
2answers
345 views

How can I detect and delete any row with a NULL value when importing from Excel?

I'm attempting to do a code for Wolfram Mathematica I am uploading an Excel file that has a huge number of characters and multiple sheets to enter. The issue is the import is set up as a table/...
0
votes
0answers
78 views
2
votes
0answers
77 views

Apply a classifier to a column in excel and export side by side result? [closed]

I'm relatively new to using Mathematica, and I was able to create a Classifier from a training set of about 3,000 pairs of non-numerical text strings. I have my test set of about 20,000 records in an ...
0
votes
2answers
385 views

Creating a plot using data imported from Excel

I am trying to create plots starting from values that I have in an Excel spreadsheet. The values of interest are contained in three rows, which I will call 1, 2, and 3 for the sake of this discourse. ...
0
votes
1answer
83 views

merge some elements into one in a list

I hava a list just like list = {{a1}, {a2}, {a31,a32,a33}, {a41,a42}} I want to save it to excel, but it will in different column ...
1
vote
0answers
329 views

What could be wrong when using Import for an XLSX?

I am using MMA 11.2.0.0 on Win7X64. Import["combined_analysis.xlsx", {"sheet1"}] Import::noelem: The Import element "sheet1" is not present when importing as ...
5
votes
3answers
143 views

Help with fitting given data through an exponential function

I am trying to fit some data through the Mathematica function FindFit, however I encounter the errror: FindFit::fmgz: ...
0
votes
0answers
117 views

Import element from large excel file

I am trying to import some rows and columns from a large excel file, but I get this error There was insufficient Java heap space for the operation. Try increasing the Java Virtual Machine heap ...
0
votes
0answers
117 views

Run Mathematica notebook using VBA

I want to run mathematica notebook using excel vba, can someone help me with a sample code?
1
vote
0answers
147 views

Convert data from excel to a list [closed]

I have imported a set of rows from a column of an Excel sheet as follows: ...
1
vote
1answer
301 views

Exporting weather data as CSV or XLS file

I am relatively new to mathematica, and sorry if this question is too simple. I am trying to export weatherdata to a csv or xls file. ...
1
vote
3answers
1k views

Specific data import from Excel

I guess this is really mundane question, but I can't find the answer anywhere. Having a rather complicated Excel that came from testing centre, I need to import specific data into Mathematica for ...
1
vote
1answer
120 views

How I can import correctly a xls sheet?

I have one excel file with a sheet "OK". I need to import the file, i tried: ...
-4
votes
1answer
636 views

How can I export my output to excel? [closed]

so after you all helped me a lot, I got now this code: ...
2
votes
2answers
196 views

Hard time creating arrays with For/Do

So far this code Prints just a sequence of numbers, as you can see in the "Print"-Line. I would like to export the results in one excel sheet, which has rows "b,l,m,d,p,best n, value" and in each ...
3
votes
1answer
156 views

Problem with Excel export with specific hyperlink

Bug introduced in 8 or earlier and persisting through 12.0 Exporting Hyperlink[] to XLSX works usually just fine, but with this particular link ...
0
votes
1answer
331 views

Import CSV spreadsheet slow

...
1
vote
1answer
204 views

Plot from Excel sheet, 2 Columns, 1 of those columns with 2 categories

I have the following Excel csv sheet: It tells if an university is Public or Private, then how in debt they are in USD. Control is only 1 or 2, (1 = Public, 2 = Private). I want to make an statistic ...
2
votes
2answers
148 views

Create a hyperlink in an array to be exported as Excel file

I want to create an Excel file with some data and hyperlinks to a file. The goal is that in the end you can click in Excel the link and the file opens. The Excel file is to be exported from ...
0
votes
2answers
50 views

How to generate a list of datas from a table with more y-values

I try to create a list of data on which I can perfrom a function. But I have problems in getting the data from my Excel sheet. My Excel sheet looks like this: ...
0
votes
0answers
48 views

Merging Excel workbooks into a single workbook using Mathematica (Redux)

In reference to: "Merging Excel workbooks into a single workbook using Mathematica" the only solution that has worked for me so far is: `setDir:=Quiet@Check[SetDirectory@DirectoryName@$InputFileName, ...
1
vote
0answers
130 views

Merging Excel workbooks into a single workbook using Mathematica

I have several Excel workbooks (in *.xlsx format) that I wish to merge into a single new workbook. The data in the workbooks have exactly the same format; they contain tables similar to this one: I'...
0
votes
1answer
1k views

how can i plot this data from excel file?

in this link i have two excel file that i want to plot them simultaneously but i can not do it. i want to draw files in one graph. i importing data by use of: ...
4
votes
2answers
303 views

Using a Mathematica function in Excel

I'm trying to use the FinancialDerivative function in Excel and can't seem to get the formula to work, even without using cell references for the inputs. In a ...
1
vote
1answer
776 views

List export to Excel

I want to export a nested list to Excel. However when I try to do that every column in my list gets exported to a different sheet. I used {} already in the Export statement to combine all colums and ...