A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formulas



 
 
Thread Tools Display Modes
  #1  
Old October 14th, 2003, 05:53 PM
Richard Shaw
external usenet poster
 
Posts: n/a
Default Formulas

I am running Excell 2000 Version 9.9.3821 SR-1 on my
Millenium system. I want to have the number in a given
cell recorded automatically in another cell, if the
original number is less than a given amount, but more than
some given amount. I can make a formula for either more
than or less than. For example. . . =If(F520000,F5,) or
=If(F5-20000,F5,). But, I can't set the formula to do
both at the same time. Can you tell what the formula would
be?
  #2  
Old October 14th, 2003, 06:11 PM
J.E. McGimpsey
external usenet poster
 
Posts: n/a
Default Formulas

one way:

=IF(AND(F5-200000, F520000), F5, "")

Note that you need AND() not OR() since F5 will always be either
-20000 or 20000 or both.


Also, in this case, since the values are symmetrical about zero,
this is a bit more efficient:

=IF(ABS(F5)20000, F5, "")

In article ,
"Richard Shaw" wrote:

I am running Excell 2000 Version 9.9.3821 SR-1 on my
Millenium system. I want to have the number in a given
cell recorded automatically in another cell, if the
original number is less than a given amount, but more than
some given amount. I can make a formula for either more
than or less than. For example. . . =If(F520000,F5,) or
=If(F5-20000,F5,). But, I can't set the formula to do
both at the same time. Can you tell what the formula would
be?


--
Email address ROT-13'd for spam reduction
see www.mcgimpsey.com/excel/groupspam.html to decode
  #3  
Old October 14th, 2003, 06:13 PM
David Hager
external usenet poster
 
Posts: n/a
Default Formulas

Try:

=If(ABS(F5)20000,F5,)

--
David Hager
Excel FMVP

"Richard Shaw" wrote in message
...
I am running Excell 2000 Version 9.9.3821 SR-1 on my
Millenium system. I want to have the number in a given
cell recorded automatically in another cell, if the
original number is less than a given amount, but more than
some given amount. I can make a formula for either more
than or less than. For example. . . =If(F520000,F5,) or
=If(F5-20000,F5,). But, I can't set the formula to do
both at the same time. Can you tell what the formula would
be?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:36 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.