I need an excel expert

Job ID: 33214204

Budget: $10 – $30 CAD

I need to mix vlookup function and if contain but have trouble with it. I need formulas for journalItemLine_account, journalItemLine_department & journalItemLine_class which should be comjing for coding summary. So, if memo contains column D on coding summay, then it pulls the column G, A an B.