Matching transactions

I had coins in Gemini that I transferred to Gemini Earn. Since Accointing does not recognize Gemini Earn, I created a new wallet and input the deposit transaction manually. How can I now match the withdrawal transaction from Gemini to “Genesis Outbound Genesis Account” with the Gemini Earn wallet deposit from “unknown sender” and flag the resulting transaction as internal? Is that possible?, if not what is the best way to handle this situation