Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to export data from excel specific cells into Mathematica? Given that the spreadsheet tab is named XYZ and that I have several cells at various locations in the same column in Excel that I want to export?

share|improve this question
This seems more of an Excel question than a Mathematica question. – m_goldberg Nov 15 '12 at 5:53
I think that this question is absolute valid. This link from Wolfram can help. – Murta Nov 15 '12 at 14:09
up vote 3 down vote accepted

This is verbatim from the docs on XLSX:

Example excel file with two sheets:

 Export["sheets.xlsx", {{"MySheet1" -> {Range[10]}, 
   "MySheet2" -> {{"This is a string."}}}}, {{"Sheets"}}]

To import the cell at row 1, column 4 of MySheet1:

 Import["sheets.xlsx", {"Sheets", "MySheet1", 1, 4}]
 (*  4 *)

Import the second sheet:

 Import["sheets.xlsx", {"Sheets", 2}]
 (* {{"This is a string."}} *)
share|improve this answer
Thanks @ kguler – sebastian c. Oct 25 '12 at 23:01
@sebastian, my pleasure. Welcome to – kglr Oct 25 '12 at 23:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.