# Writing excel data into Revit

**URL:** <https://forum.dynamobim.com/t/writing-excel-data-into-revit/9387>\
**Category:** Revit\
**Created:** [February 6, 2017, 12:01am UTC](https://forum.dynamobim.com/t/writing-excel-data-into-revit/9387 "2017-02-06T00:01:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Andrew\_Hannell](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/andrew_hannell/32/103315_2.png) [@Andrew\_Hannell](https://forum.dynamobim.com/u/Andrew_Hannell)\
**Post date:** [February 6, 2017, 2:12am UTC](https://forum.dynamobim.com/t/writing-excel-data-into-revit/9387/2 "2017-02-06T02:12:21Z")

</div>

You would need to use either a dictionary (search on the forum) or a database where you can use an SQL query.  
I’d recommend the latter.  
In your case, you would use the AHU mark as the key to join up relevant data.

Refer to

> [@Pairing Data according to criteria - Dictionary](https://forum.dynamobim.com/t/pairing-data-according-to-criteria-dictionary/8763):
>
> Hi All, I’m trying to put some information in a wall from a database I have in an excel sheet. The walls selected (Select Model Elements) have the same pier number (tag) to identify, this information I can get easly (Element.GetParamaterValueByName). Also I get the “Top Constraint” value with the same node to identify the element according to story level. I want to “search” in my Excel Sheet by Pier Number and get the info from Number of Bars and Bar Diameter related to each story. Here is a…

Alternatively, you could use the Datalink tool to synchronise with a database

Andrew

---

_[View the full topic](https://forum.dynamobim.com/t/writing-excel-data-into-revit/9387)._
