Dataset1:
Date         Weekday     OpenPrice ClosePrice
_______________________________________________
28/07/2022   Thursday    5678       5674
04/08/2022   Thursday    5274       5674
11/08/2022.  Thursday    7650       7652
Dataset2:
Date         Weekday     Open Price Close Price
______________________________________________
29/07/2022   Friday      4371        4387
05/08/2022   Friday      6785        6790
12/08/2022   Friday      4367        6756
I would like to iterate these two datasets and create a new dataset with shows data as below. This is the difference between Open Price of Week1 (Week n-1) on Friday and Close price of Week2 (Week n) on Thursday.
Week         Difference    
______________________________
Week2            543 (i.e 5674 - 4371) 
Week3            867 (i.e 7652 - 6785)  
Here is the real file: https://github.com/ravindraprasad75/HRBot/blob/master/DatasetforSOF.xlsx
 
    