Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default selecting every other data point in a column

I have a column of data, say 1 to 100. I want to create a new column with
every other data point, i.e. 1,3,5,7,9.......

What is the best wayto create that?

Thanks
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: selecting every other data point in a column

To select every other data point in a column, you can follow these steps:
  1. In a new column, enter the formula "=MOD(row_number,2)" in the first cell. This will return a 0 or 1 for each row, indicating whether it is an even or odd row.
  2. Copy the formula down the entire column.
  3. Select the entire column, including the header.
  4. Go to the "Data" tab in the ribbon and click on "Filter".
  5. Click on the drop-down arrow in the header of the new column and uncheck the box next to "0".
  6. Click "OK" and you will now have a filtered list of every other data point in the original column.

I hope that helps!
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default selecting every other data point in a column

Assuming your data starts in A2 put in C2 =A2
then select C2 and C3 together
Click and drag the handle down for the 100 rows, and he formula will only be
in every other row. Then select cells C2 to C100 and copy, then paste special
values, then sort a-z to order numbers to top.
--
If this is the answer you hoped for please remember to click the yes button
below...

Kind regards

Rik


"Joe Troutman" wrote:

I have a column of data, say 1 to 100. I want to create a new column with
every other data point, i.e. 1,3,5,7,9.......

What is the best wayto create that?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default selecting every other data point in a column

One easy, generic way

Assume your source data in A2:A100
Put in B2: =INDEX(A$2:A$100,ROWS($1:1)*2-1)
Copy down as far as required to exhaust.

The series generator for 1,3,5,7,...
is: ROWS($1:1)*2-1

You could place in any startcell: =ROWS($1:1)*2-1
and copy down to see the series gen

Hence plugging the above into: INDEX(SourceCol,SeriesGenerator)
and copying down will return exactly what you seek

Success? hit the YES below
--
Max
Singapore
---
"Joe Troutman" wrote:
I have a column of data, say 1 to 100. I want to create a new column with
every other data point, i.e. 1,3,5,7,9.......

What is the best way to create that?

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default selecting every other data point in a column

Hi,

Let's say 1 to 100 is in range C6:C105. In C5, type numbers. In E6, type
=isodd(c6). In E5, type Condition. Now go to Data Filter Advanced
Filter and select Copy to another location. In the list range, select
C5:C105. In criteria range, select E5:E6. Now click on OK

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Joe Troutman" <Joe wrote in message
...
I have a column of data, say 1 to 100. I want to create a new column with
every other data point, i.e. 1,3,5,7,9.......

What is the best wayto create that?

Thanks


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
Returning a column reference for a data point Totteridge Ram Excel Discussion (Misc queries) 4 June 30th 09 03:33 PM
Selecting data from a column RON Excel Worksheet Functions 3 March 7th 07 02:05 AM
Stacked column chart wit more than one column in a data point Hari Charts and Charting in Excel 2 February 15th 07 06:20 AM
Excel should let you graph every n-th data point in a column warrenrob50 Charts and Charting in Excel 3 March 3rd 06 08:42 PM
How do I delete data in a column from a certain point on? carolineeg Excel Worksheet Functions 0 May 19th 05 03:20 PM


All times are GMT +1. The time now is 03:33 AM.

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"