create 3 sheet which has records look like having many to many relationship

Copper Contributor

table 1            

item no
1
2
3

 

table 2

Name
a
b
c

 

expected table

item noName
1a
1b
1c
2a
2b
2c
3a
3b
3c

 

PLease let me know how can be this implemented? is there any automated way to do this?

2 Replies

@Amit_Pathare1491 

I have added both a formula(D2:D10)&(E1:E10) and a macro(shall run in G:H).

 

IF(COUNTIF($D$2:D2,D2)<=3,D2,D2+1)

@Amit_Pathare1491 

As variant wit Power Query - query both, add one to another as custom column and expand

image.png