← All projects
Excel

Bolivia USD Exchange Rates

Twice-daily snapshots of US dollar rates from 11 Bolivian banks, the central bank and the parallel market, cleaned in Power Query and turned into an Excel dashboard that shows where to buy and sell dollars and how far the street rate drifts from the official one.

DateDec 2026
ToolsPower Query, M, Merge Queries, Group By, XLOOKUP, FILTER, SORTBY, AVERAGEIFS, Dynamic Arrays, Data Validation
Bolivia USD Exchange Rates
24 repeat snapshots and 68 stale "official" rates removed; the central bank's rate is used as the single source of truth
Fortaleza paid the most for dollars on 49 of 59 days; FIE or BISA sold them cheapest on 55
Bank spreads range from 5% (Fortaleza) to over 13% (Banco Unión, BancoSol); the parallel market averaged a 1% premium

The problem

A scraper collected the dollar rates published by Bolivian banks, the Banco Central de Bolivia (BCB) and the parallel market between 4 October and 1 December 2026. The raw file (1,759 rows) answers simple questions badly: some snapshots repeat, banks quote out-of-date official rates, and rates go missing. The goal was a clean daily view showing which bank is best for buying or selling dollars, and how the parallel market compares.

Data cleaning (Power Query)

  • Timestamps carry a −04:00 offset (2026-10-04T22:06:30-04:00). Converted with DateTimeZone functions to local time, then split into date and AM/PM session.
  • 24 repeat snapshots removed. The first evening had a burst of six runs minutes apart, and some sessions were captured twice. Only the latest snapshot per date and session is kept (Table.Group plus a buffered list).
  • 68 stale official rates. Banks republish the official rate, but often an old one. Each bank row is merged with the BCB row from the same moment, and the BCB value is used.
  • Missing rates left blank, not filled:
    • Ganadero never publishes a buy rate.
    • Ganadero stopped publishing sell rates on 10 November.
    • Prodem appears in only half the snapshots, which is shown as its coverage.
  • Accents kept: the file is read as UTF-8, so “Banco Unión” and “Económico” keep their accents.
  • Inverted quotes (buy above sell) are flagged and blanked so they can’t distort spreads.

The queries then build three tables: clean rates (one row per source per snapshot), daily rates (last snapshot of each day), and a bank summary with coverage, average rates, spreads and the number of days each bank was cheapest. A quality log counts every step.

The dashboard

Pick a date to see the official rate, the parallel-market rate and premium, the cheapest place to buy dollars, the best rate when selling, and every source’s quotes sorted cheapest first. The table is a single FILTER + SORTBY formula. Charts show the official rate against the parallel market over time, the daily parallel premium, and the average spread by bank.

Weekly heatmap

A weekly heatmap of bank sell rates comes from one AVERAGEIFS formula that spills the whole grid.

Bank comparison

Data quality log

Key insights

  • Selling dollars: Fortaleza offered the best buy rate on 49 of 59 days and BNB on the other 10.
  • Buying dollars: FIE (29 days) and BISA (26 days) were the cheapest banks; Prodem was often cheaper still but only quoted on half the days.
  • Spreads vary threefold: Fortaleza’s average spread was 5.1%; Banco Unión (13.6%) and BancoSol (13.3%) charged the most.
  • The parallel market tracks the official rate closely: an average premium of 1.0%, ranging from −1.2% to +2.4%, with a spread of only 0.3%.
  • The official rate moved more than expected for a managed currency, between Bs 11.67 and Bs 12.12 per dollar.

Checking it

I recalculated every cleaning count, every bank’s coverage and average spread, and every day’s official rate, premium, cheapest bank and best buyer in Python. All 12 sources and all 59 days matched.

📊 Download the workbook (.xlsx)