Thx daddylonglegs and snp for helping me out! I think found the right formula now.