![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a four fields that were defined by subjects checking off answers on a value list. Subjects could check European, Asian, and/or Russian for the ancestry of each of their grandparents. I want to make an index which says what percentage of each ethnicity someone is. So if someone has 3 asian grandparents, I would calculate 3 for another field called Asian. Thanks to a superfast response to my last question, I found that the PatternCount function almost gets me what I need. If I say "patterncount( Grandparent1 & Grandparent2 & Grandparent3 & Grandparent4, Asian)", I will get 3. I could make three fields, European, Asian, and Russian that each calculate the percentage of the relevant ethnicity in a similar manner. (For some reason the If function does not seem to work on this text field derived from a value list). My problem is if someone has a multiracial ancestor. If, for example they have 3 asian grandparents and one who is asian-russian, I would want a value of 3.5 returned. Anyone know how to do this? |
#3
| |||
| |||
|
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |