Engineering function

BESSELY function

Returns the Bessel function of the second kind, Yn(x) (also called the Weber or Neumann function), for x greater than 0.

Available in Excel 2007 and later (Excel 2003 needed the Analysis ToolPak add-in), Microsoft 365, Excel for the web, Excel for Mac

Excel 2007 and laterNot in Google Sheets

Syntax

BESSELY(x, n)
ArgumentWhat it means
xRequiredThe value at which to evaluate the function. Must be greater than 0.
nRequiredThe order of the function. Decimals are truncated; it must be 0 or more.

Returns: A number: the value of the Bessel function of the second kind of order n at x.

How BESSELY works

BESSELY returns Yn(x), the second independent solution of Bessel's equation. Like BESSELJ it oscillates as x grows, but it behaves very differently near zero: it plunges towards minus infinity. That makes it the function you need for regions that do not include the centre — the wall of a hollow pipe, the space between two coaxial cylinders, or a ring-shaped plate.

Engineers usually combine both kinds: the general solution of a ring problem is A·Jn(x) + B·Yn(x), with A and B chosen to fit the boundary conditions. In Excel you would put =A*BESSELJ(x,n)+B*BESSELY(x,n) in a column and chart it.

Because the function is undefined at 0 and for negative values, BESSELY returns #NUM! when x is 0 or less. The order is truncated to an integer, exactly as in the other Bessel functions.

Examples

1Value of Y1 at x = 2.5

C2fx=BESSELY(A2, B2)
ABC
1xOrder n
22.510.145918

Result: 0.145918

The order-1 function of the second kind at 2.5 is about 0.145918138, shown here formatted to 6 decimal places.

2Order 0 further out

C2fx=BESSELY(A2, B2)
ABC
1xOrder n
250-0.308518

Result: -0.308518

At x = 5 the order-0 curve has already swung below zero again: Y0(5) is about -0.308518 (formatted to 6 decimals). Like a damped wave, its peaks shrink as x grows.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 13 KB

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!x is 0 or negative, or n is negative.Y is only defined for x > 0. Check that your x column does not start at 0; start at a small positive value such as 0.01 instead.
#VALUE!x or n is text that cannot be read as a number.Check the source cells with ISNUMBER; numbers stored as text from an import are the usual culprit.

Tips

  • Near x = 0 the values become very large and negative (Y0(0.01) is about -3.0), so if you chart it, start the x axis a little above zero and fix the y-axis minimum.
  • For large x, Yn(x) behaves like sqrt(2/(πx))·sin(x − nπ/2 − π/4), which is handy for checking a result by hand.

Google Sheets

No Bessel functions; write an Apps Script custom function or use a numerical library outside Sheets.

BESSELY in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
DutchBESSEL.Y
ItalianBESSEL.Y
PolishBESSEL.Y
RussianБЕССЕЛЬ.Y