Excel.Import Error Cannot find matching...


I have detail grid which I have exported and then imported back to the grid and I receive error. Cannot find matching SubItem (see screenshot).

Detail grid has 2 fields which are many to one relationship.
First one I can choose entity to use and second one I can choose subentity of first one. subitems are filtered based on first entity.

Is there way to solve this issue, I have tried everything possible I could think of.

file attachments