Brunlln,
To do this you'd have to set up the conditional formating by column. Click on cell H3, then go to conditional formatting "Use formula to determine which cells to format" or similar for your version. You'll enter 3 rules for this cell, setting the format as highlighted in green. Here are those rules:
=LEFT(TEXT(D3,0),1)="1"
=LEFT(TEXT(D3,0),1)="2"
=LEFT(TEXT(D3,0),1)="4"
Then for J3 you would enter the first 2 rules above,
Then for L3 you would enter only the first rule above.
If you have multiple rows, drag row 3 down and you should be good.
Joshua