The probability density function it is referring to is the probablility density furnction of the standard normal distribution.
phi(x)=1/sqrt(2pi)*exp(-x^2)
with capital PHI being the integral of that, which doesn’t have a nice closed form, but for which there are look up tables, or function calls in most programming languages. In Excel, but phi and PHI can be calculated with the function NORM.DIST, with mean 0 standard deviation 1 and the flag for cumulative set to 0 and 1 respectively.
So in EXCEL notation.
DELTA would be PHI(B)-PHI(A) = NORM.DIST(B,0,1,1)-NORM.DIST(A,0,1,1)
and
mean=m+(NORM.DIST(B,0,1,0)-NORM.DIST(A,0,1,0))*sigma/DELTA
The issue with A=B is not a typo. According the the notation, in the site you included the function is cut below A and above B, so if A=B, you have cut the entire distribution out, and so there is no distribution left, giving you a mean of (0/0)=Undefined.
Based on your OP it looked like you were more interested in cutting off at perticular percentiles (cutting off the top and bottom 25%) rather than particular values (cutting off values below 2 and above 3). If you want to cut off the lower q% and the upper p% then you can simplify things by replacing the equations for A and B and DELTA with the following EXCEL equivalents
A=NORM.INV(q,0,1) and B=NORM.INV(1-p,0,1) DELTA=1-p-q
Hope this helps.