#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Classify grups

hi,

How do I create a column that classify grups, like if i have one column with
numbers from 0 to 2000 and I want another column that gives me a number like
1 if the other number is from 0 th 300, 2 if the number is from 301 to 500, 3
if the number is from 501 to 1000, 4 if the number is from 1001 to 1500 and 5
if the number is bigger than 1501.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Classify grups

Have a look in Excel help for the function VLOOKUP.
--
David Biddulph

"Tiiii" wrote in message
...
hi,

How do I create a column that classify grups, like if i have one column
with
numbers from 0 to 2000 and I want another column that gives me a number
like
1 if the other number is from 0 th 300, 2 if the number is from 301 to
500, 3
if the number is from 501 to 1000, 4 if the number is from 1001 to 1500
and 5
if the number is bigger than 1501.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 168
Default Classify grups

Hi Tiiii,

With your numbers in A1 down, try this in B1
=LOOKUP(A1,{0,301,501,1001,1501},{1,2,3,4,5})
and drag down as far as needed.

HTH
Martin


"Tiiii" wrote in message
...
hi,

How do I create a column that classify grups, like if i have one column
with
numbers from 0 to 2000 and I want another column that gives me a number
like
1 if the other number is from 0 th 300, 2 if the number is from 301 to
500, 3
if the number is from 501 to 1000, 4 if the number is from 1001 to 1500
and 5
if the number is bigger than 1501.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Criteria to Classify groups Karoline Excel Worksheet Functions 11 July 6th 08 11:36 AM
Classify in categories Joyce Excel Discussion (Misc queries) 4 October 20th 06 11:55 AM
keyboard shortcuts - classify data José Raphael Daher Excel Discussion (Misc queries) 2 March 3rd 06 03:11 PM
How do you classify an Excel user? Sandi Excel Discussion (Misc queries) 1 February 28th 06 12:42 AM


All times are GMT +1. The time now is 11:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"