How important is 4 years of math to colleges?

Ideally, more advanced math offerings should be coordinated with a college so that students can get college credit. Otherwise, the student may end up “wasting” the course if the college he eventually attends will not allow a high school advanced math (multivariable calculus, linear algebra, differential equations) course to fulfill subject requirements or give advanced placement.