Vitamin B12 (cobalamin) is essential for DNA synthesis and red blood cell formation in bone marrow. Deficiency causes megaloblastic anemia where bone marrow produces immature, abnormal red blood cells. B1, B2, and B6 are important for metabolism but not directly critical for marrow function like B12.