ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How can I make categories out of my data? (https://www.excelbanter.com/excel-worksheet-functions/121867-how-can-i-make-categories-out-my-data.html)

NoviceinEXCEL

How can I make categories out of my data?
 
I would like to create categories, like in SPSS when we use the "compute"
fonction. I would like to compute the existing data into new categories

Don Guillett

How can I make categories out of my data?
 
I think you need to assume that we are not mind readers or conversant with
whatever you are talking about. Pls give a detailed explanation of what you
want with before and after examples.

--
Don Guillett
SalesAid Software

"NoviceinEXCEL" wrote in message
...
I would like to create categories, like in SPSS when we use the "compute"
fonction. I would like to compute the existing data into new categories




CLR

How can I make categories out of my data?
 
Try adding a new column to your data field and typing in it the "category"
for each row........then later, this column can be used for sorting, and/or
Autofiltering to bring all the like rows together..........

hth
Vaya con Dios,
Chuck, CABGx3

"NoviceinEXCEL" wrote:

I would like to create categories, like in SPSS when we use the "compute"
fonction. I would like to compute the existing data into new categories


Don Guillett

How can I make categories out of my data?
 
In the absense of any detail, try this idea

Sub categorize()
For Each c In Range("b2:b12")
Select Case c.Value
Case Is = "Sun", "Tues", "Thur": x = 3
Case Is = "Mon", "Wed": x = 4
Case Else
End Select
c.Offset(, 4) = x
Next c
End Sub


--
Don Guillett
SalesAid Software

"Don Guillett" wrote in message
...
I think you need to assume that we are not mind readers or conversant with
whatever you are talking about. Pls give a detailed explanation of what you
want with before and after examples.

--
Don Guillett
SalesAid Software

"NoviceinEXCEL" wrote in message
...
I would like to create categories, like in SPSS when we use the "compute"
fonction. I would like to compute the existing data into new categories







All times are GMT +1. The time now is 08:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com