How to find the xpath of a tabel cell in relation of table column header and row header

I did some script modifications
now it is working fine
Thank you @Marek_Melocik