I have multiple columns if data and I need to create unique rows for each LOC1 & LOC2:
Picture of mock-up:

LOC 1 LOC 2 FC AMT Type
CUN ABQ LLA0PNR 10 AN1
CUN AUS BLA0PNR 15 NR2
CUN GSP QLA0PNR 16 AN1
CUN DAL HLA0PNR 14 NR2
CUN HOU WLA0PNR 13 AN1
CUN ELP RLA0PNR 12 AN3
CUN MDW OLA0PNR 11 NR4
Create:
CUN ABQ LLA0PNR 10 AN1
CUN ABQ BLA0PNR 15 NR2
CUN ABQ QLA0PNR 16 AN1
CUN ABQ HLA0PNR 14 NR2
CUN ABQ WLA0PNR 13 AN1
CUN ABQ RLA0PNR 12 AN3
CUN ABQ OLA0PNR 11 NR4
CUN AUS ...... .. ...
CUN AUS ...... .. ...
A row would be built for each LOC1 and LOC2 with all values in FC, AMT, Type which are constant.
It looks like you want the ‘Cartesian Product‘ of these two tables.
Excel Option
Here is my sample data (shortened since I am lazy about data entry 🙂
Create a ‘counter’ column, that increments by 1 for each row.
Use excel formulas to determine which row to use from table1 and table2
If you want to get fancier, you can alter the formulas to clear out after all 21 (21=7*3) entries like
=IF(Counter>(B14*C14),"",--do stuff--).Here is an example Excel workbook, showing how it all comes together.
SQL Option
Though I know this is an excel question, I’d be remiss if I didn’t alert you to the right tool for the job. If you can run SQL on these tables, use:
The default join for SQL is a Cartesian Product, so it all works out. This will be more elegant than convincing Excel to do it.