Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default How to set the formula (26 Nov)?

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default How to set the formula (26 Nov)?

=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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default How to set the formula (26 Nov)?

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default How to set the formula (26 Nov)?

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"