You can try this: https://www.ablebits.com/office-addins-blog/2015/12/15/circular-reference-excel/#iterative-calculations
If it doesnt work I think you need to restructure your table to avoid it.
Also Im not sure that what you shared is enough to resolve the problem I couldnt tell where the circular error is coming from, but maybe thats just me.