0

NL to get associated records for main NL, on the same row

Hi,

I do not think what I would like to achieve is possible, but I will ask the question anyway.

What I would like, is for an NL function to get all rows based on a filter, and display a few fields from that filter. I would then like to put another NL on the same row, and get associated records from another table, for each row in the first table. If I were to do this, all the fields from the first table will replicate down for each associated record. I would like to not have them replicate, and just leave empty spaces until all associated records are displayed.

For example, I could have cells B1 C1 and D1 as fields from the first table, and then E1 and F1 would be fields from associated table record. Lets say that the first record has 4 associated records, that would mean that B1 B2 B3 and B4 are all the same, C1 C2 C3 and C4 are all the same and D1 D2 D3 and D4 are all the same. E1:E4 and F1:F4 would all vary based on associated record.

I would like a way to display fields in B1:D1, but then leave B2:D4 blank, while still displaying associated data in E2:F4.

I have attached a workbook with two table layouts. The one on the left shows how I would like it to look, while the one the right is the closest I have gotten using Rows=2 and moving the second NL down a row.

Appreciate any help and advice.
Eds

3 comments

Please sign in to leave a comment.