1. Welcome! Please take a few seconds to create your free account to post threads, make some friends, remove a few ads while surfing and much more. ClutchFans has been bringing fans together to talk Houston Sports since 1996. Join us!

[Excel Help] Not exactly a V-Lookup...

Discussion in 'BBS Hangout' started by kpsta, Apr 1, 2010.

  1. kpsta

    kpsta Member

    Joined:
    Sep 2, 2001
    Messages:
    2,654
    Likes Received:
    166
    Hey - I need excel help.

    I have been given a really long messy worksheet. I need to pull single values that are all in the same column... but they're exactly 53 rows apart (and there are over 200 of them).

    In other words, the first value I need is in cell B3, the next is in B54, the next in B105, then B156, and so on... down to B11491. Is there a formula that will do that such that I end up with a discrete list of the values?

    Thanks!
     
  2. kpsta

    kpsta Member

    Joined:
    Sep 2, 2001
    Messages:
    2,654
    Likes Received:
    166
    Nevermind... I found another way, but I got it. :cool:
     
  3. TreeRollins

    TreeRollins Member

    Joined:
    Nov 7, 2006
    Messages:
    2,052
    Likes Received:
    102
    =B2&""&B54""&B105""B156.. and so on

    you can put spaces between the quotes if you need spaces between your values
     
  4. McNultyisDrunk

    Joined:
    Jan 7, 2010
    Messages:
    1,213
    Likes Received:
    418
    I just wanted to say that you have some sweet guitars, kpsta.

    I love the non-reverse P-90 Firebird and the 12 string Guild hollowbody.

    And I'm glad you figured out the Excel problem. :grin:
     
  5. ScriboErgoSum

    ScriboErgoSum Member
    Supporting Member

    Joined:
    Aug 5, 2002
    Messages:
    3,150
    Likes Received:
    388
    Sounds like you got it, but a sweet way to handle this is the INDIRECT function.

    Essentially, =INDIRECT(B3) will display the results of the cell B3.

    For your sheet you could have set up a column of formulas in column A. Since your values were 51 rows apart starting on row 3, you could use the following formula to determine the range.

    (((ROW(B3)-3)*51)+1)

    That would return 3 as your first value on row 3, then 54 on row 4, then 105 on row 5, etc.

    So on A3 you could enter =INDIRECT("B"&TEXT((((ROW(B3)-3)*51)+1), "####")) then copy that down to get your data in a nice neat column with no breaks.

    However, your problem sounds like creative sorting would be the easier approach.
     

Share This Page