A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
The results of the t.test and ttest functions are based on Hypothesized Mean Difference equal to zero, and that assumption cannot be changed.
The t-Test of the Analysis ToolPak allows you to specify the Hypothesized Mean Difference, and you specified 0.05.
If you use the t-Test of the Analysis ToolPak and specify Hypothesized Mean Difference equal to zero, the results will show "P(T<=t) two-tail" equal to 0.187626 (formatted to show six decimal digits), which is the same as the results using the t.test and ttest functions.