If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

There was a mistake in my formula! Sorry about that it was supposed to be:
=IF((E9*0.05)>2, E9*0.06, 2)So just alter the function.

I have the formula answer going into a field called "result".You will need to show YOUR code. I assume the 'E9b' would be your 'result' field.
Is the figure entered into E9a going into 'v' variable? Yes

Many thanks for your help again...
Hope you can help me further as I cannot get the formula to work!

What is wrong with your code. What errors are you getting in the error console?
The program works fine as published in post #3. What are you using to trigger the event?
Without seeing what you are doing, I'm no better at giving a haircut through the mail than I am at debugging your code!

What is wrong with your code. What errors are you getting in the error console?
The program works fine as published in post #3. What are you using to trigger the event?
Without seeing what you are doing, I'm no better at giving a haircut through the mail than I am at debugging your code!

I'm not getting any errors - nothing happens when I try to add the "E9*0.06, 2" in to the javascript code.

Where would I add this code?

I'm not fully understanding how this Javascript code works the same as the excel formula. Sorry, I hope you don't mind helping me out.

"E9" is not an element in the code I provided.
It does not use a <form> tag.

In some places you use form.result.value, in other you use form. E9.value (note the space)
and in still another you use form.result..value ( note the double dots). Cannot be all three syntax correct.
Note also that you do not define the form in your snippet.