+ Reply to Thread
Results 1 to 3 of 3

Picking the words from left to right

  1. #1
    Forum Contributor
    Join Date
    03-16-2007
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2007
    Posts
    202

    Picking the words from left to right

    Hello, I need help with this:

    In the attached file, the black part is given, and the red part is what the formulas should return. The formula is picking the words from left to right as long as there are any, and when finished, it starts from the beginning again.
    I want it to be possible to extend the formula to the right, so that the formula keeps filling the cells no matter how many columns there are. (But the number of "black" columns with given words is fixed).

    Thanx in advance
    Attached Files Attached Files
    Last edited by NBVC; 07-21-2011 at 12:10 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Picking the words from left to right

    Try:

    =INDEX($B1:$J1,MOD(COUNTA($B1:$J1)+COLUMNS($K1:K1)-1,COUNTA($B1:$J1))+1)

    copied down and across
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

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

  3. #3
    Forum Contributor
    Join Date
    03-16-2007
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2007
    Posts
    202

    Re: Picking the words from left to right

    PERFECT!! ) Thanks a lot!!

+ 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