Formula to get Remaining inventory

I am creating a CR report and need to get the remaining Inventory for a given item for a specific data range.

I have an item with the remaining inventory for a given date range to check the formula against.

Can anyone here help me.

Thanks,

Edward