Rahul Mishra
You seems to clear something which gives #N/A for Your formulas D4:E9.
... There could use IFERROR-function to avoid #N/A.
Or
Do You really mean that You cannot Yourself use/modify my given formulas, if those should give/use something instead of Your formulas?
Your only data is in cell AA16 ... You can get it by selecting 06-Mar-22 with cell F2.