Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.newusers
|
|||
|
|||
How can I choose alternate rows in a column?
My requirement is to be able to create a column whose elements consist of
difference between adjacent elements in a column, say column A. If I can choose alternate elements and create 2 new columns then I can just subtract the 2 columns easily. |
#2
Posted to microsoft.public.excel.newusers
|
|||
|
|||
How can I choose alternate rows in a column?
Huh?
"pnair" wrote in message ... My requirement is to be able to create a column whose elements consist of difference between adjacent elements in a column, say column A. If I can choose alternate elements and create 2 new columns then I can just subtract the 2 columns easily. |
#3
Posted to microsoft.public.excel.newusers
|
|||
|
|||
How can I choose alternate rows in a column?
Hi,
I don't quite understand what you want to do. Let's suppose that the data are in A1:A100. If you want, B2 to be equal to A2-A1, B3 to be equal to A3-A2, ........, B100 to be equal to A100-A99, enter the formula =A2-A1 in B2 and click ENTER. B1 wil be blank. Click again on B2, and autofill the formula down to B100 (for this, click on B2, move the cursor to the bottom right side corner of the cell (the cursor will change into a "+" sign), hold the left-side mouse button and drag down the rows to B100). If you, on the other hand, want only ALTERNATE cells in column B (i.e., B2, B4, B6, ... B100) show the difference between A values of the corresponding and the previous rows (i.e., B1, B3, B5, ... B99 will be blank), do the following. Enter the same formula (i.e., =A2-A1) in B2. Now select B1 and B2, and autofill the column down to B100. Now B2 will show A2-A1, B3 will be blank, B4 will show A4-A3, B5 will be blank, B6 will show A6-A5, ..., and ..B100 will show A100-A99. Regards, B. R. Ramachandran "pnair" wrote: My requirement is to be able to create a column whose elements consist of difference between adjacent elements in a column, say column A. If I can choose alternate elements and create 2 new columns then I can just subtract the 2 columns easily. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Count rows that match criteria in 2 different column cell ranges | New Users to Excel | |||
IF/AND/OR/DATEIF Issue...sorry...long post... | Excel Worksheet Functions | |||
creating a bar graph | Excel Discussion (Misc queries) | |||
generate multiple rows based on cell value | Excel Worksheet Functions | |||
I need a formula to find rows within a date range in one column? | Excel Worksheet Functions |