Challenge #374: Using Iterative Macros
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
RWvanLeeuwen
11 - Bolide
06-26-2023
01:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
OzlemSigbeku
8 - Asteroid
06-26-2023
11:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
It may be cheating but I couldn't find another way to do it. I changed the input to include a 'Factorial' column.
ARussell34
8 - Asteroid
06-27-2023
08:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Alteryx
06-28-2023
02:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
ArnaldoSandoval
12 - Quasar
07-03-2023
10:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
This is my solution:
- Added support field to accumulate the factorial result.
- My macro features a lovely n! icon.
- I implemented error handling, if we request the factorial of a negative number or non-integer we get an error message on the workflow's Results messages pane.
- The output also feature an extra column, Error Message for any error processing the number.
Spoiler
Macro's workflow; the Yellow-Red arrows points to the error traps, and error messages.

After excution the macro gets a red-exclamation sign, and the Workflow results describe the errors.

Macro's workflow; the Yellow-Red arrows points to the error traps, and error messages.
After excution the macro gets a red-exclamation sign, and the Workflow results describe the errors.
Finally, the macro returns the Error Message column.
rmassambane
10 - Fireball
07-06-2023
05:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
SylwiaDragon
8 - Asteroid
07-07-2023
02:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
SaiKrishna2589
8 - Asteroid
07-11-2023
12:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
LorenzNacilla
8 - Asteroid
07-17-2023
02:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
DataCruncher3
7 - Meteor
07-17-2023
10:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator