+ Reply to Thread
Results 1 to 2 of 2

Select every nth cell in a column

  1. #1
    Registered User
    Join Date
    04-18-2024
    Location
    MD, USA
    MS-Off Ver
    365 MSO
    Posts
    1

    Select every nth cell in a column

    Hello, this is my first post.

    I have a excel file that people fill in vaca, holiday, etc, and I would like to be able to select every nth (usually 5th) cell in a column so I can paste in repeating events. I've seen how to select whole columns/rows, but not how to do that at the cell level. Thanks in advance for your help.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,969

    Re: Select every nth cell in a column

    There are a number of ways to do that.

    For example, in a cell in row 2, enter the formula

    =MOD(ROW()-2,5)+1

    and copy that cell down to match your entries.

    Then apply a filter to that column, and choose a number that matches the rows where you want to enter a value. That will hide 4 out of each 5 rows. Then select all the cells in the column where you want to enter your value, type the value, and use Ctrl-Enter instead of just Enter. That will fill all the selected cells with that value. Then remove the filter and you're done.

    Or - if you want to enter the same 5 things in repeat, simply enter them into a group of 5 cells, select those 5 cells, copy them, then select cells in multiples of 5 and paste.
    Last edited by Bernie Deitrick; 04-18-2024 at 01:17 PM.
    Bernie Deitrick
    Excel MVP 2000-2010

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] VBA to select A Range Based on A a fixed cell then the last cell in the Column with Data
    By qwertyyy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-25-2022, 01:02 AM
  2. Replies: 1
    Last Post: 12-07-2021, 11:38 AM
  3. [SOLVED] Select next empty cell in column, if data in another column meets criteria
    By Kanuck in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-08-2018, 02:34 PM
  4. [SOLVED] Column A & B Match then select cell from a variable adjacent column on same row
    By Belinea2010 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 08-08-2015, 08:59 PM
  5. Select part of a cell in a column to multiple by another column cell
    By dadirtypanda in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-17-2014, 03:57 PM
  6. Replies: 4
    Last Post: 06-17-2013, 05:21 AM
  7. Replies: 10
    Last Post: 07-12-2010, 08:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1