Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
gma gma is offline
external usenet poster
 
Posts: 45
Default greater/lesser than

if a1 is a base number of 100 and b1 is 95 how do i get c1 to be greater or
lesser than b1.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default greater/lesser than

You need to provide more details, what are the rules for the value in C1

Mike

"gma" wrote:

if a1 is a base number of 100 and b1 is 95 how do i get c1 to be greater or
lesser than b1.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default greater/lesser than

Hi,

If A1=100 and B1=95

in C1 enter any formula that
=B1-1 will make it less
or
=B1+1 will make it more

But then any number, other than 0, added or subtracted from B1 will make it
less or more. And what does A1 have to do with it at all?


--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"gma" wrote:

if a1 is a base number of 100 and b1 is 95 how do i get c1 to be greater or
lesser than b1.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default greater/lesser than

Gma,

What we have here is a failure to communicate. You've tried more than once
to explain your problem, but have not succeeded. In this post, for example,
c1 will always be "greater or lesser than b1". So what's the problem?

I suggest you try giving examples. With a1 fixed at 100, if b1 is 95, what
do you want in c1? If b1 is 90, what's c1? if b1 is 105, what should c1 be?
Maybe from the examples, we can figure out the formula you want.

Regards,
Fred.

"gma" wrote in message
...
if a1 is a base number of 100 and b1 is 95 how do i get c1 to be greater
or
lesser than b1.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
gma gma is offline
external usenet poster
 
Posts: 45
Default greater/lesser than

i understand i'm not communicating very well or at all, i'm trying.let me try
this.
A1 is 95 and if it changes to 96 then I want B1 to increase what ever the
number is in B1. If A1 number changes to 94 then i want B1 number to
decrease. Would it be a formula like =If(B1<than A1 then B1-1," if B1than A1
than B1+1) i dont know. it would be nice if i could just send you a copy of
the spreadsheed so you can see what i'm trying to do.

"Fred Smith" wrote:

Gma,

What we have here is a failure to communicate. You've tried more than once
to explain your problem, but have not succeeded. In this post, for example,
c1 will always be "greater or lesser than b1". So what's the problem?

I suggest you try giving examples. With a1 fixed at 100, if b1 is 95, what
do you want in c1? If b1 is 90, what's c1? if b1 is 105, what should c1 be?
Maybe from the examples, we can figure out the formula you want.

Regards,
Fred.

"gma" wrote in message
...
if a1 is a base number of 100 and b1 is 95 how do i get c1 to be greater
or
lesser than b1.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default greater/lesser than

On Feb 24, 9:29 am, gma wrote:
A1 is 95 and if it changes to 96 then I want B1 to
increase what ever the number is in B1.


English language correction.... I think you mean: if A1 is 95 and B1
is 96, you want C1 to be B1 plus the difference between A1 and B1.
Right? At least, that requirement seems to be consistent with the
pseudocode you write below.

(You do not want to detect a change in A1 ("if __it__ changes to
96"). And you do not want to change the value in B1 based on its
value before the change ("want __B1__ to increase whatever the number
is in __B1__").)


If A1 number changes to 94 then i want B1 number to
decrease. Would it be a formula like =If(B1<than A1 then B1-1,"
if B1than A1 than B1+1) i dont know.


Well, I think that would be simply:

C1: =B1+(B1-A1)

But I am not sure you are properly communicating your true
requirements. The requirements specified here sounds very difference
from the requirements that you specify in the "gain-loss" thread (but
then again, the latter requirements were never clearly stated either,
IMHO). And I suspect these two threads are related. ;-)


it would be nice if i could just send you a copy of
the spreadsheed so you can see what i'm trying to do.


IMHO, that would not help. You simply need to post the existing
formulas in relevant cells, the current outcome that is presumably
wrong, and the desired outcome for at least two complementary
examples, and perhaps more than two.

For example, in this thread, you say that you might want C1 to be B1
plus or minus when B1 is one more or less than A1. But I wonder
(again, partially influenced by my dubious interpretation of the "gain-
loss" thread) if you really want C1 to be B1 plus the percentage
change from A1 to B1, not the cardinal number change.

In other words, what if A1 is 100 and B1 is 90. Do you want C1 to be
80 (B1-10)? Or do you want C1 to be 81 (10% less than B1, because B1
is 10% less than A1)?

And if neither of those is right, what am I misunderstanding?


----- original posting -----

On Feb 24, 9:29*am, gma wrote:
i understand i'm not communicating very well or at all, i'm trying.let me try
this.
A1 is 95 and if it changes to 96 then I want B1 to increase what ever the
number is in B1. If A1 number changes to 94 then i want B1 number to
decrease. Would it be a formula like =If(B1<than A1 then B1-1," if B1than A1
than B1+1) i dont know. it would be nice if i could just send you a copy of
the spreadsheed so you can see what i'm trying to do. *



"Fred Smith" wrote:
Gma,


What we have here is a failure to communicate. You've tried more than once
to explain your problem, but have not succeeded. In this post, for example,
c1 will always be "greater or lesser than b1". So what's the problem?


I suggest you try giving examples. With a1 fixed at 100, if b1 is 95, what
do you want in c1? If b1 is 90, what's c1? if b1 is 105, what should c1 be?
Maybe from the examples, we can figure out the formula you want.


Regards,
Fred.


"gma" wrote in message
...
if a1 is a base number of 100 and b1 is 95 how do i get c1 to be greater
or
lesser than b1.

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a figure + a percentage after using lesser than or greater stevemel50 Excel Discussion (Misc queries) 2 January 10th 07 07:26 PM
putting a number that is greater or lesser into different cell . James Krepel Excel Worksheet Functions 1 November 2nd 06 04:02 AM
specifying the lesser of two values Leo Kerner Excel Discussion (Misc queries) 8 March 2nd 06 06:56 AM
greater than or lesser than formulas Orrutility secretary Excel Discussion (Misc queries) 4 September 27th 05 07:41 PM
if greater or lesser than ditchy Excel Discussion (Misc queries) 5 August 4th 05 04:10 AM


All times are GMT +1. The time now is 12:36 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"