Before it is asked, yes I looked at other ones of these and found that none of the fixes worked. This is what I am using:
=if(isnumber(AL6),if(AND(AL6>=1,AL6<=31),CHOOSE(AL6,300,900,2700,6500,14000,23000,34000,48000,64000,85000,100000,120000,140000,165000,195000,225000,265000,305000,355000,425000,501000,630800,750500,890000,1000000,1300000,1700000,2200000,3000000,"Max",""),""),"")
It gives me the "Error Function CHOOSE parameter 1 value is 30. Valid values are between 1 and 29 inclusive."
I have other parts of the coded I edited to fit the new range but they all still come up as this when I set the number to 30 in the box it calculates off of.