D
Denise Williams
I have a question about increasing the precision of
calculations in Excel. I'm trying to develop an Excel
spreadsheet to conduct a specialized kind of analysis, I
have everything running correctly except for one stage of
the analysis.
At one point, the spreadsheet calculates a probability
using the following formula (with input from cell H16)
=1-NORMSDIST(H16) This produces a number in cell H17.
The resulting probability is then entered in the following
formula =TINV(H17,C5-2) to produce a value in cell H18.
Now, if the H16 value is large, then the probability
resulting in H16 is extremely small. The problem is that,
given Excel's default computational precision, Excel will
return the probability as zero when the probability is
very small. This then affects the next step, in which
the probability is entered into the =TINV(H17,C5-2)
formula in cell H18 (where the C5 value is the number of
people in a study, say 250). The resulting H18 value is
then an incorrect 10,000,000 or something along those
lines.
So for example, an H16 value of 13.71 should produce an
H17 probability value of 5/1043 This probability should
then produce an H18 value of 16.59. But Excel's precision
is limited so that the H16 value of 13.71 produces a
probability of 0.000, which produces an H18 value of
10,000,000. this then throws off subsequent analyses.
So, my question is, is there a way to adjust Excel's
default precision of calculation? I think that the
default is 15 sig digits. This is a separate issue from
the number of digits that Excel actually displays in the
spreadsheet.
Any help would be very much appreciated.
calculations in Excel. I'm trying to develop an Excel
spreadsheet to conduct a specialized kind of analysis, I
have everything running correctly except for one stage of
the analysis.
At one point, the spreadsheet calculates a probability
using the following formula (with input from cell H16)
=1-NORMSDIST(H16) This produces a number in cell H17.
The resulting probability is then entered in the following
formula =TINV(H17,C5-2) to produce a value in cell H18.
Now, if the H16 value is large, then the probability
resulting in H16 is extremely small. The problem is that,
given Excel's default computational precision, Excel will
return the probability as zero when the probability is
very small. This then affects the next step, in which
the probability is entered into the =TINV(H17,C5-2)
formula in cell H18 (where the C5 value is the number of
people in a study, say 250). The resulting H18 value is
then an incorrect 10,000,000 or something along those
lines.
So for example, an H16 value of 13.71 should produce an
H17 probability value of 5/1043 This probability should
then produce an H18 value of 16.59. But Excel's precision
is limited so that the H16 value of 13.71 produces a
probability of 0.000, which produces an H18 value of
10,000,000. this then throws off subsequent analyses.
So, my question is, is there a way to adjust Excel's
default precision of calculation? I think that the
default is 15 sig digits. This is a separate issue from
the number of digits that Excel actually displays in the
spreadsheet.
Any help would be very much appreciated.