+ Reply to Thread
Results 1 to 5 of 5

Need To Refer To Alternate Rows

Hybrid View

  1. #1
    Registered User
    Join Date
    09-25-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    17

    Need To Refer To Alternate Rows

    Dear all,

    I have a list few-hundred long, filled with unwanted rows. This is a common problem when I had to copy large amounts of info from webpages. I want to manage this long list using a separate sheet, but I have to remove the alternate unwanted rows by doing : =A1, =A3, =A5, etc.

    The list is few-hundred long and I cannot do this forever. Is there a formula so I can drag it and drop it? I have attached a sample copy of my problem.

    Thanks guys.
    Attached Files Attached Files

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Need To Refer To Alternate Rows

    =indirect("a" & rows($1:1)*2-1)
    Gary's Student

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,303

    Re: Need To Refer To Alternate Rows

    Try:

    =INDIRECT("'Pasted From Webpage'!" &LEFT(ADDRESS(1,COLUMN(A1)),FIND("$",ADDRESS(1,COLUMN(A1)),2)-1)&ROWS($1:2)*2)

    Copy down and across.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    09-25-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Need To Refer To Alternate Rows

    Thanks guys!! works like magic!

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,303

    Re: Need To Refer To Alternate Rows

    You have two solutions. Which one "worked like magic"?

    Regards, TMS


    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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