SOLVED
Creating a variable with paramters
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Riot
8 - Asteroid
02-18-2016
09:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Im trying to create a 1,0 variable that states if the subject is a mother.
So i am looking for something like
If Age 0<
and
Gender = F
and
Kids 0<
Then Mother =1
Else 0
But I can't quite get it.
Solved! Go to Solution.
Labels:
- Labels:
- Expression
- Preparation
2 REPLIES 2
ACE Emeritus
02-18-2016
09:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Try:
IF [Age] > 0 AND [Gender] = 'F' AND [Kids] > 0 THEN 1 ELSE 0 ENDIF
In a formula tool:
02-18-2016
09:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Perfect!!
