# Need help Translating a Formula

1. ## Need help Translating a Formula

Here is the formula and what I've been able to make of it so far:

=ROUND(IF(\$C11>0,ROUND((\$B\$14*ATAN(\$B\$16*((IF((F\$2-\$D11)/(\$E11-\$D11+1)>1,1,IF((F\$2-\$D11)/(\$E11-\$D11+1)<0,0,(F\$2-\$D11)/(\$E11-\$D11+1))))+\$B\$15))+\$B\$17)/100,3),IF(\$E11-F\$2>0,0,100%)),4)

The first ‘IF’ says that if cell C11 is greater than 0, to round the result (to the nearest 3rd decimal of):

IF the result of cell (F2-D11)/(E11-D11+1) is greater than 1, multiply cell B14 by the trigonometric function of Arctangent of 1 in radians

Or

If the result of cell (F2-D11)/(E11-D11+1) is less than 0, multiply cell B14 by the trigonometric function of Arctangent of 1 in radians

IF the result of cell (F2-D11)/(E11-D11+1) is greater than 1, multiply cell B14 by the trigonometric function of Arctangent of ((F2-D11)/(E11-D11+1)/100) and rounded to the nearest 3rd decimal in radians

IF cell E11-F2 is greater than zero, put 0 in the cell, if less than zero, put 100% in the cell – round the cell to the nearest 4th decimal.

2. ## Re: Need help Translating a Formula

I think you have made a fair assessment of what it does ... maybe the question is why it is doing it

I tend to use Alt-Enter and spaces to try ans split the components up. It sometimes makes it a little easier to see what's going on. In this case, I'm not so sure

HTML Code:

Regards, TMS

There are currently 1 users browsing this thread. (0 members and 1 guests)