How to set the formula (26 Nov)?

E

Eric

Does anyone have any suggestions on how to set the formula?

There is a given number 430 in cell A1, if this number is greater than 360,
then 430/10 = 43, it should return 43 in cell B1.

There is a given number 4300 in cell A1, if this number is greater than 360,
then 4300/100 = 43, it should return 43 in cell B1.

There is a given number 43000 in cell A1, if this number is greater than
360, then 43000/1000 = 43, it should return 43 in cell B1.

Does anyone have any suggestions on how to set the formula?
Thanks in advance for any suggestion
Eric
 
E

Eric

Thank you very much for suggestions
When I type 46500 in cell A1, 45 returns in cell B1, which is OK.
When I type 12350 in cell A1, 12.35 returns in cell B1, which should return
123.5, because 123.5 is less than 360.
Do you have any suggestions on how to fix it?
Thank you very much for any suggestions
Eric
 
B

Bob Phillips

You didn't mention that it had to an iterative calculation based upon B1.

This might work for you.

First, ensure cell A1 is empty and goto Tools>Options and on the Calculation
tab check the Iteration checkbox to stop the Circular Reference message.

Next, type this formula into cell B1

=IF(($A$1="")+(AND(B1>0,B1*10>360)),B1,A1/10)

and then type the value in A1.

The big disadvantage about this method is that you have effectively disabled
automatic recalculation, so if you wish to change the value in A1, you will
need to

- clear A1
- edit B1, F2 and Ente
- add the new value to A1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top