TOP

Import currency exchange rates from the Bank of England website

NBUK() Description

The NBUK() function is designed to automatically retrieve the value of the official British pound exchange rate directly from the Bank of England website (bankofengland.co.uk) by the specified code and date.

The NBUK function greatly simplifies working with exchange rates, especially for those who deal with finances or keep records in different currencies. Instead of manually entering rates, you just need to use this function to get up-to-date data.

Also, you can use the "Official Exchange Rates" tool, which inserts the currency rate for selected cells in one click.


Main Characteristics of the NBUK Function

Syntax:

=NBUK(CurrCode; [CurrDate])

Parameters:

Example of Use

The NBUK() function is easy to use. You just need to enter the currency code and date into the corresponding formula cells, and Excel (Calc) will automatically retrieve the current exchange rate:

=NBUK(CurrCode; CurrDate)

We will get the following result:

Example of using the NBUK() function
Example of using the NBUK() function

In this example, the following values are used:

How It Works?

The NBUK() function can work both in normal mode and as an array function.

To use it as an array, simply enter the function into any cell, specifying the appropriate parameters. After that, you need to press Ctrl+Shift+Enter to enter the array formula and LO Calc will automatically return a table with data.

To select all cells associated with an array formula, simply select any array cell and press Ctrl+/.

If you need to convert an array formula to values - select the entire array and in the menu Data > Calculate select Formula to Value.

When using a date as text, it must first be converted into a real date, for example: DATEVALUE("2026-01-25").

Download extension

You can use the function NBUK() by installing the extension YLC Utilities.

After that, this function will be available in all files that will be opened in Excel (LibreOffice Calc).


This function is available in the following extensions: YLC FunctionsYLC Utilities

The YLC Utilities menu in LO Calc

The YLC Utilities menu in LO Calc

The YLC Utilities menu in Excel

The YLC Utilities menu in Excel