# MethodError in importing excel table using XLSX

**URL:** <https://discourse.julialang.org/t/methoderror-in-importing-excel-table-using-xlsx/110357>\
**Category:** Data\
**Tags:** xlsx, excel\
**Created:** [February 17, 2024, 9:49pm UTC](https://discourse.julialang.org/t/methoderror-in-importing-excel-table-using-xlsx/110357 "2024-02-17T21:49:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeX](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pex/32/49986_2.png) [@PeX](https://discourse.julialang.org/u/PeX)\
**Post date:** [February 17, 2024, 9:49pm UTC](https://discourse.julialang.org/t/methoderror-in-importing-excel-table-using-xlsx/110357/1 "2024-02-17T21:49:46Z")

</div>

Hi everyone,  
I’m trying to import an excel table into a dataframe using:  
` df_data = DataFrame(XLSX.readtable(file_path, "styles", columns="A:H", infer_eltypes=true, first_row=3))`

But I’m getting  
` MethodError: no method matching readtable(::String, ::String; columns::String, infer_eltypes::Bool, first_row::Int64)`

Seems like I’m missing something basic, but can’t figure out what. Any suggestions?

---

<div class="post-metadata">

**Author:** ![BioTurboNick](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bioturbonick/32/6380_2.png) [@BioTurboNick](https://discourse.julialang.org/u/BioTurboNick)\
**Post date:** [February 17, 2024, 10:38pm UTC](https://discourse.julialang.org/t/methoderror-in-importing-excel-table-using-xlsx/110357/2 "2024-02-17T22:38:20Z")

</div>

The error should provide you with some method signatures that would be valid. Also you can check the docs for the method, by typing `?XLSX.readtable`
