#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
gma gma is offline
external usenet poster
 
Posts: 45
Default -/+ forumla

ok....i have a need for a forumla that will increase and decrease as the
value in another cell goes up or down. i.e.
A1 set number of 95
B1 number is 96
C1 the formula shows 1
if the number in B1 changes to 94 then C1 showns a -1

can some one help me?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default -/+ forumla

In C1 enter:

=B1-A1
--
Gary''s Student - gsnu200909
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
gma gma is offline
external usenet poster
 
Posts: 45
Default -/+ forumla

its a little more complicated then that. as the number goes up or down 94(B1)
i need the to formula to calulate plus or minus off a base number 95(A1) in
C1 i.e. A1 is base 95
if the number in B1 is 94 than C1 goes to -1; 93 C1 goes to -2 and so forth
if the number in B1 is 96 than C1 goes to 1; 97 C1 goes to 2 and so forth


"Gary''s Student" wrote:

In C1 enter:

=B1-A1
--
Gary''s Student - gsnu200909

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default -/+ forumla

Actually Gary's Student is correct. In C1 put "=B1-A1+ works and returns the
correct number according to your examples.

For something more compl;icated try an "if" formular.
If number in B1 A1 use B1-A1,
If number in B1 < A1 use B1-A1 (this is the same as it returns the same
result if B1 is above or below A1, try it out...

I.e. =if(B1=A1, B1-A1, B1-A1)

Cheers,
stevefromnaki

"gma" wrote:

its a little more complicated then that. as the number goes up or down 94(B1)
i need the to formula to calulate plus or minus off a base number 95(A1) in
C1 i.e. A1 is base 95
if the number in B1 is 94 than C1 goes to -1; 93 C1 goes to -2 and so forth
if the number in B1 is 96 than C1 goes to 1; 97 C1 goes to 2 and so forth


"Gary''s Student" wrote:

In C1 enter:

=B1-A1
--
Gary''s Student - gsnu200909

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
gma gma is offline
external usenet poster
 
Posts: 45
Default -/+ forumla

i was over thinking this....this works thanks.

"stevefromnaki" wrote:

Actually Gary's Student is correct. In C1 put "=B1-A1+ works and returns the
correct number according to your examples.

For something more compl;icated try an "if" formular.
If number in B1 A1 use B1-A1,
If number in B1 < A1 use B1-A1 (this is the same as it returns the same
result if B1 is above or below A1, try it out...

I.e. =if(B1=A1, B1-A1, B1-A1)

Cheers,
stevefromnaki

"gma" wrote:

its a little more complicated then that. as the number goes up or down 94(B1)
i need the to formula to calulate plus or minus off a base number 95(A1) in
C1 i.e. A1 is base 95
if the number in B1 is 94 than C1 goes to -1; 93 C1 goes to -2 and so forth
if the number in B1 is 96 than C1 goes to 1; 97 C1 goes to 2 and so forth


"Gary''s Student" wrote:

In C1 enter:

=B1-A1
--
Gary''s Student - gsnu200909

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
what does this forumla mean? mmatz Excel Worksheet Functions 3 May 8th 08 07:06 PM
Most Used Name Forumla Myrm Excel Worksheet Functions 3 March 6th 07 06:16 PM
Help with Forumla WeSt39 Excel Worksheet Functions 2 March 20th 06 11:22 PM
IF Forumla help Bryan Excel Discussion (Misc queries) 3 February 28th 06 11:17 AM
Forumla Don Excel Worksheet Functions 3 August 9th 05 02:52 AM


All times are GMT +1. The time now is 11:51 PM.

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

About Us

"It's about Microsoft Excel"