Forum Discussion
ShamsM
Nov 14, 2025Copper Contributor
Look Up FX Rate by Transaction date
Hello Folks, Attached you will find a sample file where I am trying to do the following: https://docs.google.com/spreadsheets/d/1NeCSt8oAcEM86DAxI-8LkqTQK4D6WQvv/edit?usp=sharing&ouid=1033547533...
Lorenzo
Nov 17, 2025Silver Contributor
Hi
Expect if I missed something you're only challenge is to find/match the appropriate [Period] in the 'FX Rate' tab according to your [Transaction date]
In the 'Data' tab the [Transaction date] can be any date in a month but in the 'FX Rate' tab the [Period] consist of only one date per month
So, before any lookup you should "convert" your Transaction date to the begin. of the corresponding month. Something you can do with:
=EOMONTH( [Transaction date], -1) +1then xlookup this date in your [Period] range:
in G2 above:
=IF( B2 = "C",
C2 / XLOOKUP( EOMONTH(A2, -1) +1, 'FX Rate'!A$2:A$13, 'FX Rate'!B$2:B$13, "No match" ),
C2
)