Looks like I managed to suss it out. I have now managed to get rid of the $ signs on each of the necessary columns. Hopefully this has now sorted it. Hopefully!