# Get linked fields using formula

**URL:** <https://community.nocodb.com/t/get-linked-fields-using-formula/2039>\
**Category:** Formulas\
**Created:** [August 7, 2025, 6:34am UTC](https://community.nocodb.com/t/get-linked-fields-using-formula/2039 "2025-08-07T06:34:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GIPeN](https://avatars.discourse-cdn.com/v4/letter/g/a698b9/32.png) [@GIPeN](https://community.nocodb.com/u/GIPeN)\
**Post date:** [August 7, 2025, 6:34am UTC](https://community.nocodb.com/t/get-linked-fields-using-formula/2039/1 "2025-08-07T06:34:45Z")

</div>

I’m trying to repace notion, but hadn’t found an alternative, airtables can’t do this either:

have 3 tables, A → B → C , and want to get data from A in C but cant find a way

For example I have a **clients** table, a **contracts** table and a monthly **payments** table, in payments table i link to the contract to be paid (and ofc contracts links to clients), **clients** table include a field **security\_deposit**. I want to calculate the amount to pay for the given month, and include a checkbox to mark its the **first** payment.

Notion can’t do it in gui, but what it can do is to reference a column of a linked table in a formula.

This would be something like: if( **first** , **contract**.map(current. **client**.map(current. **security\_deposit** )).sum(), 0 )

I tried unsuccessfully to replicate it in airtables, and the only way was to carry the data from A to B and then from B to C using lookups (they confirmed it in the forum) it seems it is the same case here in nocodb, or there is a way??

---

<div class="post-metadata">

**Author:** ![dstala](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@dstala](https://community.nocodb.com/u/dstala)\
**Post date:** [August 8, 2025, 3:27am UTC](https://community.nocodb.com/t/get-linked-fields-using-formula/2039/2 "2025-08-08T03:27:57Z")

</div>

Nested Lookup’s (like in airtable) is the way with NocoDB as well.
