+ Reply to Thread
Results 1 to 2 of 2

Thread: referencing patterned cells

  1. #1
    Registered User
    Join Date
    02-26-2008
    Posts
    1

    referencing patterned cells

    Hello, I have information on 7 different sheets that I would like to take some cells from each sheet and paste on a seperate sheet (there is 68 cells of data from each sheet that I want). The problem is the data is in every 5th cell and I don't want the other 4 in between to be linked. ex:

    1 56.78
    2 junk
    3 junk
    4 junk
    5 junk
    6 38.57
    7 junk
    etc..

  2. #2
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    02-15-2008
    Location
    Grappenhall, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    6,566
    Quote Originally Posted by ShawnC
    Hello, I have information on 7 different sheets that I would like to take some cells from each sheet and paste on a seperate sheet (there is 68 cells of data from each sheet that I want). The problem is the data is in every 5th cell and I don't want the other 4 in between to be linked. ex:

    1 56.78
    2 junk
    3 junk
    4 junk
    5 junk
    6 38.57
    7 junk
    etc..

    One way is to use a helper column alongside your data. So assuming the above starts in say A6, in B6 put

    =IF(MOD(ROW()-6,5)=0,"Keep","Junk")

    and copy down. Note the '-6' bit should be altered to another row number if you start at a different row. This marks every 5th row with the word 'Keep'. You can now sort your data along with column B, using B as the sort key. All the 'Keeps' will then be together and you can then select them in one go and copy and paste them.

    HTH

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0