Select all the cells in one table at a time, then name the range:
Excel Toolbar: Insert - Name - Define...
Then in the top box add the name you want to give that table.
Now you can refer to the collection of cells in that table by its name. If the table changes in size the name will automatically refer to all the cells in that table.
You will need to color the range using VBA Event code. So, if say the value of a cell changes value, then that value will trigger what color the table gets. Or you can use, some other trigger or condition to color that table. This has been done many times on this board, use the "Search" utility at the top right of this board to search for code samples.