We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Repeat entries in rows as index

Infrecon
6 - Meteoroid

I have the following problem. I have the following table (note that columns 2-X are only dummies and are each different), unfortunately the original Excel is very badly formatted:

 

T1     
AAXXXXX
A1XXXXX
T2     
A3XXXXX
T3     
B4XXXXX
..................

 

You see that there is always one line with only one entry.
This is a supercategory for the entries that follow.

 

T11AAXXXXX
T11A1XXXXX
T22A3XXXXX
T33B4XXXXX
  ..................


For the sake of simplicity, I have only included a few examples after that.
The supercategories run from T1 to T27, then it starts all over again with a different year.

 

The second line is an index which repeats after T27.
Attention, T27 is only an example, in the original these are strings

 

I would like to have the following output:

1 REPLY 1
Felipe_Ribeir0
16 - Nebula

Hi @Infrecon 

 

Here is a way of doing this. 

 

Felipe_Ribeir0_0-1663868534903.png

 

If the provided answer helped you to solve the problem/was correct, please accept it as a solution :)

 

Thanks.

Labels
Top Solution Authors