Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Remove 'X" amount of data from column

Is there a formula that will remove every 10th cell from a column of 10,000
cells?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default Remove 'X" amount of data from column

A formula cannot delete/add/copy etc; it can only display a result
In the first cell in column next to the one of interest enter
=--(mod(row(),10)=1)
Copy this down as far as needed
This will give you a series of zeros and ones (0, 1) with every tenth row
having the 1 value
Next we must turn these formulas to values so we can sort: select all the
new cells; use Copy and with them still selected use Edit |Paste Special and
specify values
Sort the two column (the one of interest and the new one) with the new
column as the sort key
Now all the 1's are at the bottom and can be deleted
Then delete the new column
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"wttodd24" wrote in message
...
Is there a formula that will remove every 10th cell from a column of
10,000
cells?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,180
Default Remove 'X" amount of data from column

Or without a formula or an extra column:
Format the first cell with some pattern or color.
Select the first 10 cells Copy
Select your 10,000 cells with
SHIFT+double-click lower border
Paste Special Format
Edit Find Option Format Choose format from cell
Find All SHIFT+END Close
Delete

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
How do I remove "special characters" from cell data? Cal Excel Discussion (Misc queries) 3 July 17th 06 07:13 PM
Pivot Table - Remove "sum of" in data field abgmclt Excel Discussion (Misc queries) 2 May 26th 06 08:22 PM
Change data in a single column from "last, first" to "first last" Jeanne Excel Discussion (Misc queries) 2 March 27th 06 08:40 PM
remove last character in a column of part numbers if a "V" leo Excel Discussion (Misc queries) 3 January 18th 06 05:07 PM
Matching one column against another column of data to show the same amount of data. dodat Excel Worksheet Functions 0 December 30th 05 06:19 PM


All times are GMT +1. The time now is 12:54 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"