I managed to solve it! I had some hidden columns. Though I am facing a new similar issue in another file which I can not seem to solve. See screenshot:
https://imgur.com/t6KR8tw
All cells in the table range have values. No hidden or empty columns or row. I filtered a number of projects from the table, then sorted them in ascending order. Not sure if all but a lot of numbers then appeared in in the wrong row and context. The most f*cked up thing about this f*cking issue is the whole table and data gets messed up and I can not restore it unless I do ctrl+z, which does not work when I have worked for a while until noticing things are incorrect. Really disturbing, so I need to re-do the whole thing. Please help!