PC Review Forums Newsgroups Microsoft Excel Microsoft Excel Setup formula for calculating wt gain or loss cumulative in excel

Reply

formula for calculating wt gain or loss cumulative in excel

 
Thread Tools Rate Thread
Old 01-06-2007, 05:47 AM   #1
=?Utf-8?B?WWFrYQ==?=
Guest
 
Posts: n/a
Default formula for calculating wt gain or loss cumulative in excel


I'd like to know how to set up a formula to put my weight in whenever in a
cell and have excel tell me if its a gain or loss and have it doing it
cumulative. Example If I weigh 120 and the next time I put in a weight I'm
122 the answer says 2 then the next time I put in 124 the answer would be 4
then the next time I put in 123 the answer would be 3 etc. in chart form
running vertically. I'm using microsoft Office 2003
--
Delightfully requesting your assistance , Yaka
  Reply With Quote
Old 01-06-2007, 11:11 AM   #2
Roger Govier
Guest
 
Posts: n/a
Default Re: formula for calculating wt gain or loss cumulative in excel

Hi

If you put your start weight in A1, and then your subsequent weights in
cells below this, from A2 onward, then in cell B2
=IF(A2="","",A2-$A$1)
Copy down column B as far as required.
The cells in column B will remain blank, until there is a corresponding
value in column A.
--
Regards

Roger Govier


"Yaka" <Yaka@discussions.microsoft.com> wrote in message
news:00113C79-D311-4BC7-B58F-914FF9CA5372@microsoft.com...
> I'd like to know how to set up a formula to put my weight in whenever
> in a
> cell and have excel tell me if its a gain or loss and have it doing it
> cumulative. Example If I weigh 120 and the next time I put in a
> weight I'm
> 122 the answer says 2 then the next time I put in 124 the answer would
> be 4
> then the next time I put in 123 the answer would be 3 etc. in chart
> form
> running vertically. I'm using microsoft Office 2003
> --
> Delightfully requesting your assistance , Yaka



  Reply With Quote
Old 02-06-2007, 01:41 AM   #3
=?Utf-8?B?WWFrYQ==?=
Guest
 
Posts: n/a
Default RE: formula for calculating wt gain or loss cumulative in excel

lRoger, thank you so much... the formula works . however when I copy down
column B the original weight I put in the formula copies all the way down.
What did I do wrong?.
--
Delightfully requesting your assistance , Yaka


"Yaka" wrote:

> I'd like to know how to set up a formula to put my weight in whenever in a
> cell and have excel tell me if its a gain or loss and have it doing it
> cumulative. Example If I weigh 120 and the next time I put in a weight I'm
> 122 the answer says 2 then the next time I put in 124 the answer would be 4
> then the next time I put in 123 the answer would be 3 etc. in chart form
> running vertically. I'm using microsoft Office 2003
> --
> Delightfully requesting your assistance , Yaka

  Reply With Quote
Old 02-06-2007, 03:39 AM   #4
Gord Dibben
Guest
 
Posts: n/a
Default Re: formula for calculating wt gain or loss cumulative in excel

Check out Tools>Options>Calculation and make sure "Automatic" is checkmarked.


Gord Dibben MS Excel MVP

On Fri, 1 Jun 2007 17:41:00 -0700, Yaka <Yaka@discussions.microsoft.com> wrote:

>lRoger, thank you so much... the formula works . however when I copy down
>column B the original weight I put in the formula copies all the way down.
>What did I do wrong?.


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off