Using Conditional Formulae to Create Categories
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
sparshpankaj
7 - Meteor
04-11-2021
02:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Everyone
I am extremely new in my analytics journey on Alteryx, and would love to seek help from you lovely folk. Here's my issue:
| Task 21 | Classify the orders into Lunch, dinner and others category Lunch = 12 pm to 3 pm |
The data I currently have has the following fields:
Please help me out, I am a fresh graduate and my employment depends on how I do in this training exercise 🙂
2 REPLIES 2
KaneG
Alteryx Alumni (Retired)
04-11-2021
10:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
You should be able to just do this in a formula tool. You can use an IF/THEN/ELSEIF/THEN/ELSE formula.
So,
IF [Time]>12 && [Time] < 15
THEN "Lunch"
ELSEIF [Time] > 19
THEN "Dinner"
ELSE "Other"
ENDIF
21 - Polaris
04-12-2021
10:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
A sample dataset would be helpful for us to prepare a sample flow. 😁

