+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Intervals

  1. #1
    Registered User
    Join Date
    11-16-2009
    Location
    Windy City
    MS-Off Ver
    Excel 2003
    Posts
    47

    Intervals

    Hi, I have a question if there is formula, for something that is in the atachment. Simply what I would like is that I have around 500 of such 4 columns sequences, and I would like to divide them into groups. So for example, numbers from 1 to 3, including 3 would be named letter " A", from 4 to 6 including 6 would be letter " B", and so on. Also, I would like the original numbers to stay, without replacing it.

    Thanks
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-16-2009
    Location
    Windy City
    MS-Off Ver
    Excel 2003
    Posts
    47

    Re: Intervals

    Anyone?????

  3. #3
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Intervals

    =char(int((b2-1)/3)+65)
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  4. #4
    Registered User
    Join Date
    11-16-2009
    Location
    Windy City
    MS-Off Ver
    Excel 2003
    Posts
    47

    Re: Intervals

    Thanks, but what If I want to make it every 4,5 and so on? then I have to change the "b2-1)/4" instead of "b2-1)/3" Also why 65?

    Thx

  5. #5
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Intervals

    65 equals A, 66 equals B etc.

    and yes, the interval is determined with the 3,4,5,6

  6. #6
    Registered User
    Join Date
    11-16-2009
    Location
    Windy City
    MS-Off Ver
    Excel 2003
    Posts
    47

    Re: Intervals

    Ok, Thx, but I have one more question. Now when I have letters in rows, is there a formula or vba, that will count all the possibilities, so for example if in first row there are letters in 5 columns; A, B, C, D, E, then it will look up all such combinations and paste them in another sheet. It will search the second rows of 5 columns with maybe different sequence of letters, and will do the same, and if the row 2, and 456 have the same letters, then this process wouldn't be done again with row 456.

    What I would like is similar to TextCrawl program, but in it, I have to manually put the numbers, which with alot of rows would be tidious, so I hope there is a shorther, faster way.

    Thanks

+ 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