Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 02-09-2010, 03:55 PM
freehawk freehawk is offline
Registered User
 
Join Date: 16 Nov 2009
Location: Chicago,USA
MS Office Version:Excel 2003
Posts: 30
freehawk is becoming part of the community
Intervals

Please Register to Remove these Ads

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
File Type: xls Example.xls (13.5 KB, 4 views)
Reply With Quote
  #2  
Old 02-09-2010, 04:11 PM
freehawk freehawk is offline
Registered User
 
Join Date: 16 Nov 2009
Location: Chicago,USA
MS Office Version:Excel 2003
Posts: 30
freehawk is becoming part of the community
Re: Intervals

Anyone?????
Reply With Quote
  #3  
Old 02-09-2010, 04:15 PM
rwgrietveld's Avatar
rwgrietveld rwgrietveld is offline
Forum Guru
 
Join Date: 02 Sep 2008
Location: Netherlands
MS Office Version:XL 2007 / XL 2010
Posts: 1,643
rwgrietveld is very confident of their ability rwgrietveld is very confident of their ability rwgrietveld is very confident of their ability rwgrietveld is very confident of their ability rwgrietveld is very confident of their ability
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
Reply With Quote
  #4  
Old 02-09-2010, 04:25 PM
freehawk freehawk is offline
Registered User
 
Join Date: 16 Nov 2009
Location: Chicago,USA
MS Office Version:Excel 2003
Posts: 30
freehawk is becoming part of the community
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
Reply With Quote
  #5  
Old 02-09-2010, 04:50 PM
rwgrietveld's Avatar
rwgrietveld rwgrietveld is offline
Forum Guru
 
Join Date: 02 Sep 2008
Location: Netherlands
MS Office Version:XL 2007 / XL 2010
Posts: 1,643
rwgrietveld is very confident of their ability rwgrietveld is very confident of their ability rwgrietveld is very confident of their ability rwgrietveld is very confident of their ability rwgrietveld is very confident of their ability
Re: Intervals

65 equals A, 66 equals B etc.

and yes, the interval is determined with the 3,4,5,6
__________________
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
Reply With Quote
  #6  
Old 02-09-2010, 05:16 PM
freehawk freehawk is offline
Registered User
 
Join Date: 16 Nov 2009
Location: Chicago,USA
MS Office Version:Excel 2003
Posts: 30
freehawk is becoming part of the community
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 With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump