+ Reply to Thread
Results 1 to 6 of 6

Howto Select Everyth 5th cell in a coulmn

  1. #1
    Registered User
    Join Date
    03-09-2009
    Location
    New York, USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Howto Select Everyth 5th cell in a coulmn

    Hi, This is my first post here, I am trying to selcet every 5th cell in a column, and so far have been unsuccessful. Can anyone point me in the right direction?


    Any help will be greatly appreciated.



    Thanks
    Hyper

  2. #2
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: Howto Select Everyth 5th cell in a coulmn

    Could do something along the line of:
    Please Login or Register  to view this content.
    or

    Please Login or Register  to view this content.
    As you copied that down through column B or wherever, it'd take the row that it's placed in ROW() and increase it by 5. You may need to add in a + or - depending on where your start point is.

    mew.
    =IF(AND(OR(BLONDE,BRUNETTE,REDHEAD),OR(MY PLACE,HER PLACE),ME),BOW-CHICKA-BOW-WOW,ANOTHER NIGHT ON THE INTERNET)

  3. #3
    Forum Contributor GuruWannaB's Avatar
    Join Date
    01-24-2008
    Location
    An hour due East of Cowtown Ohio
    MS-Off Ver
    2010
    Posts
    421

    Re: Howto Select Everyth 5th cell in a coulmn

    Are you doing this manually? = Hold the CTRL key down while you select the cells.

    Or are you trying to macro this out? If so...to what range and what do you want it to do afterwards?
    I help because of the Pavlovian dog that resides in the inner me...so if you are happy with the results, please add to my reputation. It helps keep me motivated!



    Please mark your threads as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    03-09-2009
    Location
    New York, USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Howto Select Everyth 5th cell in a coulmn

    Definitley trying to Macro it out.....I would like to then take the selected cells and move them to another sheet. which would have all of the 5th cells from the column on it.

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Howto Select Everyth 5th cell in a coulmn

    in a spare column put =mod(row(),5) drag down then filter on whichever number lines up with your data. select visible cells,copy paste somewhere else
    (to select visible cells,right click on tool bar,customise,edit, scrolldown to bottom of commands drag the visible cells icon to tool bar) once filtered click it then when you copy the column (or columns)you only get what you see.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: Howto Select Everyth 5th cell in a coulmn

    Please Login or Register  to view this content.
    If you're deadset on a macro, something like that would work. You could of course adjust the initial x and y to suit your target/destination if necessary.

+ 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.6.0 RC 1