Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(A1360,A1/(10^INT(LOG10(A1)-1)),"")
-- __________________________________ HTH Bob "Eric" wrote in message ... 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 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 "Bob Phillips" wrote: =IF(A1360,A1/(10^INT(LOG10(A1)-1)),"") -- __________________________________ HTH Bob "Eric" wrote in message ... 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 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 ToolsOptions 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(B10,B1*10360)),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 -- __________________________________ HTH Bob "Eric" wrote in message ... 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 "Bob Phillips" wrote: =IF(A1360,A1/(10^INT(LOG10(A1)-1)),"") -- __________________________________ HTH Bob "Eric" wrote in message ... 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|