Conditional Lookup between Product and Deal modules

Conditional Lookup between Product and Deal modules

Hi! First time posting about Deluge formula creation. I am hoping someone can help me create a solution for the following problem so I can better learn the Deluge syntax (it's throwing me for a loop right now!).

Requirement:
Update 'Referral Fee' in Deals module IF 'Referred By' field is populated (ONLY).

Idea:
I want to create an IF statement that determines if the 'Referred By' field is NOT blank. If True, then lookup the Referral Fee in the Products module and update the field ('Referral Fee') in the Deals module.

I am getting thrown by the syntax of Deluge and finding the right want to create data intersections. Any guidance or formula samples would be incredibly helpful.

Thanks!
Ben