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
0
votes
0answers
47 views

How export a list to Excel [closed]

I would like to know how I can add the following list with the title (RMSp) and counting numbers to an Excel sheet (fig below). Please note that the length of the list might change. In fact, it should ...
0
votes
1answer
18 views

Issue with transferring list with different length to excel

I have two lists with different lengths and would like to transfer them to excel with the titles "Normalx+" and "Normaly+" respectively. I am using the following script, although ...
2
votes
1answer
63 views

Exporting Data to Excel, (specific sheet, and specific starting cell)

I have this code, which works properly: (I know you do not have the excess to my file mydata.xlsx, but that is not a problem, I believe. ...
6
votes
2answers
939 views

CSV vs XLS for import

I need to import data from various database sources. At the moment I plan on importing files via a CSV file or XLS. All the data if in XLS would be on one sheet (notebook). Are there any advantages ...
1
vote
2answers
100 views

How to Export my results to an excel sheet

I have a nonlinear equation in single variable( $x \tan(x)=5$ ) and it have an infinite number of roots , I got some of them and I want to add them in a table this is my code please, tell me how to do ...
1
vote
0answers
24 views

How to perform linear extrapolation on scatter plot?

I have five sets of data and I want to see the behavior as the data goes to 0. This is my code so far: ...
8
votes
1answer
240 views

Mathematica and Excel

I have a number of large data sets in Excel and .dat from OMEdit Modelica that then need to import some or all of it to Mathematica for manipulation and plotting. Importing the data is easy enough ...
5
votes
2answers
157 views

Code to emulate what excel does in cells

I would like to generate a code which emulate the calculations that are being perfom in columns A and B and row 7 to 12 in the attached first image. The results of those calculations are those shown ...
0
votes
2answers
2k views

Importing a named range of cells from Excel

I have a macro (is that what you call it?) set up in Mathematica and it runs fine. What I want to do now is set up my notebook to look through an Excel document (.xlsx) and pick out a certain set of ...
0
votes
0answers
30 views

Importing Excel Files and Extracting Parts of the Dataset

I'm trying to import two Excel files that have multiple sheets to Mathematica using the following code: ...
0
votes
0answers
20 views

Exporting column data to a specific column and row range

When importing from an Excel file for the data contained in column 3 and rows 2 through 58, for example, one can use the following command: ...
2
votes
4answers
112 views
1
vote
0answers
86 views

How do I use Mathematica computation of special functions in Microsoft Excel computation?

I have a model equation which I find somehow easier to compute with some experimental data in Microsoft Excel. I had an initial model which is basically a Bessel function. In Mathematica, I was able ...
1
vote
0answers
53 views

Preserving mathematica formatting when exporting to Excel [closed]

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
39 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 <...
1
vote
2answers
165 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 ...
2
votes
0answers
49 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
42 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 ...
1
vote
1answer
110 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... ...
3
votes
1answer
275 views
1
vote
1answer
79 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 ...
3
votes
1answer
197 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 ...
2
votes
1answer
93 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
125 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
97 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 ...
6
votes
2answers
3k views

Exporting interpolating functions to excel

I have a question about exporting an InterpolatingFunction to Excel. I checked the forum, but I still couldn't completely understand how to solve my problem. Could ...
1
vote
1answer
245 views

How to plot cumulative stock return using Excel data?

I have an Excel file with daily prices and returns of a number of stocks. I need to plot a cumulative return for each stock. How can i do this, using Excel data, ...
0
votes
1answer
144 views

Package to read in data from excel files

I want make a package to add a function to Mathematica that reads all excel files is the working directory that is set after the package is loaded. ...
2
votes
2answers
255 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 ...
18
votes
2answers
930 views

Formatting Excel Borders with .Net

I have various tables generated in a Mathematica application and need to export this to MSExcel formatted in a specific way. The ...
4
votes
4answers
579 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
333 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 ...
0
votes
1answer
617 views

Sort Excel File Natural Order

Preferable without reading and then rewriting an excel(vs the COMLink) file how might I sort an excel file by Natural Order based on a column? This question is similar although probably not as ...
2
votes
0answers
76 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
176 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
78 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 ?
0
votes
2answers
131 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 ...
0
votes
2answers
430 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. ...
3
votes
2answers
1k 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 ...
2
votes
1answer
70 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
83 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
406 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/...
1
vote
2answers
127 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
207 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
47 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
1answer
107 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: ...
0
votes
2answers
88 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 ...
4
votes
1answer
773 views

how can i associate the headings of columns/rows with content of itself and then recall what i want after i've imported the excel file in mathematica

Hello, i make another try... I have to import a file like this below (it is an excel file, i show you just the beginnig. it should have thousend of rows and columns). After i've imported the file i ...
5
votes
2answers
1k views

Importing numbers from Excel

I guess my problem is very simple but I could not find the solution by searching it. I have a column in excel sheet (Sheet1 in Book1.xlsx) including student numbers as the following. ...
0
votes
1answer
87 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 ...