# EXCEL IMPORT Problem

**URL:** <https://forum.dynamobim.com/t/excel-import-problem/100653>\
**Category:** Revit\
**Tags:** revit, excel, python, dynamo\
**Created:** [May 3, 2024, 6:17am UTC](https://forum.dynamobim.com/t/excel-import-problem/100653 "2024-05-03T06:17:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexander.zetterlund](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@alexander.zetterlund](https://forum.dynamobim.com/u/alexander.zetterlund)\
**Post date:** [May 3, 2024, 6:17am UTC](https://forum.dynamobim.com/t/excel-import-problem/100653/1 "2024-05-03T06:17:37Z")

</div>

Hey! I want to change parameters in Revit depending of the TypeName of the family. I have tried to to a script in Dynamo but no results so far… Any ideas?  
I want all Doors with a name that matches one in excel to have updated “TypeID” and “BSABe” parameters. My idea is to be able to export (which hasn´t been a problem) data to excel, and then erase all duplicates and still be able to connect because it´s depending of the Type and not the Element-ID.  
Thank you!

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [May 3, 2024, 9:42am UTC](https://forum.dynamobim.com/t/excel-import-problem/100653/2 "2024-05-03T09:42:48Z")

</div>

@alexander.zetterlund ,

i try the same based on Element ID 😉

> [@Import Data from excel to Revit, triggerd by ElementId, how?](https://forum.dynamobim.com/t/import-data-from-excel-to-revit-triggerd-by-elementid-how/100533/12):
>
> You can try to use [pandas](https://pandas.pydata.org/) or [.Net DataTable](https://learn.microsoft.com/fr-fr/dotnet/api/system.data.datatable?view=net-8.0) example with pandas, deleting empty lines and a few others (dataframes can be spliced if necessary (transactions)) import clr import sys import System # clr.AddReference('ProtoGeometry') from Autodesk.DesignScript.Geometry import \* import Autodesk.DesignScript.Geometry as DS #import Revit API clr.AddReference('RevitAPI') import Autodesk from Autodesk.Revit.DB import \* import Autodesk.Revit.DB as DB #import transactionManager and DocumentManager (R…
