Hi Keith,
Since magnesium is often found in water, celery might still contain
substantial magnesium even if grown where the soil levels are somewhat
depleted. Magnesium content of soil is often replenished by frequent
flooding in areas where run-off flooding is common.
Best Wishes,
Ron