Why does a mixture cannot be represented by a chemical formula?

Because mixtures are special types of substances that cannot be changed. The formulas are something that make something up.