Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jlk jlk is offline
external usenet poster
 
Posts: 4
Default simple subtraction

For each row of data, I want to display the difference between the value in
cell C of the current row, and C in the next row. eg where "x" is the
current row:
=SUM (C(x+1), -Cx)

How do I create this formula ?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default simple subtraction

You can not use the value in the same cell containing the formula

You can have this in D3
=C3-C4 to get the difference, between C3 and C4, in D3

"jlk" wrote:

For each row of data, I want to display the difference between the value in
cell C of the current row, and C in the next row. eg where "x" is the
current row:
=SUM (C(x+1), -Cx)

How do I create this formula ?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jlk jlk is offline
external usenet poster
 
Posts: 4
Default simple subtraction

Thank you, I do plan to use D3. However my sheet is hundreds of rows long. I
wish to enter one formula for the whole sheet, not in each row. How to do?


"Sheeloo" wrote:

You can not use the value in the same cell containing the formula

You can have this in D3
=C3-C4 to get the difference, between C3 and C4, in D3

"jlk" wrote:

For each row of data, I want to display the difference between the value in
cell C of the current row, and C in the next row. eg where "x" is the
current row:
=SUM (C(x+1), -Cx)

How do I create this formula ?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default simple subtraction

Enter the formula in D3
Select D3
Choose Edit-Copy
Select from D3 down to the last cell in Col D
Choose Edit-Paste

"jlk" wrote:

Thank you, I do plan to use D3. However my sheet is hundreds of rows long. I
wish to enter one formula for the whole sheet, not in each row. How to do?


"Sheeloo" wrote:

You can not use the value in the same cell containing the formula

You can have this in D3
=C3-C4 to get the difference, between C3 and C4, in D3

"jlk" wrote:

For each row of data, I want to display the difference between the value in
cell C of the current row, and C in the next row. eg where "x" is the
current row:
=SUM (C(x+1), -Cx)

How do I create this formula ?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jlk jlk is offline
external usenet poster
 
Posts: 4
Default simple subtraction

Thank you!! (I thought there would be a simple solution)

"Sheeloo" wrote:

Enter the formula in D3
Select D3
Choose Edit-Copy
Select from D3 down to the last cell in Col D
Choose Edit-Paste

"jlk" wrote:

Thank you, I do plan to use D3. However my sheet is hundreds of rows long. I
wish to enter one formula for the whole sheet, not in each row. How to do?


"Sheeloo" wrote:

You can not use the value in the same cell containing the formula

You can have this in D3
=C3-C4 to get the difference, between C3 and C4, in D3

"jlk" wrote:

For each row of data, I want to display the difference between the value in
cell C of the current row, and C in the next row. eg where "x" is the
current row:
=SUM (C(x+1), -Cx)

How do I create this formula ?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default simple subtraction

Did you get what you wanted?

"jlk" wrote:

Thank you!! (I thought there would be a simple solution)

"Sheeloo" wrote:

Enter the formula in D3
Select D3
Choose Edit-Copy
Select from D3 down to the last cell in Col D
Choose Edit-Paste

"jlk" wrote:

Thank you, I do plan to use D3. However my sheet is hundreds of rows long. I
wish to enter one formula for the whole sheet, not in each row. How to do?


"Sheeloo" wrote:

You can not use the value in the same cell containing the formula

You can have this in D3
=C3-C4 to get the difference, between C3 and C4, in D3

"jlk" wrote:

For each row of data, I want to display the difference between the value in
cell C of the current row, and C in the next row. eg where "x" is the
current row:
=SUM (C(x+1), -Cx)

How do I create this formula ?

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default simple subtraction

Or, having entered the formula in D3, double-click the fill handle in the
bottom right-hand corner of D3 and it will fill all the way down the length
of a continuous range in column C.
--
David Biddulph

"Sheeloo" <="to" & CHAR(95) & "sheeloo" & CHAR(64) & "hotmail.com" wrote in
message ...
Enter the formula in D3
Select D3
Choose Edit-Copy
Select from D3 down to the last cell in Col D
Choose Edit-Paste

"jlk" wrote:

Thank you, I do plan to use D3. However my sheet is hundreds of rows
long. I
wish to enter one formula for the whole sheet, not in each row. How to
do?


"Sheeloo" wrote:

You can not use the value in the same cell containing the formula

You can have this in D3
=C3-C4 to get the difference, between C3 and C4, in D3

"jlk" wrote:

For each row of data, I want to display the difference between the
value in
cell C of the current row, and C in the next row. eg where "x" is
the
current row:
=SUM (C(x+1), -Cx)

How do I create this formula ?



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7,247
Default simple subtraction


If your data begins in C1, just enter

=C2-C1

and then select all the cells down column D and then press CTRL R (or
choose Fill Down on the Edit menu) to fill the formula down all the
rows in the selected range. Excel will automatically change the row
numbers in the formula as it fills down. Of course, if your data
starts on a row other than 1, change the row numbers in the original
formula to those row numbers.

Cordially,
Chip Pearson
Microsoft MVP
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Sat, 13 Dec 2008 18:03:00 -0800, jlk
wrote:

For each row of data, I want to display the difference between the value in
cell C of the current row, and C in the next row. eg where "x" is the
current row:
=SUM (C(x+1), -Cx)

How do I create this formula ?

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
Simple Adding/Subtraction and format of cell. - HELP!!! James8309 Excel Worksheet Functions 2 June 17th 08 03:09 PM
Subtraction Rookie Excel Worksheet Functions 14 February 24th 08 11:42 AM
how do I set up a simple subtraction between two cells Patricia Braszell Excel Discussion (Misc queries) 1 June 4th 07 08:00 AM
simple subtraction nikpleep New Users to Excel 2 June 1st 07 10:10 AM
How do I show a percentage in Excel? Or do a simple subtraction? Doug Wilson New Users to Excel 1 March 5th 05 09:26 PM


All times are GMT +1. The time now is 09:28 PM.

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"