A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi Marcin. I am an Excel user like you.
Format your data as a Table and select any cell inside your table so that you see the Table Design tab on the ribbon. Select that tab to see the Table Design ribbon and un-check the box for Banded Rows.
This will stop Excel from automatically coloring the alternating rows which is coloring some of the rows when the data is sorted.
Now highlight the cells in the rows you want colored and using the Fill Color tool add the color to the rows you want colored. This color will follow the data when it is sorted.
Original:
Sorted: