is it possible to create an if clause depending of the lenght of the table?
Sometimes I have a table of a semster and sometime a table of a year. The table of the year has six more columns. I delete the month column so after it I have equal amount of columns and the if clause can be closed.
All the best