Get Combination of two lists

Hello,

I am taking input in the form of two Lists.
List 1 ( A,B,C) and List2 (1,2,3,4) .
I wish to generate the combination of these two lists. A1,A2,A3,A4,B1,B2,B3,B4,C1,C2,C3,C4.

Wondering is there a way to do it , any formula or should we write our own custom code.

Regards
Yash

@yash1

Yes, You can write a custom code for this. Should be fairly straightforward javascript code to achieve the same.

If you want to use it in workflow then use Code Block task to write custom code or you can create Custom Function if you want to use this function in App.

Hope this Helps!