Formulas and Functions Help
- Welcome
-
- ACCRINT
- ACCRINTM
- BONDDURATION
- BONDMDURATION
- COUPDAYBS
- COUPDAYS
- COUPDAYSNC
- COUPNUM
- CUMIPMT
- CUMPRINC
- CURRENCY
- CURRENCYCODE
- CURRENCYCONVERT
- CURRENCYH
- DB
- DDB
- DISC
- EFFECT
- FV
- INTRATE
- IPMT
- IRR
- ISPMT
- MIRR
- NOMINAL
- NPER
- NPV
- PMT
- PPMT
- PRICE
- PRICEDISC
- PRICEMAT
- PV
- RATE
- RECEIVED
- SLN
- STOCK
- STOCKH
- SYD
- VDB
- XIRR
- XNPV
- YIELD
- YIELDDISC
- YIELDMAT
-
- AVEDEV
- AVERAGE
- AVERAGEA
- AVERAGEIF
- AVERAGEIFS
- BETADIST
- BETAINV
- BINOMDIST
- CHIDIST
- CHIINV
- CHITEST
- CONFIDENCE
- CORREL
- COUNT
- COUNTA
- COUNTBLANK
- COUNTIF
- COUNTIFS
- COVAR
- CRITBINOM
- DEVSQ
- EXPONDIST
- FDIST
- FINV
- FORECAST
- FREQUENCY
- GAMMADIST
- GAMMAINV
- GAMMALN
- GEOMEAN
- HARMEAN
- INTERCEPT
- LARGE
- LINEST
- LOGINV
- LOGNORMDIST
- MAX
- MAXA
- MAXIFS
- MEDIAN
- MIN
- MINA
- MINIFS
- MODE
- NEGBINOMDIST
- NORMDIST
- NORMINV
- NORMSDIST
- NORMSINV
- PERCENTILE
- PERCENTRANK
- PERMUT
- POISSON
- PROB
- QUARTILE
- RANK
- SLOPE
- SMALL
- STANDARDIZE
- STDEV
- STDEVA
- STDEVP
- STDEVPA
- TDIST
- TINV
- TTEST
- VAR
- VARA
- VARP
- VARPA
- WEIBULL
- ZTEST
- Copyright
CURRENCYH
The CURRENCYH function returns historical data on the exchange rate between two currencies for a given date. The value returned is in the currency to which you’re converting (currency‑2).
CURRENCYH(currency-1, currency-2, close, date)
currency-1: The currency code for the currency from which you’re converting. currency‑1 is a string enclosed in quotes.
currency-2: The currency code for the currency to which you’re converting. currency‑2 is a string enclosed in quotes.
close: An optional modal value specifying the exchange rate attribute to be returned.
"close" (0 or omitted): The exchange rate of currency-1 to currency-2 at the close of trading on the day specified by date, expressed as an amount in currency‑2.
"open" (1): The exchange rate of currency-1 to currency-2 at the beginning of trading on the day specified by date, expressed as an amount in currency‑2.
"high" (2): The highest exchange rate on the day specified by date, expressed as an amount in currency‑2.
"low" (3): The lowest exchange rate on the day specified by date, expressed as an amount in currency‑2.
date: The date for which you want the historical exchange rate information. date can be a valid past date string enclosed in quotes (for example "11/1/2014" or "Dec 31, 2015"), a formula that returns a past date, or a reference to a cell containing a valid past date or date formula.
Notes
Currency codes are defined by ISO 4217, a standard published by the International Organization for Standardization. You can find the ISO 4217 currency codes on the web.
If you enter a formula with CURRENCYH when the internet is unavailable, CURRENCYH returns no value. However, when the internet becomes available, the formula updates with a value returned by CURRENCYH.
Examples |
---|
=CURRENCYH("USD", "GBP", 3, "4/18/2017") returns £0.78, the lowest rate of exchange ("low" or 3) from the United States dollar (USD) to Pounds sterling (GBP) on April 18, 2017. =CURRENCYH("gbp", "bmd", "open", "12/31/2015") returns BMD1.48, the exchange rate from Pounds sterling (GBP) to the Bermudian dollar (BMD) at the beginning of trading on December 31, 2015. =CURRENCYH("usd", "aud", "close", TODAY()-2) returns the exchange rate from United States dollars to Australian dollars (in AUD) at the close of trading two days ago. |
The CURRENCYH function is powered by