Table operations with 2 while loops

Hi guys.
I need help to solve the task:

  1. iterate the table beginning with row 20 and column 1 (second column).
    2.if the cell value not empty or not “0” then:
    2.1 get value of this cell
    2.2 get value of row(0) of where this cell is ( row header)
    2.3 get value of column(0) where this cell is (column header)
    Example with results Highlited: