フィルターのクリア

When using the import tool to import data from an excel file, how do I convert the spreadsheet dates to datenumbers?

4 ビュー (過去 30 日間)

採用された回答

Umakant
Umakant 2014 年 9 月 29 日
To convert dates from spreadsheets to Date Number add a new rule for converting dates to Date Number. To add this rule:
1) Select “Convert” from drop down list in middle of the import window then Spreadsheets dates to->datenum from next dropdown lists.
2) Click “Import Selection” button this will import the selected data to the workspace in Date Numbers.
Please refer to following link for information on importing spreadsheet data:
  1 件のコメント
Rasmus
Rasmus 2014 年 10 月 2 日
Thank you for the quick answer, however I am not able to add a new rule for converting data in the drop down menu. How do I do that?

サインインしてコメントする。

その他の回答 (2 件)

Joseph Cheng
Joseph Cheng 2014 年 9 月 29 日
編集済み: Joseph Cheng 2014 年 9 月 29 日
you'll have to have the rules for the "unimportable Cells" portion to have:
  • Convert Spreadsheet dates to datenum
  • exclude rows with unimportable cells

Sean de Wolski
Sean de Wolski 2014 年 9 月 29 日
You could also click the drop down arrow next to the column and select date as the option:

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by