What You Will Learn
You will learn how to use Google Sheets formulas to retrieve current and historical FX rates and apply them to currency conversion analysis.
Required Dataset
No dataset is required.
Create three tabs:
FX_Rates
FX_Conversion
FX_Check
Before You Start
GOOGLEFINANCE can retrieve market and historical information from Google Finance. For currencies, use the format CURRENCY:USDEUR, which means converting 1 USD into EUR. Historical formulas may return a small table, so you often use INDEX to extract only the rate.
Step-by-Step Instructions
Step 1. Pull a current exchange rate
In FX_Rates, create fields for:
From Currency
To Currency
Currency Pair
Current FX Rate
Historical Date
Historical FX Rate
Returned Date
Review Needed
For Currency Pair, use:
=”CURRENCY:”&A2&B2
For current FX rate, use:
=IFERROR(GOOGLEFINANCE(C2),””)
Example:
=GOOGLEFINANCE(“CURRENCY:USDEUR”)
Step 2. Pull a historical exchange rate
For a historical rate, use:
=IFERROR(INDEX(GOOGLEFINANCE(C2,”price”,E2),2,2),””)
For the returned date, use:
=IFERROR(INDEX(GOOGLEFINANCE(C2,”price”,E2),2,1),””)
This helps verify whether the returned date matches the requested historical date.
Step 3. Convert amounts
In FX_Conversion, create fields for:
Amount
From Currency
To Currency
FX Rate
Converted Amount
Rate Type
Review Needed
Use:
=IFERROR(Amount*FX Rate,””)
Use actual cell references in your workbook.
Step 4. Ask Gemini to review the logic
Use this prompt:
Act as a finance formula reviewer. Review the FX_Rates and FX_Conversion tabs. Check currency pair direction, current vs. historical rate logic, returned date, converted amount formula, and review-needed flags.
Expected Result
You should have a reusable FX rate table and a conversion table that can convert values using current or historical exchange rates.
Check Your Work
Confirm that currency pair direction is correct, historical dates are checked, converted amount equals amount multiplied by FX rate, and current and historical rates are clearly separated.
Optional Extension
Ask Gemini:
Create a short FX source note explaining GOOGLEFINANCE, currency pair direction, current versus historical rates, returned date checks, and finance policy caveats.
