Can you create example workbook and upload it?

As far I see you'll need round function (wich can give you rounded numbers) but more likely lookup function. But I'm not allowed by law to read people's mind so some example with desired inputs and outputs would be nice