G
Guest
Hey everyone,
Is it possible to count the number of times something appears in one sigle
cell for each record?
Example: I have a RACE field which was imported from another source.
Sometimes, a person may match two or more races. So here's how the field may
look:
RACE FIELD:
Hispanic
Asian, Caucasian
Afr-American, Hispanic, Asian
Caucasian
You see, sometimes just one race is entered, and other times it's multiple
races. What I need to do is count the number of times a race has been
selected for a patient. Using the same sequence above, I want my newly
calculated field to display:
1
2
3
1
(the number races that were selected). Can I do this?
And yes - I know normalization would be highly recommended. But this is how
the data has been given to me, and all the client wants is a physical count.
Thanks!
Is it possible to count the number of times something appears in one sigle
cell for each record?
Example: I have a RACE field which was imported from another source.
Sometimes, a person may match two or more races. So here's how the field may
look:
RACE FIELD:
Hispanic
Asian, Caucasian
Afr-American, Hispanic, Asian
Caucasian
You see, sometimes just one race is entered, and other times it's multiple
races. What I need to do is count the number of times a race has been
selected for a patient. Using the same sequence above, I want my newly
calculated field to display:
1
2
3
1
(the number races that were selected). Can I do this?
And yes - I know normalization would be highly recommended. But this is how
the data has been given to me, and all the client wants is a physical count.
Thanks!