# Help in program which read a data from excel file

**URL:** <https://root-forum.cern.ch/t/help-in-program-which-read-a-data-from-excel-file/42224>\
**Category:** Newbie\
**Created:** [November 11, 2020, 8:07am UTC](https://root-forum.cern.ch/t/help-in-program-which-read-a-data-from-excel-file/42224 "2020-11-11T08:07:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asad\_Munir](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/asad_munir/32/23941_2.png) [@Asad\_Munir](https://root-forum.cern.ch/u/Asad_Munir)\
**Post date:** [November 11, 2020, 8:07am UTC](https://root-forum.cern.ch/t/help-in-program-which-read-a-data-from-excel-file/42224/1 "2020-11-11T08:07:42Z")

</div>

Hi All,  
I need a c++ program which read a data from excel file and and make a histogram on root. I shall be thankful to you thanks

* * *

---

<div class="post-metadata">

**Author:** ![jblomer](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@jblomer](https://root-forum.cern.ch/u/jblomer)\
**Post date:** [November 11, 2020, 8:40am UTC](https://root-forum.cern.ch/t/help-in-program-which-read-a-data-from-excel-file/42224/2 "2020-11-11T08:40:36Z")

</div>

ROOT cannot directly read the Excel file format. But you can export the Excel data to a CSV, which can be processed e.g. by RDataFrame. See here for further information:

> **[ROOT: ROOT::RDF Namespace Reference](https://root.cern.ch/doc/master/namespaceROOT_1_1RDF.html#adfcf71db735afb58ee3f3c478d04a8af)**

  

> **[ROOT: ROOT::RDataFrame Class Reference](https://root.cern.ch/doc/master/classROOT_1_1RDataFrame.html)**

---

<div class="post-metadata">

**Author:** ![Asad\_Munir](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/asad_munir/32/23941_2.png) [@Asad\_Munir](https://root-forum.cern.ch/u/Asad_Munir)\
**Post date:** [November 11, 2020, 9:47am UTC](https://root-forum.cern.ch/t/help-in-program-which-read-a-data-from-excel-file/42224/3 "2020-11-11T09:47:53Z")

</div>

Dear,  
I converted my excel file into csv file will you please guide me about its programming to make a histogram

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [November 24, 2020, 4:14pm UTC](https://root-forum.cern.ch/t/help-in-program-which-read-a-data-from-excel-file/42224/4 "2020-11-24T16:14:09Z")

</div>

> [@Asad\_Munir](#):
>
> I converted my excel file into csv file will you please guide me about its programming to make a histogram

In this forum search for “csv”. This question was answered several times.
