You can do the following steps in UiPath to achieve your goal:
Read the Excel file: Use the “Excel Application Scope” activity to read the Excel file.
Delete the PrevSettle column: Use the “Remove Data Column” activity to remove the PrevSettle column. Set the column index or column name as per your requirement.
Delete the row with empty cell in “average” column: Use the “Filter Data Table” activity to filter the rows with empty cell in “average” column. Then, use the “Remove Data Row” activity to remove those rows.
Copy transpose: Use the “Transpose Data Table” activity to transpose the remaining data in the table. This will swap the columns with rows.
Write the new data to Excel file: Use the “Write Range” activity to write the transposed data back to the Excel file.
The “Transpose Data Table” activity is not a built-in activity in UiPath. However, you can install the UiPath.MicrosoftOffice.Activities package